2021-11-04 16:27:37 +01:00
|
|
|
← [[doom-module-index:][Back to module index]] ! [[doom-module-issues:::app everywhere][Issues]] ↖ [[doom-source:modules/app/everywhere/][Github]] ± [[doom-suggest-edit:][Suggest edits]] ? [[doom-help-modules:][Help]]
|
2021-10-16 01:20:46 +02:00
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
#+TITLE: :app everywhere
|
|
|
|
#+SUBTITLE: *leave* Emacs!? You must be joking
|
|
|
|
#+CREATED: February 07, 2021
|
|
|
|
#+SINCE: 21.12.0
|
|
|
|
|
|
|
|
* Description :unfold:
|
2021-02-07 20:15:27 +08:00
|
|
|
This module adds system-wide popup Emacs windows for quick edits.
|
|
|
|
|
|
|
|
** Maintainers
|
2021-10-16 01:20:46 +02:00
|
|
|
- [[doom-user:][@tecosaur]]
|
2021-02-07 20:15:27 +08:00
|
|
|
|
2021-10-16 01:20:46 +02:00
|
|
|
[[doom-contrib-maintainer:][Become a maintainer?]]
|
2021-02-07 20:15:27 +08:00
|
|
|
|
2021-10-16 01:20:46 +02:00
|
|
|
** Module flags
|
|
|
|
/This module has no flags./
|
2021-02-07 20:15:27 +08:00
|
|
|
|
2021-10-16 01:20:46 +02:00
|
|
|
** Packages
|
|
|
|
- [[doom-package:][emacs-everywhere]]
|
2021-02-07 20:15:27 +08:00
|
|
|
|
2021-10-16 01:20:46 +02:00
|
|
|
** Hacks
|
|
|
|
/No hacks documented for this module./
|
2021-02-07 20:15:27 +08:00
|
|
|
|
2021-10-16 01:20:46 +02:00
|
|
|
** TODO Changelog
|
|
|
|
# This section will be machine generated. Don't edit it by hand.
|
|
|
|
/This module does not have a changelog yet./
|
2021-02-07 20:15:27 +08:00
|
|
|
|
2021-10-16 01:20:46 +02:00
|
|
|
* Installation
|
|
|
|
[[id:01cffea4-3329-45e2-a892-95a384ab2338][Enable this module in your ~doom!~ block.]]
|
2021-02-07 20:15:27 +08:00
|
|
|
|
2021-10-16 01:20:46 +02:00
|
|
|
This module requires:
|
|
|
|
- *On Linux:* (these should be available through your OS package manager)
|
|
|
|
- =xclip=
|
|
|
|
- =xdotool=
|
|
|
|
- =xprop=
|
|
|
|
- =xwininfo=
|
|
|
|
- *On MacOS:* that Emacs is allowed to "control your computer" under *System
|
|
|
|
Preferences > Accessibility*.
|
2021-02-07 20:15:27 +08:00
|
|
|
|
2021-10-16 01:20:46 +02:00
|
|
|
* Usage
|
2021-02-07 20:15:27 +08:00
|
|
|
To use this, invoke the =emacs-everywhere= executable. This can be done in two
|
|
|
|
ways:
|
2021-10-16 01:20:46 +02:00
|
|
|
+ ~$ emacsclient --eval "(emacs-everywhere)"~
|
|
|
|
+ ~$ doom everywhere~
|
2021-02-07 20:15:27 +08:00
|
|
|
|
|
|
|
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
|
2021-10-16 01:20:46 +02:00
|
|
|
return to the original window and paste the content with [[kbd:][C-c C-c]] or [[kbd:][SPC q f]]. To
|
|
|
|
exit without pasting, use [[kbd:][C-c C-k]].
|
2021-02-07 20:15:27 +08:00
|
|
|
|
|
|
|
* Configuration
|
2021-10-16 01:20:46 +02:00
|
|
|
[[doom-package:][emacs-everywhere]] likes to guess if you triggered it from an application which
|
2021-02-07 20:15:27 +08:00
|
|
|
supports markdown. Configure ~emacs-everywhere-markdown-windows~ and
|
|
|
|
~emacs-everywhere-markdown-apps~ to improve how accurate this is on your system.
|
|
|
|
|
2021-10-16 01:20:46 +02:00
|
|
|
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
|
2021-02-07 20:15:27 +08:00
|
|
|
closing the frame) by setting ~emacs-everywhere-major-mode-function~ to
|
2021-10-16 01:20:46 +02:00
|
|
|
~#'org-mode~.
|
|
|
|
|
|
|
|
Most other behavior is implemented as hooks on ~emacs-everywhere-init-hooks~.
|
|
|
|
|
|
|
|
* Troubleshooting
|
|
|
|
/There are no known problems with this module./ [[doom-report:][Report one?]]
|
|
|
|
|
|
|
|
* Frequently asked questions
|
|
|
|
/This module has no FAQs yet./ [[doom-suggest-faq:][Ask one?]]
|
2021-02-07 20:15:27 +08:00
|
|
|
|
2021-10-16 01:20:46 +02:00
|
|
|
* TODO Appendix
|
|
|
|
#+begin_quote
|
|
|
|
🔨 This module has no appendix yet. [[doom-contrib-module:][Write one?]]
|
|
|
|
#+end_quote
|