[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Bug: Capture with %i replaces placeholders in copied region
From: |
Moritz Ulrich |
Subject: |
[O] Bug: Capture with %i replaces placeholders in copied region |
Date: |
Fri, 24 Aug 2012 15:19:16 +0200 |
User-agent: |
mu4e 0.9.9-dev3; emacs 24.1.1 |
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
- [O] Bug: Capture with %i replaces placeholders in copied region,
Moritz Ulrich <=