From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.bugs Subject: bug#5042: 23.1; linum-mode gives incorrect line numbers with narrowed buffers Date: Tue, 29 Dec 2009 00:02:40 -0700 Message-ID: References: <200911260039.nAQ0dTD1019384@mailhub-pa1.hpl.hp.com> <200912100534.nBA5YSva008256@mailhub-pa1.hpl.hp.com> <200912210659.nBL6xhDG020940@mailhub-pa1.hpl.hp.com> Reply-To: Kevin Rodgers , 5042@debbugs.gnu.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1262227210 3959 80.91.229.12 (31 Dec 2009 02:40:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 31 Dec 2009 02:40:10 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 31 03:40:03 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NQAxG-0001KN-Ak for geb-bug-gnu-emacs@m.gmane.org; Thu, 31 Dec 2009 03:40:02 +0100 Original-Received: from localhost ([127.0.0.1]:43110 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NQAxG-0003LW-Oa for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Dec 2009 21:40:02 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NQAxD-0003L8-3O for bug-gnu-emacs@gnu.org; Wed, 30 Dec 2009 21:39:59 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NQAx2-0003Jj-9r for bug-gnu-emacs@gnu.org; Wed, 30 Dec 2009 21:39:57 -0500 Original-Received: from [199.232.76.173] (port=51025 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NQAx2-0003Jg-4Q for bug-gnu-emacs@gnu.org; Wed, 30 Dec 2009 21:39:48 -0500 Original-Received: from [140.186.70.43] (port=34194 helo=debbugs.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NQAx1-0000Kt-S3 for bug-gnu-emacs@gnu.org; Wed, 30 Dec 2009 21:39:47 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NQAWB-0001Pq-Rf; Wed, 30 Dec 2009 21:12:03 -0500 X-Loop: bug-gnu-emacs@gnu.org Mail-Followup-To: Kevin Rodgers , 5042@debbugs.gnu.org Resent-From: Kevin Rodgers Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 31 Dec 2009 02:12:03 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5042 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@debbugs.gnu.org id=B.12622255135395 (code B ref -1); Thu, 31 Dec 2009 02:12:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 31 Dec 2009 02:11:53 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NQAW0-0001Ou-Te for submit@debbugs.gnu.org; Wed, 30 Dec 2009 21:11:53 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NPW6y-00047X-Gf for submit@debbugs.gnu.org; Tue, 29 Dec 2009 02:03:21 -0500 Original-Received: from mail.gnu.org ([199.232.76.166]:48167 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NPW6v-0005wn-Gh for submit@debbugs.gnu.org; Tue, 29 Dec 2009 02:03:17 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NPW6t-0000zG-6o for submit@debbugs.gnu.org; Tue, 29 Dec 2009 02:03:16 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:57308) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NPW6s-0000yz-3o for submit@debbugs.gnu.org; Tue, 29 Dec 2009 02:03:14 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NPW6s-0006ZD-2q for bug-gnu-emacs@gnu.org; Tue, 29 Dec 2009 02:03:14 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NPW6m-0006Wo-At for bug-gnu-emacs@gnu.org; Tue, 29 Dec 2009 02:03:12 -0500 Original-Received: from [199.232.76.173] (port=54784 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NPW6l-0006Wf-Ub for bug-gnu-emacs@gnu.org; Tue, 29 Dec 2009 02:03:07 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:44021) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NPW6l-0000xz-Bs for bug-gnu-emacs@gnu.org; Tue, 29 Dec 2009 02:03:07 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1NPW6h-0002EG-9h for bug-gnu-emacs@gnu.org; Tue, 29 Dec 2009 08:03:03 +0100 Original-Received: from c-71-237-24-138.hsd1.co.comcast.net ([71.237.24.138]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Dec 2009 08:03:03 +0100 Original-Received: from kevin.d.rodgers by c-71-237-24-138.hsd1.co.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Dec 2009 08:03:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 20 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-71-237-24-138.hsd1.co.comcast.net User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.9 (-----) X-Mailman-Approved-At: Wed, 30 Dec 2009 21:11:21 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list X-Spam-Score: -5.9 (-----) Resent-Date: Wed, 30 Dec 2009 21:12:03 -0500 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:33810 Archived-At: Stefan Monnier wrote: >>>> there should be an explicit option to switch between the modes. >>> I agree, and don't really care which one is default >> Yes, an option makes sense. >> And it can happen that the same person wants both behaviors at >> different times. > > Indeed. This goes back to the ambiguity of `narrow-to-region', which > can be used either to "pretend the rest of the buffer doesn't exist" (as > was used in Rmail for example), or to "temporarily focus on some > particular part of the buffer without pretending the rest doesn't > exist". Should there be a separate function for "temporarily focus on some particular part of the buffer without pretending the rest doesn't exist"? e.g. narrow-window-to-region -- Kevin Rodgers Denver, Colorado, USA