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 19:11:30 +0200 Message-ID: <878w7mjtml.fsf@escher.home> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1273859262 2988 80.91.229.12 (14 May 2010 17:47:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 14 May 2010 17:47:42 +0000 (UTC) To: 6192@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 14 19:47:37 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 1OCyz2-0004Qh-3o for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 May 2010 19:47:36 +0200 Original-Received: from localhost ([127.0.0.1]:41589 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OCyz1-0001so-5u for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 May 2010 13:47:35 -0400 Original-Received: from [140.186.70.92] (port=42207 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OCyep-0002gB-Ur for bug-gnu-emacs@gnu.org; Fri, 14 May 2010 13:26:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OCyem-0004GR-83 for bug-gnu-emacs@gnu.org; Fri, 14 May 2010 13:26:43 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33583) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OCyel-0004GE-VQ for bug-gnu-emacs@gnu.org; Fri, 14 May 2010 13:26:40 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OCyQc-00078i-0I; Fri, 14 May 2010 13:12: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 17:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6192 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.127385711527436 (code B ref -1); Fri, 14 May 2010 17:12:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 May 2010 17:11:55 +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 1OCyQU-00078T-VT for submit@debbugs.gnu.org; Fri, 14 May 2010 13:11:55 -0400 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OCyQS-00078O-4F for submit@debbugs.gnu.org; Fri, 14 May 2010 13:11:53 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:60922) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OCyQP-00064U-9A for submit@debbugs.gnu.org; Fri, 14 May 2010 13:11:49 -0400 Original-Received: from [140.186.70.92] (port=41230 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OCyQJ-0000Tq-5Q for bug-gnu-emacs@gnu.org; Fri, 14 May 2010 13:11:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OCyQA-0001rH-An for bug-gnu-emacs@gnu.org; Fri, 14 May 2010 13:11:37 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]:37399) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OCyQ9-0001qG-Ve for bug-gnu-emacs@gnu.org; Fri, 14 May 2010 13:11:34 -0400 Original-Received: (qmail invoked by alias); 14 May 2010 17:11:31 -0000 Original-Received: from i59F55724.versanet.de (EHLO escher.home) [89.245.87.36] by mail.gmx.net (mp032) with SMTP; 14 May 2010 19:11:31 +0200 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX1/K9/gTPt/K12SbDwSvef8iWLBtN9DVTzxJx2ojxb VAnL5wha8q+FCB Original-Received: by escher.home (Postfix, from userid 1000) id 6BB46102BA; Fri, 14 May 2010 19:11:30 +0200 (CEST) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 14 May 2010 13:12: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:36920 Archived-At: 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. On subsequent reiterations of M-v this recentering sometimes happens and sometimes doesn't. I haven't discovered a pattern (nor does it happen the first time with all files, though it appears to be consistent within the same file). This recentering only happens when eldoc-mode is enabled from the mode hook in the user init file, i.e., starting Emacs with -Q and evalling the sexp in step 1, then doing steps 2-5, I do not observe the recentering. In GNU Emacs 24.0.50.3 (i686-pc-linux-gnu, GTK+ Version 2.18.6) of 2010-05-12 on escher Windowing system distributor `The X.Org Foundation', version 11.0.10605000 configured using `configure '--without-toolkit-scroll-bars'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=local locale-coding-system: utf-8-unix default enable-multibyte-characters: t