From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov 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: Sat, 31 Oct 2020 21:28:41 +0200 Organization: LINKOV.NET Message-ID: <878sbmp612.fsf@mail.linkov.net> 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> <87tuucm4br.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18956"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: 5042@debbugs.gnu.org, 9917@debbugs.gnu.org, monnier@iro.umontreal.ca, dmoncayo@gmail.com To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 31 20:46:48 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 1kYwps-0004rI-FS for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 31 Oct 2020 20:46:48 +0100 Original-Received: from localhost ([::1]:55220 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYwpr-0001nv-H4 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 31 Oct 2020 15:46:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50430) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYwpA-0001le-1F for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2020 15:46:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51273) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kYwp9-0003Mx-NV for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2020 15:46:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kYwp9-0004c5-MG for bug-gnu-emacs@gnu.org; Sat, 31 Oct 2020 15:46:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 31 Oct 2020 19:46:03 +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.160417353517638 (code B ref 9917); Sat, 31 Oct 2020 19:46:03 +0000 Original-Received: (at 9917) by debbugs.gnu.org; 31 Oct 2020 19:45:35 +0000 Original-Received: from localhost ([127.0.0.1]:34578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYwoh-0004aK-3a for submit@debbugs.gnu.org; Sat, 31 Oct 2020 15:45:35 -0400 Original-Received: from relay8-d.mail.gandi.net ([217.70.183.201]:45327) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYwod-0004ZY-8W; Sat, 31 Oct 2020 15:45:31 -0400 X-Originating-IP: 91.129.102.160 Original-Received: from mail.gandi.net (m91-129-102-160.cust.tele2.ee [91.129.102.160]) (Authenticated sender: juri@linkov.net) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 091E51BF206; Sat, 31 Oct 2020 19:45:21 +0000 (UTC) In-Reply-To: <87tuucm4br.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 30 Oct 2020 10:49:12 +0100") 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:192300 Archived-At: >> 1. Bind 'M-g v' to goto-line-relative, while leaving 'M-g g' >> bound to goto-line that currently uses absolute line numbers >> (btw, this fact should be mentioned in its docstring); > > This makes most sense to me -- sometimes you want to go relative (when > you're working on stuff wrt. the buffer) and sometimes you want to go > absolute (when you're looking at external data, like error reports and > the like). > > So two commands (and keystrokes), and document the difference properly. What do you think about binding upper-case 'M-G G' to goto-line, where the big G has mnemonics of more global absolute line numbers, and binding lower-case 'M-g g' to goto-line-relative where the little g means more local relative addressing.