Applied (but not yet pushed because of hardware upgrade at repo.or.cz), thanks.

I had implemented it the other way round because that would avoid making new empty lines by accident, but I do agree that swallowing a headline is by fare the more severe problem.

Thanks.

- Carsten

On Jan 18, 2010, at 12:13 PM, Jan Böcker wrote:

Consider the following situation:

* A
 Some text.
* B

- Place the cursor on A, press C-x n w (org-narrow-to-subtree).
- Go to the very end of the buffer and insert "xyz".
- C-x n w (widen).

You end up with:

* A
 Some Text
xyz* B


The attached one-line patch fixes this by passing `nil' for the
`to-heading' parameter of `org-end-of-subtree'.
<0001-org-narrow-to-subtree-prevent-prepending-text-to- the.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