Commit Graph

69 Commits

Author SHA1 Message Date
TEC 2109b78cca
Introduce an ee-app-info-function customisation 2024-04-16 11:54:08 +08:00
TEC bdc0ec3ff4
Refactor linux app-info functions 2024-04-16 11:48:13 +08:00
TEC 08e5101045
Make the windows ID always a string
With some Wayland DEs/compositors, the APP id isn't always a base 10
number, so let's just leave it as a string instead of parsing it then
making it a string again.
2024-04-16 11:35:09 +08:00
TEC 98de03162e
Make checkdoc and the byte-compiler happier 2024-04-16 11:14:19 +08:00
Ken Huang 91d72e4c05
Adjust default fullscreen frame parameter 2024-04-14 23:44:55 +08:00
Ken Huang 68bb1c822e
Trim whitespace after markdown conversion 2024-04-14 23:44:32 +08:00
Ken Huang cbdd3275a3
Fix the parenthesis around pcase-let 2024-04-14 23:41:26 +08:00
Ken Huang d0d7542b32
Fine-tune mode lighter
Without a space it *immediately* follows other elements.
2024-04-12 00:49:36 +08:00
TEC 7adc6318ea
Initial wayland support (KDE only for now)
Co-authored-by: msin32 <103911574+msin32@users.noreply.github.com>
2024-04-12 00:32:20 +08:00
TEC 4ede32d859
Make pandoc conversion arguments customisable 2024-04-11 11:43:30 +08:00
TEC bc91164151
Fix copy-paste error in C-c C-c binding 2024-04-07 12:15:40 +08:00
TEC fbeff19825
Move a bunch of functions to private API 2024-01-28 17:21:11 +08:00
TEC 2487da34b0
Introduce check health command 2024-01-28 17:21:06 +08:00
TEC d6cf61d7fe
Fix typo in defun arg spec
Reported-by: @emwal (GitHub)
2024-01-28 15:47:12 +08:00
Diego Alvarez 44775589ad
Make clipboard sleep delay customisable 2023-07-06 19:52:47 +08:00
TEC 65c8ab943e
More consistent indentation 2023-07-06 19:47:06 +08:00
TEC a0ff115095
Fix typo 2023-07-06 19:46:29 +08:00
Hanwen Guo a3702f3fd1
Experimental support for MS-Windows 2023-07-06 19:45:39 +08:00
TEC 7ab046a4dd
Add padding and a nicer minor mode 2023-07-06 19:33:47 +08:00
TEC e1b7018941
Try even harder to set the clipboard content 2022-09-01 00:36:37 +08:00
TEC c3d5d1acce
Fix calling of major mode function 2022-09-01 00:26:01 +08:00
TEC 94e1069acc
Update maintainer email address 2022-08-11 23:10:46 +08:00
TEC a1b16b53c5
Fix docstring typo 2022-08-06 23:36:45 +08:00
TEC cbe56e216d
Reintroduce emacs-everywhere-major-mode-function 2022-06-28 23:01:50 +08:00
Ivan Popovych 0d0d185429 Change display server detection to use WAYLAND_DISPLAY on gnu/linux 2022-05-17 22:01:50 +08:00
Eliza Velasquez 516f30f38c Fix display detection with multiple open sessions
See #51
2022-05-15 11:46:52 +08:00
TEC 54b9ba1ac0
Add some more markdown windows matchers 2022-04-07 11:29:52 +08:00
TEC f23230e67c
window-id may not be a number (on mac) 2022-02-20 22:04:47 +08:00
TEC daa774c937
Check that loginctl exists before calling 2022-02-09 23:10:54 +08:00
TEC 5d6aeed8d7
cl-lib comes with Emacs 24.3+ anyway 2022-02-09 23:04:27 +08:00
TEC d20adad4b4
Turn all hard-coded x11/darwin commands into vars 2022-02-09 23:04:27 +08:00
Diego Alvarez e835395cb3 small typo with accessibility 2022-02-09 22:20:28 +08:00
Ethan Leba ace53396a6 MacOS: error loudly if no accessibility rights 2022-01-30 12:57:38 +08:00
TEC 02450162ad
Add Slack as a default markdown app 2022-01-29 12:54:26 +08:00
TEC 9e24e4e8e8
Make sure ox-md is available before using 2022-01-18 02:26:12 +08:00
TEC a659bf3c65
Add some matrix clients as default markdown apps 2022-01-18 01:46:14 +08:00
TEC 20890debd0
Make temp file dir and name customisable
Closes #32.
2022-01-18 01:42:48 +08:00
TEC aec49e9e93
Don't complain about modified buffer when aborting 2022-01-18 01:42:31 +08:00
Theia Ware 86dc7f1a71 Use the same server to launch emacs-everywhere 2022-01-18 00:48:15 +08:00
Hynggyu Jang 64ba2e3f30 Use `sleep-for` over `sit-for` to ensure proper clipboard contents #25 2021-04-22 18:53:31 +08:00
Kai Xu d65ba8d322 Bugfix for pasting on macOS 2021-04-16 17:57:04 +08:00
Sébastien Miquel 5475e1a09d Fix emacs-everywhere-initialise in directories 2021-04-13 17:23:46 +08:00
Henrik Lissner 01e031e664 Fix org-export-to-buffer "switching" to itself
org-export-to-buffer calls switch-to-buffer-other-window if
org-export-show-temporary-export-buffer is non-nil (the default). This
invisibly invokes some display-buffer logic that may have side-effects
depending on the user's config. This fix avoids that edge case entirely.
2021-03-03 23:07:47 +08:00
Henrik Lissner 88629eb8b3 Use named commands for delete-region keybinds
Undoes 7fad9be.

See 18e8864 for explanation.
2021-03-03 23:07:47 +08:00
TEC 7bdb502a17
Distil the body of the org-to-gfm hook function
1. We can condense 6 lines into 1, the prior code is overcomplicated
2. The refactor by @hlissner can actually trigger the error "Cannot
   replace a buffer with itself"
2021-03-03 22:21:46 +08:00
TEC 9afb9a43ff
Auto-indent 2021-03-03 22:21:31 +08:00
TEC 7fad9be1ce
Keymap: Use delete-region lambda over erase-buffer
`erase-buffer' may be considered a "disabled command" and so cause an
annoying popup which asks the user to confirm they intent to call the
function.
In this usage, this is undesirable behaviour, so we just use
`delete-region' instead.
2021-03-03 22:18:48 +08:00
Henrik Lissner d2df64dbaa Fix detection for symlinked /tmp
e.g. on MacOS
2021-03-02 22:22:56 -05:00
Henrik Lissner 461b21827b Factor out tempfile
No longer needed, now that emacs-everywhere is tied to a temp file to
begin with. Though, we may still want to save it.
2021-02-26 16:34:10 -05:00
Henrik Lissner f7d9d40961 Fix over-aggressive emacs-everywhere-finish
Any time with-editor is invoked (e.g. by magit) or you open an file via
the server, then finish your edits and kill those buffers, you'll get a
"Not in an emacs-everywhere buffer" error.
2021-02-26 16:34:09 -05:00