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: Sun, 16 May 2010 15:07:42 +0200 Message-ID: <87hbm8yoyp.fsf@escher.home> References: <878w7mjtml.fsf@escher.home> <83tyqa2nyn.fsf@gnu.org> <87wrv6i2ft.fsf@escher.home> <837hn5fz7c.fsf@gnu.org> <87wrv5897x.fsf@escher.home> <4BEED16D.2090305@gmx.at> <87ocgh84b6.fsf@escher.home> <4BEEEFB6.7060106@gmx.at> <87d3ww96g2.fsf@escher.home> <4BEFAA20.9000301@gmx.at> <87ljbkyvjm.fsf@escher.home> <4BEFE6A4.2020207@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1274016513 29517 80.91.229.12 (16 May 2010 13:28:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 16 May 2010 13:28:33 +0000 (UTC) Cc: 6192@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 16 15:28:14 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 1ODdt6-0005MZ-3S for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 May 2010 15:28:12 +0200 Original-Received: from localhost ([127.0.0.1]:44043 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ODdt5-0003NT-Iw for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 May 2010 09:28:11 -0400 Original-Received: from [140.186.70.92] (port=34690 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ODdrm-0002jx-W8 for bug-gnu-emacs@gnu.org; Sun, 16 May 2010 09:26:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ODdrh-0002dN-Ii for bug-gnu-emacs@gnu.org; Sun, 16 May 2010 09:26:50 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44338) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ODdrh-0002dH-FH for bug-gnu-emacs@gnu.org; Sun, 16 May 2010 09:26:45 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1ODdZa-0001JY-0H; Sun, 16 May 2010 09:08: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: Sun, 16 May 2010 13: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.12740152745046 (code B ref 6192); Sun, 16 May 2010 13:08:01 +0000 Original-Received: (at 6192) by debbugs.gnu.org; 16 May 2010 13: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 1ODdZR-0001JL-Ot for submit@debbugs.gnu.org; Sun, 16 May 2010 09: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 1ODdZO-0001JF-IO for 6192@debbugs.gnu.org; Sun, 16 May 2010 09:07:51 -0400 Original-Received: (qmail invoked by alias); 16 May 2010 13:07:44 -0000 Original-Received: from i59F5466B.versanet.de (EHLO escher.home) [89.245.70.107] by mail.gmx.net (mp031) with SMTP; 16 May 2010 15:07:44 +0200 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX18nEGtHfwQn0NY991T7ySVVf701iKvWMSK7tgxZ+S brPePjAYTE/0I0 Original-Received: by escher.home (Postfix, from userid 1000) id 2F7E9102D7; Sun, 16 May 2010 15:07:43 +0200 (CEST) In-Reply-To: <4BEFE6A4.2020207@gmx.at> (martin rudalics's message of "Sun, 16 May 2010 14:35:48 +0200") 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: Sun, 16 May 2010 09:08: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:36966 Archived-At: On Sun, 16 May 2010 14:35:48 +0200 martin rudalics wrote: >> It's not that the bug is no longer reliably reproducible; rather, you do >> confirm my observation that the resizing happens iff eldoc-mode is >> enabled in the user init file. > > No, I can't confirm that: At the time I observed the problem for the > first time, I always only tried it by enabling eldoc-mode in a hook. > Currently, I simply can't reproduce it neither by running eldoc-mode in > a hook nor by enabling it manually. I still not sure I understand. When you wrote: > I have tried the trunk with -Q now and can't trigger the resizing any > more, neither with a hook nor when setting it manually. I took you to mean you started with -Q, evalled (add-hook 'emacs-lisp-mode-hook 'turn-on-eldoc-mode), visited an elisp file and then did not observe the echo area resizing (and consequent recentering). When I do that I not see resizing; I only (and always) observe the resizing when (add-hook 'emacs-lisp-mode-hook 'turn-on-eldoc-mode) is in .emacs and Emacs starts with this. Are you now saying you don't (now) see resizing in the latter case? >> So what difference between running a >> hook there and running it later could lead to the bug? > > Good question. Especially because the hook should be the last thing you > run when activating emacs-lisp-mode. Does anything change when you > disable font-locking? No, the Eldoc message is shown with faces and the echo area is resized (because the argument face is bold). Eldoc mode sets the faces via propertize, which evidently is not affected by font-locking. Steve Berman