At Mon, 1 Nov 2010 19:02:53 +0530, Puneeth wrote: > > 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.
Confirmed and fixed in master. Different solution to the problem: Don't move point one character back if point is at end of buffer (eobp). Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmj...@jabber.org Email..... dm...@ictsoc.de
pgp7asHKwxHqE.pgp
Description: PGP signature
_______________________________________________ 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