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#9917: bug#5042: bug#9917: 24.0.90; Make `goto-line' consistent with the line number from the minibuffer Date: Sat, 19 Sep 2020 12:27:13 -0700 (PDT) Message-ID: <28534d1c-6652-4cfe-acb4-f0a30624f878@default> References: <877dspmzo3.fsf@gnus.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="10466"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Dani Moncayo , 9917@debbugs.gnu.org, 5042@debbugs.gnu.org To: Stefan Monnier , Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 19 21:30: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 1kJiYm-0002bO-5G for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 19 Sep 2020 21:30:12 +0200 Original-Received: from localhost ([::1]:60114 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJiYl-0005q8-2R for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 19 Sep 2020 15:30:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58734) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJiYd-0005pM-9m for bug-gnu-emacs@gnu.org; Sat, 19 Sep 2020 15:30:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36604) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kJiYc-0006Hw-Vt for bug-gnu-emacs@gnu.org; Sat, 19 Sep 2020 15:30:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kJiYc-0006x6-Sv for bug-gnu-emacs@gnu.org; Sat, 19 Sep 2020 15:30: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: Sat, 19 Sep 2020 19:30: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.160054376626646 (code B ref 9917); Sat, 19 Sep 2020 19:30:02 +0000 Original-Received: (at 9917) by debbugs.gnu.org; 19 Sep 2020 19:29:26 +0000 Original-Received: from localhost ([127.0.0.1]:48149 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJiY1-0006vd-T8 for submit@debbugs.gnu.org; Sat, 19 Sep 2020 15:29:26 -0400 Original-Received: from aserp2120.oracle.com ([141.146.126.78]:51126) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJiXy-0006vJ-3X; Sat, 19 Sep 2020 15:29:23 -0400 Original-Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 08JJTGD1093859; Sat, 19 Sep 2020 19:29:16 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=3nwWx9/L40V4F74s1kziVvlnkXtzRNGdHcjnNf+jbHQ=; b=oNZNsiaPdv9/SH174NAURbnPHyeEGfH5AJX++mDYXbZN2dFelyAFCap7TMLcnA9BCMQO RSHn+Q1cvmCVQxJgYiy60CMXlT75ddk1EGP2gHwEWLa71+r3NGck4iC+ZTxVqLev4WY3 Sx3jsuCxE03zOBzzWzU6i6PeyPyykaTFC4T8YJ7VWCftPxKZFWe4wSe4yx0d3Vt/n6zr TWAuVeJXXA1TCDpmpopsT0fkOxYV5gVchOH0D2WwwUtgqLMwKHAOsvXXIoSutj0R6rsX vHi5Sn/HhteI7pp9WJYfPXz/l1nPyp+6YHJrObIELVzAf7LL9/Pl2ZKlGsyTMxS41hL/ fg== Original-Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by aserp2120.oracle.com with ESMTP id 33n9xkh92k-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Sat, 19 Sep 2020 19:29:16 +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 08JJQ8gP006144; Sat, 19 Sep 2020 19:27:16 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserp3020.oracle.com with ESMTP id 33na00r54b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 19 Sep 2020 19:27:15 +0000 Original-Received: from abhmp0020.oracle.com (abhmp0020.oracle.com [141.146.116.26]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 08JJRDAG013227; Sat, 19 Sep 2020 19:27:14 GMT In-Reply-To: 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=9749 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 adultscore=0 mlxscore=0 suspectscore=0 phishscore=0 bulkscore=0 malwarescore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009190171 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9749 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 lowpriorityscore=0 malwarescore=0 suspectscore=0 priorityscore=1501 adultscore=0 spamscore=0 clxscore=1011 mlxlogscore=999 bulkscore=0 mlxscore=0 phishscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009190171 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:188432 Archived-At: In any buffer, including Info, a user can want to go to a line counted from bob or from point-min (current narrowing/restriction). (Stefan mentioned the use case of an Info node that's further narrowed. There's also the case of an Info buffer that a user has widened intentionally.)=20 There's no good way to read a user's mind about this. We can have a reasonable _default_ behavior, and provide the other behavior as an alternative. We can do that using a prefix arg (I suggested a negative one). Or we can do it by providing two separate commands. Or in some other way. And we could decide to have the default behavior depend on something (type of buffer or whatever). But this might not be the best approach. (I think it's probably not.) In any case, we should give users a way to choose what they want, whatever the buffer.