From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Native line numbers, final testing Date: Thu, 06 Jul 2017 20:24:53 +0300 Message-ID: <83d19dmqai.fsf@gnu.org> References: <83y3s9pm2a.fsf@gnu.org> <86fuea4ooa.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1499361923 831 195.159.176.226 (6 Jul 2017 17:25:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 6 Jul 2017 17:25:23 +0000 (UTC) Cc: emacs-devel@gnu.org To: Andy Moreton Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 06 19:25:18 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dTAWj-0008HE-D0 for ged-emacs-devel@m.gmane.org; Thu, 06 Jul 2017 19:25:17 +0200 Original-Received: from localhost ([::1]:52596 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dTAWo-0000yg-Sv for ged-emacs-devel@m.gmane.org; Thu, 06 Jul 2017 13:25:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56477) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dTAWf-0000xc-Jt for emacs-devel@gnu.org; Thu, 06 Jul 2017 13:25:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dTAWa-0007wR-Ic for emacs-devel@gnu.org; Thu, 06 Jul 2017 13:25:13 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55353) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dTAWa-0007wH-FP; Thu, 06 Jul 2017 13:25:08 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3550 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dTAWZ-0000Q8-Nq; Thu, 06 Jul 2017 13:25:08 -0400 In-reply-to: <86fuea4ooa.fsf@gmail.com> (message from Andy Moreton on Wed, 05 Jul 2017 21:24:53 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:216241 Archived-At: > From: Andy Moreton > Date: Wed, 05 Jul 2017 21:24:53 +0100 > > Oone thing I often find useful is to view absolute line numbers from the > whole buffer while narrowed to a region (e.g. a single function of a > source file). This can be handy to limit the portion of a file for > navigation while displaying line numbers that match logs produced by > external tools. > > linum-mode can be persuaded to do this with a little extra code, but I > could not see how to do this with the new feature. Please indicate if > this is possible, or consider adding it as another way to display line > numbers. Thanks, I've now added a customizable variable to get that behavior.