From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#5042: bug#9917: 24.0.90; Make `goto-line' consistent with the line number from the minibuffer Date: Sun, 20 Sep 2020 11:28:14 +0200 Message-ID: <87wo0osspd.fsf@gnus.org> References: <877dspmzo3.fsf@gnus.org> <83zh5l1uqw.fsf@gnu.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="25021"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: dmoncayo@gmail.com, 9917@debbugs.gnu.org, monnier@iro.umontreal.ca, 5042@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 20 11:29:12 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 1kJveh-0006O1-RT for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 20 Sep 2020 11:29:11 +0200 Original-Received: from localhost ([::1]:37446 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJveg-0006Vb-TM for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 20 Sep 2020 05:29:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55498) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJveY-0006VP-K7 for bug-gnu-emacs@gnu.org; Sun, 20 Sep 2020 05:29:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37164) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kJveY-0002W9-A2 for bug-gnu-emacs@gnu.org; Sun, 20 Sep 2020 05:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kJveY-0006dM-57 for bug-gnu-emacs@gnu.org; Sun, 20 Sep 2020 05:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 Sep 2020 09:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5042 X-GNU-PR-Package: emacs Original-Received: via spool by 5042-submit@debbugs.gnu.org id=B5042.160059411125459 (code B ref 5042); Sun, 20 Sep 2020 09:29:02 +0000 Original-Received: (at 5042) by debbugs.gnu.org; 20 Sep 2020 09:28:31 +0000 Original-Received: from localhost ([127.0.0.1]:48708 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJve3-0006cY-5D for submit@debbugs.gnu.org; Sun, 20 Sep 2020 05:28:31 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:57868) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJve0-0006cG-Nj; Sun, 20 Sep 2020 05:28:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=jYhLohkQqd3PNjhzBP6Ykn2hLt1jSKwjD8v3zlz2WLo=; b=jbB6iiwL4CXHoAHILwC89xG3D1 s+AqpopT7S0UbhdFVGkqMRi6tVWmVHRiexCdmhPKse9kC7/4twP62auIFJYV7TPmdLkh1uK/iq9Xo X8/0JgTScRot2jlTaoVRe+UQu2W8fjb7iT8KupMcqDLaGJ6aEput3QCyDUXUDGGIUSWI=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kJvdn-0005d7-Pm; Sun, 20 Sep 2020 11:28:22 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAJ1BMVEX8/P3U19a7xcyp u8yVoqlpZ1OIhnGZrsR6kKJKSDY2MiUsKBr///9fa0aiAAAAAWJLR0QMgbNRYwAAAAd0SU1FB+QJ FAkKHHJV3scAAAGoSURBVDjLpdJBT8IwFADgdgG5roKJR5EL3oRi5lFjRfBMlwwvHmAJR7OY+ANI wLs16e47rPwCtz/n6zZgHcGL79BDv76+vNcitA0bHQlC7GNgndrIthHBCBtgdWi75rpzl3NeSsZN Smn7hM9934BmAPu0X+d5bAEP1g8a3nJw/QKs0XIUUAfgKgN/B0sGMICrxvlNswIwgL6JOkWJbQZi jGUw4J40in+wpwxuOZcQe+iyVQ5CH5fc3cJ5ATcir7GDBsvaoO+y0mBjqcGhYylMsDIY0M8q4HU2 qkNAo8DROYsD+KAUchxPChDQHXTziXhSqdjIaBUTmSqlRBkax8CC7eDS4iFAVAYc0D4hNR5N8yJ7 WPUwISdciArof2jjOr+fPCsFcFH6PnjWO+P3dj0xMwjBQ9eff7U7jz9GDQD4af53i40j4yobaeBs KBLowyvVQBgOvrxOZ2EMr14BL/xiVqjiCkgRqk3Ugt5lWAZLwmhV6MESmxDrQalELxVQ+7guQ2l/ c/c/SP7MSNKkCjjrwIXX3VQywjRNo8lwkcReamTwfRjT/Xf8AmV088BEgwQVAAAAJXRFWHRkYXRl OmNyZWF0ZQAyMDIwLTA5LTIwVDA5OjEwOjI4KzAwOjAwMTL32gAAACV0RVh0ZGF0ZTptb2RpZnkA MjAyMC0wOS0yMFQwOToxMDoyOCswMDowMEBvT2YAAAAASUVORK5CYII= X-Now-Playing: Andrew Poppy's _On Zang Tuum Tumb (2): Alphabed (a mystery dance)_: "Goodbye Mr G" In-Reply-To: <83zh5l1uqw.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 19 Sep 2020 21:33:59 +0300") 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:188471 Archived-At: Eli Zaretskii writes: > So I think it has to be a different command. If someone wants to > rebind "M-g g" to that new command, they can always do that. I'm sympathetic to the idea of not disrupting anybody's workflow. However if the keystroke isn't useful as it is today, then changing how it works (so that it's useful) is an option. So: Is `M-g g' (in a narrowed buffer) useful today? `M-g g 2' will almost inevitably take you to the start of the buffer, so that's not useful, and I think is what people are complaining about, because it just seems to... unhelpful. However, if people have a narrowed buffer, and are looking at (say) the compilation output that says "error on like 45" in a shell, then `M-g g 45' will definitely do the wrong thing is we change the command to start counting from the start of the narrowed region. So a new command and keystroke seems warranted. How about... `M-g M-v'? (The mnemonic is "goto visual line".) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no