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 21:48:07 +0200 Message-ID: <87d3wvzkzs.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> <87hbm8yoyp.fsf@escher.home> <4BF03E92.40909@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1274039818 2481 80.91.229.12 (16 May 2010 19:56:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 16 May 2010 19:56:58 +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 21:56:57 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 1ODjxI-0000oS-GH for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 May 2010 21:56:56 +0200 Original-Received: from localhost ([127.0.0.1]:58161 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ODjxI-0003Ti-2D for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 May 2010 15:56:56 -0400 Original-Received: from [140.186.70.92] (port=44291 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ODjxB-0003SD-Vx for bug-gnu-emacs@gnu.org; Sun, 16 May 2010 15:56:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ODjx8-000668-Go for bug-gnu-emacs@gnu.org; Sun, 16 May 2010 15:56:49 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40616) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ODjx8-000661-Da for bug-gnu-emacs@gnu.org; Sun, 16 May 2010 15:56:46 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1ODjpd-0004dT-Sl; Sun, 16 May 2010 15:49: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: Sun, 16 May 2010 19:49: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.127403929917806 (code B ref 6192); Sun, 16 May 2010 19:49:01 +0000 Original-Received: (at 6192) by debbugs.gnu.org; 16 May 2010 19:48:19 +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 1ODjox-0004d9-4E for submit@debbugs.gnu.org; Sun, 16 May 2010 15:48:19 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1ODjou-0004d2-Mh for 6192@debbugs.gnu.org; Sun, 16 May 2010 15:48:17 -0400 Original-Received: (qmail invoked by alias); 16 May 2010 19:48:11 -0000 Original-Received: from i59F5466B.versanet.de (EHLO escher.home) [89.245.70.107] by mail.gmx.net (mp050) with SMTP; 16 May 2010 21:48:11 +0200 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX19F2Zc5VjRFaXFeqYCPIbKau06F5Sfc5XMs1ESvzc b19LZeMSYYS3Gp Original-Received: by escher.home (Postfix, from userid 1000) id C6D5310397; Sun, 16 May 2010 21:48:07 +0200 (CEST) In-Reply-To: <4BF03E92.40909@gmx.at> (martin rudalics's message of "Sun, 16 May 2010 20:50:58 +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 15:49: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:36973 Archived-At: On Sun, 16 May 2010 20:50:58 +0200 martin rudalics wrote: > Anyway. With a trunk built on April 19th of this year I cannot > reproduce any echo area resizing neither (a) with (add-hook ...) in my > .emacs, (b) with (add-hook ...) evaluated in Emacs -Q before opening an > .el file, and (c) with (turn-on-eldoc-mode) evaluated after opening an > .el file. As with Eli here the echo area doesn't resize any more. This is on Windows, right? Since I recollected that you run Emacs on Windows, it surprised me when you reported seeing the resizing, although Eli had reported not seeing it on Windows. So I guess it's good that there is no discrepancy between you after all. As I suggested to Eli, maybe it's a GTK+ issue (but see below). >> 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. > > There's an `add-text-properties' in `eldoc-highlight-function-argument'. > > BTW did you check how customizing `eldoc-echo-area-use-multiline-p' fits > into this? That makes no difference: with each of the three possible values, I get the resizing. However, it occurred to me that the font could make a difference -- and lo and behold, it does: I tried most if not all monospaced fonts on my system (via the set default font menu), and saw the echo area resize only with these (the first being my default font): DejaVu Sans Mono Luxi Mono Nimbus Mono L With all other fonts I tried, there was no resizing even though the argument face was bold. I still have no idea why there's the .emacs/-Q asymmetry. Steve Berman