emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Alexander Baier <lexi.baier@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Alfred workflow for org-capture
Date: Fri, 13 Sep 2013 10:14:05 +0200	[thread overview]
Message-ID: <87wqmlqgtu.fsf@gmail.com> (raw)
In-Reply-To: m2d2odyxjf.fsf@polytechnique.org

Hi Alan,

Alan Schmitt <alan.schmitt@polytechnique.org> 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

  reply	other threads:[~2013-09-13  8:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-12 14:27 Alfred workflow for org-capture Robert P. Goldman
2013-09-12 18:51 ` Haider Rizvi
2013-09-13  7:45   ` Alan Schmitt
2013-09-13  8:14     ` Alexander Baier [this message]
2013-09-13  9:19       ` Alan Schmitt
2013-09-13  9:30         ` Alan Schmitt
2013-09-13 18:41   ` Damon Haley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wqmlqgtu.fsf@gmail.com \
    --to=lexi.baier@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).