0:00 / 0:00
#emacs#emacsclient#org-capture
Emacs: commands in popup frames with emacsclient
Protesilaos
13K subscribers • 35 videos on Hallway
- Recommended by 1 person: 1 in engineering communities.
- Presented by Protesilaos Stavrou, Emacs contributor
Intermediate. Assumes working knowledge.
7.6K views2 years ago1 recommendation
Tools and practiceVim, Emacs and editorsThe shell and command line
Protesilaos Stavrou demonstrates how to run any Emacs command in a popup frame using emacsclient without being inside Emacs.
In this 15-minute video I show the custom code I have to run any Emacs command in a popup frame. The advantage of this is that I do not need to be in Emacs already. The examples I show cover 'org-capture' and my 'tmr' package. The code is available on my website (where you can also find all my other publications): protesilaos.com/codelog/2024-09-19-emacs-command-popup-frame…Why it's here
1 person recommends thisWhat people say. Recommended for its useful custom Emacs configuration to trigger popup frames from outside the editor.
Moments people linked to
u/polyPhaser23in r/emacs • Mentions
…ent-buffer "clipboard"
(clipboard-kill-region (point-min) (point-max))
(delete-frame))))
;;;###autoload (autoload 'prot-window-popup-after-popup-open "prot-window")
(prot-window-define-with-popup-frame after-popup-open)
(add-hook 'after-save-hook #'before-popup-close) ;; problematic line
```
The prot-* functions/macro appear in this link to this video and can be found here as well code, everything in this snippet work as expected, except for the `after-save-hook`, not saving properly to clipboard.…