From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Colin Baxter Newsgroups: gmane.emacs.devel Subject: Re: Native display of line numbers Date: Sun, 18 Jun 2017 13:16:17 +0100 Message-ID: <87lgop1ofi.fsf@yandex.com> References: <83lgoqzm0v.fsf@gnu.org> <20170617202702.GC2955@acm.fritz.box> <837f0ayqdl.fsf@gnu.org> <20170618114251.GA22671@acm> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1497788234 31344 195.159.176.226 (18 Jun 2017 12:17:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 18 Jun 2017 12:17:14 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) Cc: , Eli Zaretskii , emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 18 14:17:08 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 1dMZ8d-0007aA-RG for ged-emacs-devel@m.gmane.org; Sun, 18 Jun 2017 14:17:08 +0200 Original-Received: from localhost ([::1]:38253 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dMZ8f-0006f5-TW for ged-emacs-devel@m.gmane.org; Sun, 18 Jun 2017 08:17:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41268) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dMZ82-0006ep-Uf for emacs-devel@gnu.org; Sun, 18 Jun 2017 08:16:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dMZ82-0005pI-4K for emacs-devel@gnu.org; Sun, 18 Jun 2017 08:16:30 -0400 Original-Received: from forward5o.cmail.yandex.net ([37.9.109.249]:47024) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dMZ7y-0005oW-59; Sun, 18 Jun 2017 08:16:26 -0400 Original-Received: from smtp2m.mail.yandex.net (smtp2m.mail.yandex.net [IPv6:2a02:6b8:0:2519::122]) by forward5o.cmail.yandex.net (Yandex) with ESMTP id D043D20BFB; Sun, 18 Jun 2017 15:16:21 +0300 (MSK) Original-Received: from smtp2m.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp2m.mail.yandex.net (Yandex) with ESMTP id 161462300F72; Sun, 18 Jun 2017 15:16:20 +0300 (MSK) Original-Received: by smtp2m.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id wtiMPqVXXH-GJMinX1K; Sun, 18 Jun 2017 15:16:20 +0300 (using TLSv1.2 with cipher AES128-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1497788180; bh=cqZfMewdV3RHahZQT94MTeO6SJzarAkoCUxFeMoM4fc=; h=From:To:Cc:Cc:Subject:References:Date:In-Reply-To:Message-ID; b=tdgEyWrraaNbrv8AGc9SDYXZA2JTXwYSvhkhyY8Ziz65c379e3C6lQPBc0TLQ7gGc 9p9RqxIko0F9BUVdUUuPyWVKHXHRyt3bYmcb/tlmYWv0QUhMVDTG8Abo8y6HrwXCWe n5DO/K+Xk8x6GEHbV0uajL8lkOaZvAp0CoutDMgs= Authentication-Results: smtp2m.mail.yandex.net; dkim=pass header.i=@yandex.com X-Yandex-Suid-Status: 1 0,1 0,1 0 In-Reply-To: <20170618114251.GA22671@acm> (Alan Mackenzie's message of "Sun, 18 Jun 2017 11:42:51 +0000") Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAAAFz UkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAxQ TFRF8d8Gwx4p07Wi////YneHdQAAAAFiS0dEAxEMTPIAAAAJcEhZcwAACxIAAAsSAdLdfvwAAAFZ SURBVCjPZZLBasJAEIYnEgveVoiheuyhoE+RQh/AihPMnnrohsan8NAHsOAG9CRiSrNP2X8mpj10 TvPxz+7M/rNEiOFmcqU+tnV56POo+gpVdoM7b729wThlxOFZIS4UTKdIzm+Jgpkr3Es+Yi1j9wpI g+Z1vQdU7KzPG0jo6Ji3YQuwRAPPHBDMRUZDz1ag4TzDLKhSsDsauA5aUR4bPQIo9jTlTgls9zTz UC5a9k5zXtvw+QDgKxXSJhlLI4dp8hAoFtiQA3xnsTQqUIYBnswCUOICgCFRDpTKmTgROFPkpWwV gs+XFBVQLiPAEU/onoOrV4ZM3cOLoWTaTy2eFv17HDyFIVZyXpPCLIQrDFHfRPEypyq5QgWYiM+t WA9YcBf5WZbYGZ+XYnxUeoVWt1p52ZDtlj9ueO24Xzc6Hbm9/YNTqNNT/0VSl3y45e/niQzt/iCj f/EDBae52Zd5lNIAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTctMDItMjFUMTU6MjI6MTgrMDA6MDAy vBNIAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDE3LTAyLTIxVDE1OjIyOjE4KzAwOjAwQ+Gr9AAAABF0 RVh0anBlZzpjb2xvcnNwYWNlADIsdVWfAAAAIHRFWHRqcGVnOnNhbXBsaW5nLWZhY3RvcgAxeDEs MXgxLDF4MemV/HAAAAAASUVORK5CYII= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 37.9.109.249 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:215739 Archived-At: >>>>> "Alan" == Alan Mackenzie writes: Alan> I've just tried it. It works mostly well, except... Alan> 1. Enable relative line numbers globally. 2. Visit a file, Alan> put it in two or several side by side windows. 3. Start Alan> follow-mode. Alan> The relative line numbers are now "global", in that they are Alan> relative to point in the selected window. I was thinking of mentioning this, but you beat me to it. I would like to add a remark in defence of line numbers. I always use them with the exception of certain modes, e.g. org-mode, gnus. I work mainly on large tex files and find line numbers useful in giving me a sense of where I am in the document. Ok there are other ways of doing that, but I wouldn't want to change. -- -- Colin Baxter m43cap@yandex.com GnuPG fingerprint: 68A8 799C 0230 16E7 BF68 2A27 BBFA 2492 91F5 41C8