[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] bug: org-narrow-to-subtree
From: |
Puneeth |
Subject: |
[Orgmode] bug: org-narrow-to-subtree |
Date: |
Mon, 1 Nov 2010 19:02:53 +0530 |
Hi,
I hit a minor bug with the function org-narrow-to-subtree.
When I narrow to a headline (subtree with just the headline) present
at the end of a file, the last character of the headline isn't present
in the narrowed region. [file1.org and file2.org shown at the end of
the message are examples]
I am attaching a possible patch for the same, but I don't think that
is the "cleanest" way to handle it. Hope it'll help some one else to
fix it in a better way.
Thanks,
Puneeth
file1.org
-----------------
* Hello
* World
* TestEOF
-----------------
file2.org
------------------
* Test
*** World
*** Hello 1EOF
------------------
org-narrow.patch.txt
Description: Text document
- [Orgmode] bug: org-narrow-to-subtree,
Puneeth <=