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 20:07:46 +0200 Message-ID: <874oiajr0t.fsf@escher.home> References: <878w7mjtml.fsf@escher.home> <83wrv62x1j.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 1273861614 11687 80.91.229.12 (14 May 2010 18:26:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 14 May 2010 18:26:54 +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 20:26:53 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 1OCzb2-0006k0-Nt for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 May 2010 20:26:53 +0200 Original-Received: from localhost ([127.0.0.1]:49528 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OCzb1-0004vP-Qp for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 May 2010 14:26:51 -0400 Original-Received: from [140.186.70.92] (port=55064 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OCzav-0004up-5J for bug-gnu-emacs@gnu.org; Fri, 14 May 2010 14:26:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OCzaq-0003Of-JJ for bug-gnu-emacs@gnu.org; Fri, 14 May 2010 14:26:45 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60564) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OCzaq-0003Ob-G3 for bug-gnu-emacs@gnu.org; Fri, 14 May 2010 14:26:40 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OCzIn-0007Ux-VM; Fri, 14 May 2010 14:08:01 -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 18:08:01 +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.127386047428814 (code B ref 6192); Fri, 14 May 2010 18:08:01 +0000 Original-Received: (at 6192) by debbugs.gnu.org; 14 May 2010 18:07:54 +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 1OCzIf-0007Uh-Ko for submit@debbugs.gnu.org; Fri, 14 May 2010 14:07:54 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OCzIc-0007Ua-3O for 6192@debbugs.gnu.org; Fri, 14 May 2010 14:07:52 -0400 Original-Received: (qmail invoked by alias); 14 May 2010 18:07:45 -0000 Original-Received: from i59F55724.versanet.de (EHLO escher.home) [89.245.87.36] by mail.gmx.net (mp013) with SMTP; 14 May 2010 20:07:45 +0200 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX1/3MNVNxPj3UBl5CQVD76yG3SIbIAAW4DAthNGsCp QQGy6Z5VOI7aMv Original-Received: by escher.home (Postfix, from userid 1000) id C694E102BA; Fri, 14 May 2010 20:07:46 +0200 (CEST) In-Reply-To: <83wrv62x1j.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 14 May 2010 20:49:44 +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 14:08:01 -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:36922 Archived-At: On Fri, 14 May 2010 20:49:44 +0300 Eli Zaretskii wrote: >> From: Stephen Berman >> Date: Fri, 14 May 2010 19:11:30 +0200 >> Cc: >> >> 1. Let ~/.emacs consist of the following line: >> (add-hook 'emacs-lisp-mode-hook 'turn-on-eldoc-mode) >> >> 2. Start Emacs with the above init-file. >> >> 3. Visit an Emacs lisp file that's long enough to scroll a number of >> screens up and down, e.g. lisp/abbrev.el from the Emacs source >> directory. >> >> 4. Type `M->' (end-of-buffer). >> >> 5. Type 'M-v' (scroll-down-command) >> >> => 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. > > Could it be that the last line uses some characters or some faces that > cause the line to be only partially visible, when it is the last line > of the window? I don't think so. First, I think this happens with any file that's long enough. Second, the last line of abbrev.el is empty (EOB), and after step 4, the last line of the file is completely visible, and two or three lines above the bottom of the window; this is typical. And third, as I reported, this doesn't only happen at the bottom of the file, nor does it always happen there: for instance, my normal Emacs window-height is 57, and with this height and the above recipe, I see the recenter not after the first M-v but after the second one. Very peculiar... Steve Berman