Clemens Radermacher
8422da5482
Add hook for apps
...
Sometimes the user might want to run app specific setup (for example to activate
minor modes which change the appearance of the mode line). This allows this all
one need to do is to define a hook variable named `eaf-<app-nam>-hook`.
6 years ago
Clemens Radermacher
a25a0472da
Fix module path of org previewer
6 years ago
Clemens Radermacher
afd5bf2dce
Add unprefixed binding description to doc string
6 years ago
Clemens Radermacher
a55019eb95
Include app name in prefix
6 years ago
Clemens Radermacher
8132c5cfdf
Add eaf prefix for commands back
6 years ago
Clemens Radermacher
71439d1ccd
Add refresh command for browser app
6 years ago
Clemens Radermacher
fa29f4ebab
Take care of monitoring kill of org buffer too
6 years ago
Clemens Radermacher
da4c49d1ea
Move window hooks into eaf-open so they run also on first time
6 years ago
Clemens Radermacher
0ff570d071
Only run window hooks when eaf-process is live
6 years ago
Clemens Radermacher
9e33c0dbd4
Move window hooks into `eaf-start-process`
6 years ago
Clemens Radermacher
80f16d3afe
Use buffer-save-hook locally for org preview buffers
6 years ago
Clemens Radermacher
417aebda4b
Use kill-buffer-hook buffer locally
6 years ago
Clemens Radermacher
e9304290fa
Add missing arg
6 years ago
Clemens Radermacher
0d8c24d4cf
Add function to display app buffer
6 years ago
Clemens Radermacher
be2a181ffe
Call display function also if buffer already exists
...
This is also the behavior it had before the refactoring of last commit.
6 years ago
Clemens Radermacher
6378f94aab
Refactoring eaf-open and eaf-open-internal
...
Separate command init code and display code. Add
`eaf-app-display-function-alist` to configure display of apps.
6 years ago
Andy Stewart
30aecf1c77
Fix bug that recentf-add-file is not found.
6 years ago
Andy Stewart
2a833fab19
Remove eaf- prefix since python function use _ and elisp function use -
6 years ago
Clemens Radermacher
1aa620db9e
Init buffer vars in `eaf-create-buffer`
6 years ago
Clemens Radermacher
cbac883359
Move emulation mode initialization into mode init
6 years ago
Matthew
55a46e8313
Re-order dolists, otherwise might overwrite keys in eaf-capture-keys
6 years ago
Matthew
5d3085b48c
Utilize recentf-add-file when open with eaf-open
6 years ago
Matthew
8dbfce59d9
Captilize EAF
6 years ago
Clemens Radermacher
285e4a489b
Don't offer defaults for now when using eaf-bookmark-open
6 years ago
Andy Stewart
371c15a173
Make Pdf Viewer support bookmark.
6 years ago
Andy Stewart
e27ac3cf4d
Remove eaf-monitor-key-event, remap is enough.
6 years ago
Clemens Radermacher
fd0e9c93a4
Refactor code
6 years ago
Clemens Radermacher
f4d759eee6
Use new python dbus call interface
6 years ago
Clemens Radermacher
0b839fc447
Don't offer default value for non eaf-buffers
6 years ago
Clemens Radermacher
a5f33de4be
More refactorings for bookmark feature
6 years ago
Clemens Radermacher
e159f4c1ea
Use set_bookmark on python side
6 years ago
Clemens Radermacher
32ffc9c2b0
Don't use browser prefix for bookmarking to keep it more general
6 years ago
Clemens Radermacher
3ad9477545
Make eaf--browser-full-title buffer local
6 years ago
Clemens Radermacher
cc872640af
Improve bookmark command
6 years ago
Clemens Radermacher
c78d58befa
Add binding for bookmarks in eaf-mode-map*
6 years ago
Clemens Radermacher
3277c1510c
Add command to open/create eaf bookmarks
6 years ago
Clemens Radermacher
271888c478
Use eaf prefix for eaf app bookmark entry
6 years ago
Clemens Radermacher
5e449517d5
Add bookmark feature for eaf browser
6 years ago
Clemens Radermacher
bfd3a3173d
Add `eaf-capture-commands`
6 years ago
Matthew
7c62f50aa9
`key-command` is unnecessary, `this-command` handles the job.
...
Also Use `member` to compare commands
6 years ago
Matthew
eca9b08f8d
Fix Lexical argument shadows the dynamic variable eaf--buffer-id
6 years ago
Matthew
b3d342c330
Use advice-add instead of the old defadvice by Stefan Monnier
6 years ago
Matthew
5a5847148d
Refactor var by Stefan Monnier
6 years ago
Matthew
0c591a3e92
Don't use `add-to-list` on a local var by Stefan Monnier
6 years ago
Matthew
f7065c1e5c
Some cleanup by Stefan Monnier
6 years ago
Clemens Radermacher
ac5675282e
Respect default value of emulation-mode-map-alists
6 years ago
Clemens Radermacher
c4c873cd51
Ensure eaf buffer map has precedence
6 years ago
Clemens Radermacher
ed85316f03
Remap and add default binding just to be sure
6 years ago
Clemens Radermacher
e0e4fe8908
Don't hardcode C-h m, remap describe-bindings
6 years ago
Clemens Radermacher
615f039a00
Add a `eaf-mode-map*` and `eaf-describe-bindings`
6 years ago