From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#9917: bug#5042: bug#9917: 24.0.90; Make `goto-line' consistent with the line number from the minibuffer Date: Thu, 29 Oct 2020 16:31:58 +0200 Message-ID: <83sg9xaysh.fsf@gnu.org> References: <877dspmzo3.fsf@gnus.org> <83zh5l1uqw.fsf@gnu.org> <87wo0osspd.fsf@gnus.org> <87lfh3dtoj.fsf@mail.linkov.net> <878sd1j2rv.fsf@gnus.org> <878sbps834.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34387"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 5042@debbugs.gnu.org, 9917@debbugs.gnu.org, monnier@iro.umontreal.ca, dmoncayo@gmail.com To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 29 15:41:54 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kY97i-0008oN-7U for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 29 Oct 2020 15:41:54 +0100 Original-Received: from localhost ([::1]:42368 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kY97h-0006U7-5T for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 29 Oct 2020 10:41:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53710) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kY8z8-0003Wd-UG for bug-gnu-emacs@gnu.org; Thu, 29 Oct 2020 10:33:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43006) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kY8z8-0006w1-J1 for bug-gnu-emacs@gnu.org; Thu, 29 Oct 2020 10:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kY8z8-00048F-Gm for bug-gnu-emacs@gnu.org; Thu, 29 Oct 2020 10:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 29 Oct 2020 14:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9917 X-GNU-PR-Package: emacs Original-Received: via spool by 9917-submit@debbugs.gnu.org id=B9917.160398193215800 (code B ref 9917); Thu, 29 Oct 2020 14:33:02 +0000 Original-Received: (at 9917) by debbugs.gnu.org; 29 Oct 2020 14:32:12 +0000 Original-Received: from localhost ([127.0.0.1]:54549 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kY8yJ-00046l-Vb for submit@debbugs.gnu.org; Thu, 29 Oct 2020 10:32:12 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53294) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kY8yI-00046S-AC; Thu, 29 Oct 2020 10:32:10 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41089) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kY8yB-0006qK-Pt; Thu, 29 Oct 2020 10:32:04 -0400 Original-Received: from [176.228.60.248] (port=4684 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kY8y6-00043g-9B; Thu, 29 Oct 2020 10:32:00 -0400 In-Reply-To: <878sbps834.fsf@mail.linkov.net> (message from Juri Linkov on Thu, 29 Oct 2020 11:19:11 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:191958 Archived-At: > From: Juri Linkov > Cc: Eli Zaretskii , 5042@debbugs.gnu.org, > 9917@debbugs.gnu.org, monnier@iro.umontreal.ca, dmoncayo@gmail.com > Date: Thu, 29 Oct 2020 11:19:11 +0200 > > 2. Re-bind 'M-g g' to goto-line-relative as many asked to do > with the reasoning that 'M-g g' should use by default the > same numbering scheme as is displayed by display-line-numbers-mode; Two comments: 1) display-line-numbers-mode by default behaves the same as line-number-mode 2) display-line-numbers-mode has the display-line-numbers-widen option which disregards narrowing, so if you want to follow display-line-numbers-mode, you will need to heed that option as well > 3. Leave the existing 'M-g g' bound to goto-line, but allow changing > the numbering scheme using a prefix arg and a user option. I like this the best. > Or another idea: maybe it should depend on whether > display-line-numbers-mode is enabled or not? That sounds wrong to me: there's no real relation between these two, and having the same command behave differently in two buffers doesn't sound right to me.