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.... dmjena@jabber.org Email..... dmaus@ictsoc.de