Post AdFVYPAlnMtG1a5XCS by einsiedlerspiel@todon.nl
(DIR) More posts by einsiedlerspiel@todon.nl
(DIR) Post #AdFSYi2BMwCKeyWbuS by mms@emacs.ch
2023-12-27T22:15:22Z
0 likes, 1 repeats
Also #emacs question - emacsclient -c -a '' --eval '(org-capture)'. How can I automatically close the client when the capture buffer is closed? So I can bind it on OS level, have a quick popup with capture, note, save and close.
(DIR) Post #AdFTxA7qg3Y4giOotc by JordiGH@mathstodon.xyz
2023-12-27T22:30:59Z
0 likes, 0 repeats
@mms C-x #
(DIR) Post #AdFVYPAlnMtG1a5XCS by einsiedlerspiel@todon.nl
2023-12-27T22:48:55Z
0 likes, 0 repeats
@mms if you make sure that the created frame has a specific title you can advice `org-capture-finalize` etc. to close the current buffer when invoked in a frame with that name.That's how I solved that a few years ago.https://github.com/einsiedlerspiel/org-global-capture.el/blob/master/org-global-capture.el
(DIR) Post #AdFW9kBWdS1juJFKHQ by mtekman@mstdn.science
2023-12-27T22:55:39Z
0 likes, 0 repeats
@mms Try:```emacsclient -c -a '' --eval '(progn (add-hook 'org-capture-after-finalize-hook #'kill-emacs) (org-capture))'```
(DIR) Post #AdFcU29i86HZ9vSJBw by takeonrules@dice.camp
2023-12-28T00:06:33Z
0 likes, 0 repeats
@mms wonder about wait and no-wait settings