hari...@gmail.com writes: > "Robert P. Goldman" <rpgold...@sift.info> writes: > >> Does anyone have a workflow for the Alfred Mac app launcher that will >> interact with org-capture? > > If Alfred can trigger an Applescript, I use the following with Quicksilver: > > Applescript: > > property eclient : "/Applications/Emacs.app/Contents/MacOS/bin/emacsclient -n > -e " > do shell script eclient & "'(make-orgcapture-frame)'" > > elisp in init.el or ...: > > (defun make-orgcapture-frame () > "Create a new frame and run org-capture." > (interactive) > (make-frame '((name . "remember") (width . 80) (height . 16) > (top . 400) (left . 300) > (font . > "-apple-Monaco-medium-normal-normal-*-13-*-*-*-m-0-iso10646-1") > )) > (select-frame-by-name "remember") > (org-capture))
This is a great suggestion! I have one comment and one question. The comment: if you have capture-templates set up, you can bypass them by calling `(org-capture nil "t")' if you want that template. The question: is there a way to: - present only the capture buffer in the new frame (right now it's split with the scratch buffer)? - delete the window at the end of capture? According to some old discussion (https://lists.gnu.org/archive/html/emacs-orgmode/2011-11/msg00482.html) it is not possible, but things may have changed since then. Alan