From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Baier Subject: Re: Alfred workflow for org-capture Date: Fri, 13 Sep 2013 10:14:05 +0200 Message-ID: <87wqmlqgtu.fsf@gmail.com> References: <5231CF53.9060604@sift.info> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59419) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKOWL-0000jA-1t for emacs-orgmode@gnu.org; Fri, 13 Sep 2013 04:14:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VKOWF-0000rw-Ht for emacs-orgmode@gnu.org; Fri, 13 Sep 2013 04:14:29 -0400 Received: from plane.gmane.org ([80.91.229.3]:59515) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKOWF-0000rs-Ai for emacs-orgmode@gnu.org; Fri, 13 Sep 2013 04:14:23 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VKOWE-0003TY-3X for emacs-orgmode@gnu.org; Fri, 13 Sep 2013 10:14:22 +0200 Received: from nat-wh-wh36.rz.uni-karlsruhe.de ([141.70.81.154]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Sep 2013 10:14:22 +0200 Received: from lexi.baier by nat-wh-wh36.rz.uni-karlsruhe.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Sep 2013 10:14:22 +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 Hi Alan, Alan Schmitt writes: [...] > 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? > How about `org-capture-after-finalize-hook'? What I can get from the pcumentation string it seems to be what you are looking for. You could try something like this: (add-hook org-capture-after-finalize-hook 'delete-frame) Just tried that, and on my machine this works. > > 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 Regards, Alex