:app everywhere

Leave Emacs!? You must be joking

1. Description

This module adds system-wide popup Emacs windows for quick edits.

1.1. Maintainers

1.2. Module flags

This module has no flags.

1.3. Packages

1.4. Hacks

No hacks documented for this module.

2. Prerequisites

  • On Linux xclip, xdotool, xprop, and xwininfo are needed.
  • On MacOS, Emacs must be allowed to “control your computer” under Settings > Accessibility.

3. Usage

To use this, invoke the emacs-everywhere executable. This can be done in two ways:

  • $ emacsclient --eval "(emacs-everywhere)"
  • $ doom everywhere

It is recommended that you add a keybinding for this.

From here, you can edit away to your hearts content in the created frame, then return to the original window and paste the content with C-c C-c or <leader> q f. To exit without pasting, use C-c C-k.

4. Configuration

emacs-everywhere likes to guess if you triggered it from an application which supports markdown. Configure emacs-everywhere-markdown-windows and emacs-everywhere-markdown-apps to improve how accurate this is on your system.

By default, when markdown is detected, markdown-mode is used. It is possible to instead use pandoc to convert the content to Org (and export to markdown when closing the frame) by setting emacs-everywhere-major-mode-function to #'org-mode.

Most other behaviour is implemented as hooks on emacs-everywhere-init-hooks.

5. Troubleshooting

There are no known problems with this module. Report one?

6. TODO Appendix

This module has no appendix yet. Write one?