emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@gnu.org>
To: Josef Wolf <jw@raven.inka.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Problems with org-capture
Date: Fri, 23 May 2014 14:39:28 +0200	[thread overview]
Message-ID: <87d2f48vyb.fsf@bzg.ath.cx> (raw)
In-Reply-To: <20140506095734.GA5437@raven.inka.de> (Josef Wolf's message of "Tue, 6 May 2014 11:57:34 +0200")

Hi Josef,

Josef Wolf <jw@raven.inka.de> writes:

>  (setq org-capture-templates
>   '(("t" "Todo" entry (file+headline "/m/s/rep/git/todo/newgtd.org" "Tasks")
>      "* TODO %^{Brief Description} %^g%?\n   Created: %U\n   %i\n   %A\n\n"
>      :kill-buffer :empty-lines 3)))

You forgot to specify a value for the :kill-buffer parameter:

  :kill-buffer t :empty-lines 3

will work and add the empty lines.

You may also use :empty-lines-after 3 which should fit your need.

> - The second problem is that when invoked with content fron an active region
>   (the %i flag), then the %A flag won't ask me for a link description and the
>   %i contents are used as description.

I don't see this bug.  Can you test again (maybe with an updated
version of Org -- don't forget to mention the Org version by eval'ing
M-x org-version RET)?

Thanks,

-- 
 Bastien

      parent reply	other threads:[~2014-05-23 13:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-06  9:57 Problems with org-capture Josef Wolf
2014-05-09  7:25 ` Josef Wolf
2014-05-21  3:07   ` Bastien
2014-05-23 12:39 ` Bastien [this message]

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=87d2f48vyb.fsf@bzg.ath.cx \
    --to=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=jw@raven.inka.de \
    /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).