On Sep 23, 2010, at 9:06 PM, David Maus wrote:

David Maus wrote:
Jules Bean wrote:
If I run org-capture with the template:

("t" "Todo" entry (file+headline
"/Users/jules/work/TODO.org" "Tasks") "* TODO %?
(Captured at %u)
%i
%a
")

whilst I have narrowed (using, e.g., org-narrow-to-subtree) the buffer
that contains TODO.org, a new "* Tasks" headline is inserted at the
end of my narrowing and the new entry is added there, which messes up
the hierarchy of the file.

I can confirm this with

Org-mode version 7.01trans (release_7.01h.497.g59fa)

GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0)
of 2010-08-14 on raven, modified by Debian

Attached should fix this problem.

Looks good to me.

- Carsten


Best,
 -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmj...@jabber.org
Email..... dm...@ictsoc.de
<0001-Widen-to-remove-possible-restrictions-in-target- buff.patch>_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten




_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to