Xebar Saram <[email protected]> writes:
> Hi. it seems like this :
>
> /usr/bin/emacsclient -c -e '(org-capture)'
I have the following for similar purposes:
(defadvice org-capture-finalize (after delete-org-capture-frame activate)
"Advise org-capture-finalize to close the frame if it is the org-capture
frame"
(if (equal "org-capture" (frame-parameter nil 'name))
(delete-frame)))
(defun make-orgcapture-frame ()
"Create a new frame and run org-capture."
(interactive)
(make-frame '((name . "org-capture") (width . 80) (height . 16)
(top . 400) (left . 300)
(font . "Consolas-14")
))
(select-frame-by-name "org-capture")
(org-capture))
>From a shell (or hotkey), you'll need to kick off:
emacsclient -ne '(make-orgcapture-frame)'
- Haider