emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* %i indentation in capture templates
@ 2010-08-05 13:35 Thomas Jack
  2010-08-06  8:23 ` Sébastien Vauban
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Jack @ 2010-08-05 13:35 UTC (permalink / raw)
  To: emacs-orgmode

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
    foo
bar
baz
...

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
    foo
    bar
    baz
...

I'm on 7.01g.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-08-11  9:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-05 13:35 %i indentation in capture templates Thomas Jack
2010-08-06  8:23 ` Sébastien Vauban
2010-08-06 10:11   ` Thomas Jack
2010-08-11  9:11     ` Carsten Dominik

Code repositories for project(s) associated with this 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).