emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thomas Jack <thomasjack@gmail.com>
To: emacs-orgmode@gnu.org
Subject: %i indentation in capture templates
Date: Thu, 5 Aug 2010 08:35:37 -0500	[thread overview]
Message-ID: <AANLkTi=Yd+4qPWkOEAoeckC8Fj5gMX0QAWRi-gdW0uJk@mail.gmail.com> (raw)

I have the following capture template:

("t" "Todo" entry (file+headline (concat org-directory "/inbox.org") "inbox")
             "* TODO %?\n    %i\n    %a")

Yet, with "foo\nbar\nbaz" in the region, this expands to:

*** TODO

The manual says of %i that "The entire text will be indented like %i
itself." Is this a bug, or am I misunderstanding? To be specific, the
output I expect is:

*** TODO

I'm on 7.01g.

             reply	other threads:[~2010-08-05 15:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-05 13:35 Thomas Jack [this message]
2010-08-06  8:23 ` Sébastien Vauban
2010-08-06 10:11   ` Thomas Jack
2010-08-11  9:11     ` Carsten Dominik

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:

  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='AANLkTi=Yd+4qPWkOEAoeckC8Fj5gMX0QAWRi-gdW0uJk@mail.gmail.com' \
    --to=thomasjack@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: %i indentation in capture templates' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:


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).