From mboxrd@z Thu Jan 1 00:00:00 1970 From: Haider Rizvi Subject: Re: popup org capture window on linux? Date: Fri, 31 Jul 2015 12:29:54 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60167) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZLG0P-0001e7-Kj for emacs-orgmode@gnu.org; Fri, 31 Jul 2015 15:30:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZLG0K-0007xY-1e for emacs-orgmode@gnu.org; Fri, 31 Jul 2015 15:30:09 -0400 Received: from plane.gmane.org ([80.91.229.3]:33808) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZLG0J-0007w1-Rs for emacs-orgmode@gnu.org; Fri, 31 Jul 2015 15:30:03 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZLG0G-0000be-AA for emacs-orgmode@gnu.org; Fri, 31 Jul 2015 21:30:00 +0200 Received: from ip70-176-246-21.ph.ph.cox.net ([70.176.246.21]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 31 Jul 2015 21:30:00 +0200 Received: from harizvi by ip70-176-246-21.ph.ph.cox.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 31 Jul 2015 21:30:00 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Xebar Saram 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