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: Fri, 30 Oct 2020 10:19:46 +0200 Message-ID: <83blgkazx9.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> <83sg9xaysh.fsf@gnu.org> <87r1pgch84.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14429"; 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 Fri Oct 30 09:21:14 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 1kYPes-0003fg-1i for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 30 Oct 2020 09:21:14 +0100 Original-Received: from localhost ([::1]:35154 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYPer-000241-2X for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 30 Oct 2020 04:21:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46246) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYPeg-00023g-Na for bug-gnu-emacs@gnu.org; Fri, 30 Oct 2020 04:21:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44439) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kYPeg-0005eO-8F for bug-gnu-emacs@gnu.org; Fri, 30 Oct 2020 04:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kYPeg-0001ub-4U for bug-gnu-emacs@gnu.org; Fri, 30 Oct 2020 04:21: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: Fri, 30 Oct 2020 08:21: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.16040460127263 (code B ref 9917); Fri, 30 Oct 2020 08:21:02 +0000 Original-Received: (at 9917) by debbugs.gnu.org; 30 Oct 2020 08:20:12 +0000 Original-Received: from localhost ([127.0.0.1]:55982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYPds-0001t4-Fj for submit@debbugs.gnu.org; Fri, 30 Oct 2020 04:20:12 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45844) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYPdq-0001sk-QT; Fri, 30 Oct 2020 04:20:11 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:56594) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYPdk-00056H-M9; Fri, 30 Oct 2020 04:20:04 -0400 Original-Received: from [176.228.60.248] (port=2358 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kYPdj-0003Yp-Jv; Fri, 30 Oct 2020 04:20:04 -0400 In-Reply-To: <87r1pgch84.fsf@mail.linkov.net> (message from Juri Linkov on Fri, 30 Oct 2020 09:27:43 +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:192046 Archived-At: > From: Juri Linkov > Cc: larsi@gnus.org, 5042@debbugs.gnu.org, 9917@debbugs.gnu.org, > monnier@iro.umontreal.ca, dmoncayo@gmail.com > Date: Fri, 30 Oct 2020 09:27:43 +0200 > > >> 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. > > If making the current goto-line 'M-g g' more DWIM is not easy to do, > maybe really a user option could help with such choices: > > - always use absolute line numbers; > - always use relative line numbers; > - follow the value of display-line-numbers-widen; > ... That's also a possibility, but I think "M-1 M-g g" would still be useful, even with these options, because sometimes the need in narrow-relative line numbers is a one-time thing.