From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Michael Reilly Newsgroups: gmane.emacs.devel Subject: Re: Strange recenter-top-bottom behaviour in CVS Date: Sat, 02 Feb 2008 15:32:27 -0500 Message-ID: <47A4D35B.6030602@pajato.com> References: <8763x7mpa0.fsf@rabkins.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1201984368 22481 80.91.229.12 (2 Feb 2008 20:32:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 2 Feb 2008 20:32:48 +0000 (UTC) Cc: emacs-devel@gnu.org To: Yoni Rabkin Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 02 21:33:10 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JLP2y-0006Sh-K9 for ged-emacs-devel@m.gmane.org; Sat, 02 Feb 2008 21:33:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JLP2W-0003In-Rw for ged-emacs-devel@m.gmane.org; Sat, 02 Feb 2008 15:32:40 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JLP2R-0003Eu-CD for emacs-devel@gnu.org; Sat, 02 Feb 2008 15:32:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JLP2O-00038q-NO for emacs-devel@gnu.org; Sat, 02 Feb 2008 15:32:34 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JLP2O-00038I-BO for emacs-devel@gnu.org; Sat, 02 Feb 2008 15:32:32 -0500 Original-Received: from 68-191-253-210.static.oxfr.ma.charter.com ([68.191.253.210] helo=copa.pajato.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JLP2O-0001Du-58 for emacs-devel@gnu.org; Sat, 02 Feb 2008 15:32:32 -0500 Original-Received: from lilly.pajato.com (68-191-253-213.static.oxfr.ma.charter.com [68.191.253.213]) (authenticated bits=0) by copa.pajato.com (8.14.1/8.13.8) with ESMTP id m12KWSGu010800 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 2 Feb 2008 15:32:28 -0500 User-Agent: Thunderbird 2.0.0.9 (X11/20071115) In-Reply-To: <8763x7mpa0.fsf@rabkins.net> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (copa.pajato.com [68.191.253.210]); Sat, 02 Feb 2008 15:32:28 -0500 (EST) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:88053 Archived-At: Yoni Rabkin wrote: > I'm seeing strange recenter-top-bottom (C-l) behaviour in CVS > Emacs. Here is how I can recreate this on my machine. > > 1. I ran: emacs-23.0.60 -q > > Which is: GNU Emacs 23.0.60.2 (i686-pc-linux-gnu, X toolkit, Xaw3d > scroll bars) of 2008-02-02 > > 2. Load the text of GPLv3 in Text mode (for example, but this happens in > other modes as well). > > 3. Move point to down to line 40. > > 4. Enter . As a result line 40 goes to the center of the screen > (%3), and so far so good. > > 5. Enter a second time. As a result line 40 goes to the very top > of the screen (%6). > > 6. Enter a third time. As a result line 40 goes to the near the > bottom of the screen (top of the buffer in view). > > 7. Enter a forth time. The results are as if you are back at step > (4). > > An instance of Emacs 22 I have around behaves normally (every subsequent > C-l stays in place, like step (4)). > Damn that's nice! Sometimes it is so hard to keep track of all the new features that get added to the code base. This one in particular slipped by my notice but now that I see what it is, my opinion is that it is very helpful feature. I think thanks are due to Drew Adams(?) for adding it. -pmr