emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] popup org capture window on linux?


From: Haider Rizvi
Subject: Re: [O] popup org capture window on linux?
Date: Fri, 31 Jul 2015 12:29:54 -0700
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (darwin)

Xebar Saram <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]