* Bug: Capture with %i replaces placeholders in copied region
@ 2012-08-24 13:19 Moritz Ulrich
2012-08-24 13:45 ` Bastien
0 siblings, 1 reply; 2+ messages in thread
From: Moritz Ulrich @ 2012-08-24 13:19 UTC (permalink / raw)
To: Emacs-orgmode
When I capture a new item to org-mode where the template includes %i
(capture active region), other placeholders in the region are replaced
(evaluated).
For example, capturing with the template
--8<---------------cut here---------------start------------->8---
("t" "Todo" entry
(file+headline "todo.org" "Tasks")
"* TODO %?\n %i\n %a\n")
--8<---------------cut here---------------end--------------->8---
while the following region is active:
--8<---------------cut here---------------start------------->8---
;; ("w" "URL" entry (file+headline "notes.org" "URLs")
;; "* %^{Title}\n\n Source: %u, %c\n\n %i")
--8<---------------cut here---------------end--------------->8---
it will asks for 'Title' because the captured region contains the
placeholder %^{Title}.
This feels wrong, and is most likely a bug.
--
Moritz Ulrich
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Bug: Capture with %i replaces placeholders in copied region
2012-08-24 13:19 Bug: Capture with %i replaces placeholders in copied region Moritz Ulrich
@ 2012-08-24 13:45 ` Bastien
0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2012-08-24 13:45 UTC (permalink / raw)
To: Moritz Ulrich; +Cc: Emacs-orgmode
Moritz Ulrich <moritz@tarn-vedra.de> writes:
> When I capture a new item to org-mode where the template includes %i
> (capture active region), other placeholders in the region are replaced
> (evaluated).
Fixed, thanks.
--
Bastien
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-08-24 13:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-24 13:19 Bug: Capture with %i replaces placeholders in copied region Moritz Ulrich
2012-08-24 13:45 ` Bastien
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.