emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs's handling of line numbers [from bug#5042]


From: Mark Lillibridge
Subject: Re: Emacs's handling of line numbers [from bug#5042]
Date: Sun, 18 Apr 2010 10:00:45 -0700

Eli Zaretskii <address@hidden> wrote:
>  > From: Juanma Barranquero <address@hidden>
>  > Date: Sat, 17 Apr 2010 23:17:26 +0200
>  > Cc: address@hidden, address@hidden, address@hidden
>  > 
>  > On Sat, Apr 17, 2010 at 23:04, Eli Zaretskii <address@hidden> wrote:
>  > 
>  > > Why do you think they should be distinguished?
>  > 
>  > It would perhaps be useful to distinguish between user narrowing and
>  > program narrowing (the one used by Info, rmail, etc., I mean).
>  
>  I don't see why.  Both use-cases limit commands to a portion of a
>  buffer.  What's the difference between these two classes of narrowing,
>  and how would distinguishing between them be useful?

    The issue is that font-lock mode, goto-line, linum mode, and perhaps
other features need to treat them differently.  These features want to
widen to the "application" restriction when processing the current
buffer, ignoring any temporary restriction.

- Mark




reply via email to

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