From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#5042: bug#9917: bug#5042: bug#9917: 24.0.90; Make `goto-line' consistent with the line number from the minibuffer Date: Wed, 23 Sep 2020 11:09:53 -0700 (PDT) Message-ID: References: <> <<877dspmzo3.fsf@gnus.org>> <<83zh5l1uqw.fsf@gnu.org>> <<87wo0osspd.fsf@gnus.org>> <<87lfh3dtoj.fsf@mail.linkov.net>> <<878sd1j2rv.fsf@gnus.org>> <<871ritbs6t.fsf@mail.linkov.net>> <> <<83zh5gvauy.fsf@gnu.org>> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14578"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 5042@debbugs.gnu.org, juri@linkov.net, 9917@debbugs.gnu.org, monnier@iro.umontreal.ca, dmoncayo@gmail.com, larsi@gnus.org To: Eli Zaretskii , Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 23 20:11:16 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 1kL9EZ-0003hD-0z for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 23 Sep 2020 20:11:15 +0200 Original-Received: from localhost ([::1]:49610 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kL9EX-0000fo-Vn for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 23 Sep 2020 14:11:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50984) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kL9EM-0000fW-Tb for bug-gnu-emacs@gnu.org; Wed, 23 Sep 2020 14:11:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54484) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kL9EM-0006sx-KA for bug-gnu-emacs@gnu.org; Wed, 23 Sep 2020 14:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kL9EM-0005IZ-DI for bug-gnu-emacs@gnu.org; Wed, 23 Sep 2020 14:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Sep 2020 18:11: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.160088461520270 (code B ref 5042); Wed, 23 Sep 2020 18:11:02 +0000 Original-Received: (at 5042) by debbugs.gnu.org; 23 Sep 2020 18:10:15 +0000 Original-Received: from localhost ([127.0.0.1]:37795 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kL9Da-0005Gr-EV for submit@debbugs.gnu.org; Wed, 23 Sep 2020 14:10:14 -0400 Original-Received: from aserp2130.oracle.com ([141.146.126.79]:59330) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kL9DZ-0005GT-4Q; Wed, 23 Sep 2020 14:10:13 -0400 Original-Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 08NI9WWn161797; Wed, 23 Sep 2020 18:10:07 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=AZXoBrKixv9HkTPVM+xBErV6/426C3zralJTkDbRqes=; b=SC9lbX1eb0YIk/JtpTVKUa2wS/iGRdF5mL4FoKep0Rj6Uw/wGlczAh8bhZV1KA8kdlvh p6o8BbA1cOJ55/FgxudtRI+T1HF0ZDRGCkWzVWmKKx7TLbGAgYWZkI6vRuGpYEn4Gh0h saESc+gZDvDfQwx33PYhtViigCbHtXnPIRdwlmhTrSlgCQ14MdHMFJWLqHpduYyW5TzI IUJlWIdgiCsHwTip23efhiUO7g5Lkz6TtdnSsf6vB/1Mg4Nfk4z3W+b7Tw0ckoiLKSQ1 7FJKH1XO70qsnUoTi1wE7W5tsASdboARFSaYporHZANFYjRlEg7FD+7k80L4glHuPNS3 oA== Original-Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by aserp2130.oracle.com with ESMTP id 33qcpu0yg3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 23 Sep 2020 18:10:07 +0000 Original-Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 08NIA5UO193589; Wed, 23 Sep 2020 18:10:07 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserp3020.oracle.com with ESMTP id 33r28vyr11-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 23 Sep 2020 18:10:06 +0000 Original-Received: from abhmp0006.oracle.com (abhmp0006.oracle.com [141.146.116.12]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 08NI9tZG014968; Wed, 23 Sep 2020 18:09:55 GMT In-Reply-To: <<83zh5gvauy.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.5056.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9753 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 mlxlogscore=999 suspectscore=0 adultscore=0 bulkscore=0 malwarescore=0 spamscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009230138 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9753 signatures=668680 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 mlxlogscore=999 adultscore=0 bulkscore=0 mlxscore=0 lowpriorityscore=0 priorityscore=1501 phishscore=0 spamscore=0 malwarescore=0 clxscore=1015 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009230138 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:188814 Archived-At: > > > 3.2. 'goto-line-relative' is bound in Info mode to `M-g M-g'. > > > > I gave my opinion about this. And it was a reason given > > for having two different commands: Do not base which > > command gets the standard key binding on anything to do > > with the current context - in particular, on whether the > > buffer is narrowed. > > > > Please do _not_ bind `M-g M-g' to anything different in Info. >=20 > Why not? We do this kind of thing -- have mode-specific bindings -- > all the time in Emacs. Because we will now have two commands, with two bindings, to let users get the behavior they want - in any mode, any context. Changing the binding of one of those 2 commands to invoke the other command, makes no sense. It takes away a possibility (one command gets two bindings; the other gets zero bindings). And it confuses users. > > Emacs should not be second-guessing users about this. >=20 > It's not second-guessing. Info shows narrowed line numbers in its > buffers, so from the user POV the key sequence keeps invoking the same > command. Info uses narrowing to show a node. Users can further use narrowing within a node. Users can widen, to see all of a file. That Info uses narrowing for this special purpose might be seen as a kludge. In any case, it's a different use of narrowing from a user's. >From a user POV the key sequence `M-g M-g' does NOT keep invoking the same command. If it invoked the same command then it would still move to an absolute position. >From a user POV, the user has _lost_ a key binding for one of the commands, and the other command now has two bindings. > I see no problem and don't see why you object so much. So much? I just presented my objection; that's all. I see no reason for this. I see reasons against it, both wrt the particular case (Info) and in terms of setting a bad precedent. I don't object "so much". I do think it would be a mistake. And it's not necessary. At the very least, if you insist on this "so much", then please consider swapping the two command bindings in Info mode, and advertising this (anomalous swap).