emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] bug: org-narrow-to-subtree


From: David Maus
Subject: Re: [Orgmode] bug: org-narrow-to-subtree
Date: Mon, 01 Nov 2010 19:30:58 +0100
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.2 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

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.... address@hidden
Email..... address@hidden

Attachment: pgpq8MATJOjwp.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]