From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark Lillibridge Newsgroups: gmane.emacs.devel Subject: Re: Emacs's handling of line numbers [from bug#5042] Date: Sun, 18 Apr 2010 10:00:45 -0700 Message-ID: References: <837ho6czb6.fsf@gnu.org> <8339yucbsg.fsf@gnu.org> <83wrw5bxkc.fsf@gnu.org> <83tyr9bgid.fsf@gnu.org> Reply-To: mark.lillibridge@hp.com NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1271610082 23143 80.91.229.12 (18 Apr 2010 17:01:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 18 Apr 2010 17:01:22 +0000 (UTC) Cc: lekktu@gmail.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 18 19:01:09 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O3Xrp-0003nP-67 for ged-emacs-devel@m.gmane.org; Sun, 18 Apr 2010 19:01:09 +0200 Original-Received: from localhost ([127.0.0.1]:49847 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O3Xro-0002VL-Mj for ged-emacs-devel@m.gmane.org; Sun, 18 Apr 2010 13:01:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O3Xrj-0002VG-GR for emacs-devel@gnu.org; Sun, 18 Apr 2010 13:01:03 -0400 Original-Received: from [140.186.70.92] (port=55959 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O3Xri-0002V8-6m for emacs-devel@gnu.org; Sun, 18 Apr 2010 13:01:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O3Xrg-0004nD-FR for emacs-devel@gnu.org; Sun, 18 Apr 2010 13:01:02 -0400 Original-Received: from madara.hpl.hp.com ([192.6.19.124]:60594) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O3Xrg-0004mr-6T; Sun, 18 Apr 2010 13:01:00 -0400 Original-Received: from mailhub-pa1.hpl.hp.com (mailhub-pa1.hpl.hp.com [15.25.115.25]) by madara.hpl.hp.com (8.14.3/8.14.1/HPL-PA Relay) with ESMTP id o3IH0mjg002194 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 18 Apr 2010 10:00:48 -0700 (PDT) Original-Received: from ts-rhel4.hpl.hp.com (ts-rhel4.hpl.hp.com [15.25.118.24]) by mailhub-pa1.hpl.hp.com (8.14.3/8.14.3/HPL-PA Hub) with ESMTP id o3IH0jm5013729; Sun, 18 Apr 2010 10:00:46 -0700 In-reply-to: <83tyr9bgid.fsf@gnu.org> (message from Eli Zaretskii on Sun, 18 Apr 2010 06:12:42 +0300) X-HPL-MailScanner: Found to be clean X-HPL-MailScanner-From: mark.lillibridge@hp.com X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:123845 Archived-At: Eli Zaretskii wrote: > > From: Juanma Barranquero > > Date: Sat, 17 Apr 2010 23:17:26 +0200 > > Cc: mark.lillibridge@hp.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org > > > > On Sat, Apr 17, 2010 at 23:04, Eli Zaretskii 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