From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#6192: 24.0.50; eldoc-mode: unexpected recentering Date: Fri, 14 May 2010 23:44:06 +0200 Message-ID: <87wrv6i2ft.fsf@escher.home> References: <878w7mjtml.fsf@escher.home> <83tyqa2nyn.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1273874259 23537 80.91.229.12 (14 May 2010 21:57:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 14 May 2010 21:57:39 +0000 (UTC) Cc: 6192@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 14 23:57:38 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OD2sz-0005Im-RQ for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 May 2010 23:57:38 +0200 Original-Received: from localhost ([127.0.0.1]:53821 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OD2st-0008FK-Lm for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 May 2010 17:57:31 -0400 Original-Received: from [140.186.70.92] (port=60745 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OD2sn-0008F0-B6 for bug-gnu-emacs@gnu.org; Fri, 14 May 2010 17:57:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OD2s3-0003Ld-Vw for bug-gnu-emacs@gnu.org; Fri, 14 May 2010 17:56:42 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55227) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OD2s3-0003LX-SM for bug-gnu-emacs@gnu.org; Fri, 14 May 2010 17:56:39 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OD2go-00019y-Vh; Fri, 14 May 2010 17:45:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 May 2010 21:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6192 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6192-submit@debbugs.gnu.org id=B6192.12738734534433 (code B ref 6192); Fri, 14 May 2010 21:45:02 +0000 Original-Received: (at 6192) by debbugs.gnu.org; 14 May 2010 21:44:13 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OD2g0-00019S-7B for submit@debbugs.gnu.org; Fri, 14 May 2010 17:44:12 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OD2fx-00019M-Mc for 6192@debbugs.gnu.org; Fri, 14 May 2010 17:44:11 -0400 Original-Received: (qmail invoked by alias); 14 May 2010 21:44:07 -0000 Original-Received: from i59F55724.versanet.de (EHLO escher.home) [89.245.87.36] by mail.gmx.net (mp015) with SMTP; 14 May 2010 23:44:07 +0200 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX183Pawycns3OXP6KPopBjEIjx22cSSjiToe1yL/1a tF3rGitQmhhtOk Original-Received: by escher.home (Postfix, from userid 1000) id DFD05103D3; Fri, 14 May 2010 23:44:06 +0200 (CEST) In-Reply-To: <83tyqa2nyn.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 15 May 2010 00:05:52 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 14 May 2010 17:45:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:36928 Archived-At: On Sat, 15 May 2010 00:05:52 +0300 Eli Zaretskii wrote: >> From: Stephen Berman >> Date: Fri, 14 May 2010 19:11:30 +0200 >> >> => This puts point at line 902 (at least here, with window-height 33), >> which is at the bottom of the window as it should be -- but only for a >> fraction of a second, and then point is recentered so that line 902 is >> now in the middle of the window. > > I cannot reproduce this on MS-Windows. In my case, M-v from the end > of the buffer puts point on line 902, but it is the second line from > the bottom of the window, not the first. Yes, my OP was inaccurate, M-v does put point on the penultimate line. Sorry for the sloppiness. > And even if I then type C-n, > point stays on the last line. I see no recentering at all. Maybe it's a GTK+ issue. (I just checked and I don't see the recentering when I start Emacs with -nw) > Anyway, from what you say it sounds like the message displayed by > eldoc-mode in the echo area, which causes redisplay, somehow makes > Emacs think the window where you have the Lisp file needs to be > recentered because point is in a line that is not visible enough. Ah, your reference to the Eldoc message made me take another look, and I think I've now found a pattern: the recentering appears to happen only (and always) when the message is displayed, and then the minibuffer expands to and remains at two lines, even though the message is a single line. When M-v puts point inside a string or on an empty line between sexp's, then there is no recentering (and the minibuffer clears and returns to one line). That seems significant... > Do you see the same problem in Emacs 23.2? I don't have 23.2, but I do have GNU Emacs 23.1.91.4 (i686-pc-linux-gnu, GTK+ Version 2.18.1) of 2010-01-28 on escher, and I observe the recentering with this build as well. Thanks for the feedback. Steve Berman