From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#31325: 27.0.50; PROPOSAL: introduce a new function to recenter without redisplaying the frame Date: Sun, 1 Jul 2018 13:17:25 -0700 (PDT) Message-ID: <7ac98ea5-23c8-456a-8c40-18c703bea617@default> References: <87po2gkxpi.fsf@gmail.com> <87sh57yrax.fsf@gmail.com> <83lgawmwup.fsf@gnu.org> <878t6wxbzr.fsf@gmail.com> <5B38994B.2010605@gmx.at> <87va9zxfhe.fsf@gmail.com> <83in5zkjsk.fsf@gnu.org> <87tvpiyjz6.fsf@gmail.com> <83fu12lwh2.fsf@gnu.org> <83efgmlvya.fsf@gnu.org> <87r2kmyikh.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1530476169 3078 195.159.176.226 (1 Jul 2018 20:16:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 1 Jul 2018 20:16:09 +0000 (UTC) Cc: 31325@debbugs.gnu.org, monnier@iro.umontreal.ca To: John Shahid , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 01 22:16:05 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fZilR-0000ib-41 for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 Jul 2018 22:16:05 +0200 Original-Received: from localhost ([::1]:55522 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fZinY-0006IN-Cp for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 Jul 2018 16:18:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46593) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fZinN-0006HI-CW for bug-gnu-emacs@gnu.org; Sun, 01 Jul 2018 16:18:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fZinK-0001IE-09 for bug-gnu-emacs@gnu.org; Sun, 01 Jul 2018 16:18:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34502) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fZinJ-0001Hz-S1 for bug-gnu-emacs@gnu.org; Sun, 01 Jul 2018 16:18:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fZinJ-0005wu-K1 for bug-gnu-emacs@gnu.org; Sun, 01 Jul 2018 16:18:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 Jul 2018 20:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31325 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31325-submit@debbugs.gnu.org id=B31325.153047625722812 (code B ref 31325); Sun, 01 Jul 2018 20:18:01 +0000 Original-Received: (at 31325) by debbugs.gnu.org; 1 Jul 2018 20:17:37 +0000 Original-Received: from localhost ([127.0.0.1]:42399 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fZimv-0005vs-Kw for submit@debbugs.gnu.org; Sun, 01 Jul 2018 16:17:37 -0400 Original-Received: from userp2120.oracle.com ([156.151.31.85]:56050) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fZimt-0005vW-Eh for 31325@debbugs.gnu.org; Sun, 01 Jul 2018 16:17:36 -0400 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w61KHTVs077826; Sun, 1 Jul 2018 20:17:29 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-2017-10-26; bh=38WLP51CJdCg+p2izxh883OE9gkXcwOz4Dp6/WMhYjI=; b=NbRpN/utqx+UWrlLJCX1uwgxmOTpzMYMyAukKFabtY4992936hkgLVfwkwnOJV67h7mm kYruuUMk2n6Woq/d2/vMIha2WzX6FOjBXaF0HA9GnYNdPGOc+corLDdj28U4QjlJ35Ta /C6Uikc72sMFtxldMYx6r7soTMco0kD+rTKL+pIARyYTZMQrW549PrRoGisMJSXCmkFF 5mh2bWBLS37PCHTcgUcmqXNbXeZ3vawkummH919qpt4zZZ7eEyYRDC8gRdoGi6HxSBm/ y8jlzFUAR4/TDQ/nkzZgPrGitVFwHTRr3uWoe0yMqHLqYP3jdm3NxXB7jqXNX3EO7eF5 Ew== Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp2120.oracle.com with ESMTP id 2jx2gpt82b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 01 Jul 2018 20:17:29 +0000 Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w61KHR42019250 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 1 Jul 2018 20:17:28 GMT Original-Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w61KHPg8006498; Sun, 1 Jul 2018 20:17:26 GMT In-Reply-To: <87r2kmyikh.fsf@gmail.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4705.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8941 signatures=668704 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=459 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1807010242 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:148063 Archived-At: Sorry, but I've not been following this bug thread. I took only a (very) quick look at it, at https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D31325. It looks like you are changing the default behavior of `recenter', which is a backward-incompatible change. Am I right about that, so that all Lisp calls of that function would now need to be changed, to add a non-nil 2nd arg in order to keep the same behavior? The reported bug was only about a problem for Emacs in a terminal, right? Can't it just be fixed to DTRT in that case, without changing so much in the definition and behavior of the function? Apologies if I misunderstood something. I really only glanced at the thread. But if what thought I saw is right, is this really the right fix? The behavior of `recenter' has remained pretty much unchanged since, well, _forever_. And when I came up with `recenter-top-bottom' the idea was explicitly _not_ to change the behavior of `recenter'. And in the old days people used Emacs mainly (and originally, only) in the terminal. Why is the terminal behavior suddenly considered to be bugged? Or given that it is bugged - is changing the default behavior the best fix? Please ignore, if my understanding is wrong or my comments on this are not helpful.