From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#6192: 24.0.50; eldoc-mode: unexpected recentering Date: Sat, 15 May 2010 19:44:38 +0300 Message-ID: <83y6fldsi1.fsf@gnu.org> References: <878w7mjtml.fsf@escher.home> <83tyqa2nyn.fsf@gnu.org> <87wrv6i2ft.fsf@escher.home> <837hn5fz7c.fsf@gnu.org> <87wrv5897x.fsf@escher.home> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1273942636 4930 80.91.229.12 (15 May 2010 16:57:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 15 May 2010 16:57:16 +0000 (UTC) Cc: 6192@debbugs.gnu.org To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 15 18:57:15 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 1ODKfh-0007FJ-To for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 May 2010 18:57:14 +0200 Original-Received: from localhost ([127.0.0.1]:53940 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ODKfX-0005vt-TN for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 May 2010 12:56:55 -0400 Original-Received: from [140.186.70.92] (port=57177 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ODKfS-0005u8-1e for bug-gnu-emacs@gnu.org; Sat, 15 May 2010 12:56:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ODKfK-0001Lg-Oo for bug-gnu-emacs@gnu.org; Sat, 15 May 2010 12:56:44 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52982) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ODKfK-0001Lc-MX for bug-gnu-emacs@gnu.org; Sat, 15 May 2010 12:56:42 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1ODKVx-0000oc-KY; Sat, 15 May 2010 12:47:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 May 2010 16:47: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.12739419713126 (code B ref 6192); Sat, 15 May 2010 16:47:01 +0000 Original-Received: (at 6192) by debbugs.gnu.org; 15 May 2010 16:46:11 +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 1ODKV8-0000oN-Rm for submit@debbugs.gnu.org; Sat, 15 May 2010 12:46:11 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ODKV6-0000oI-Hb for 6192@debbugs.gnu.org; Sat, 15 May 2010 12:46:09 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0L2G00E00ZTG7M00@a-mtaout20.012.net.il> for 6192@debbugs.gnu.org; Sat, 15 May 2010 19:44:39 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.126.84.217]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L2G009SGZUD1UE0@a-mtaout20.012.net.il>; Sat, 15 May 2010 19:44:39 +0300 (IDT) In-reply-to: <87wrv5897x.fsf@escher.home> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 15 May 2010 12:47: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:36937 Archived-At: > From: Stephen Berman > Cc: 6192@debbugs.gnu.org > Date: Sat, 15 May 2010 17:40:02 +0200 > > > When that happens, do you see any message in *Messages* besides the > > one displayed in the echo area? > > Nothing in *Messages* (not even the Eldoc message -- it is deliberately > suppressed by eldoc-message). Can you hack eldoc to un-suppress that, and then see? > > In general, a single-line message should not resize the echo area. If > > the echo area is resized, then recentering you describe is a normal > > reaction of the display engine. So the question now is why the echo > > area is enlarged to 2 lines. > > I don't know, but I stepped through eldoc.el with Edebug and when it got > to the point where the message is put into the echo area, this is what > it showed: > > Result: #("let: (VARLIST BODY...)" 0 3 (face font-lock-function-name-face) 14 21 (face eldoc-highlight-function-argument)) > > This string made the echo area expand to two lines, but in normal > (non-edebug) execution it of course shows up just as "let: (VARLIST > BODY...)" (with fontification). So if the propertized string is the > source of the expanded echo area No, that cannot be it. The properties should be completely evaluated and converted to appropriate faces, by the time the message is displayed. What gets displayed is just "let: (VARLIST BODY...)", and unless you have some strange fonts installed, I don't see how this can require more than one line of the echo area. > the question becomes why it does not shrink again. Once expanded, Emacs shrinks the echo area lazily (see the value of resize-mini-windows). So this is normal. We should concentrate on why the echo area is expanded.