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#14520: 24.3; minibuffer resizes when message contains bold or italic text Date: Fri, 31 May 2013 20:47:19 +0300 Message-ID: <83a9nb2g9k.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1370022515 11194 80.91.229.3 (31 May 2013 17:48:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 May 2013 17:48:35 +0000 (UTC) Cc: 14520@debbugs.gnu.org To: Klaus-Dieter Bauer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 31 19:48:35 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UiTRK-0000TW-RS for geb-bug-gnu-emacs@m.gmane.org; Fri, 31 May 2013 19:48:34 +0200 Original-Received: from localhost ([::1]:52739 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UiTRK-0003Wi-FH for geb-bug-gnu-emacs@m.gmane.org; Fri, 31 May 2013 13:48:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56710) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UiTRG-0003WQ-4a for bug-gnu-emacs@gnu.org; Fri, 31 May 2013 13:48:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UiTRC-0006c5-MD for bug-gnu-emacs@gnu.org; Fri, 31 May 2013 13:48:30 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56553) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UiTRC-0006c1-Ij for bug-gnu-emacs@gnu.org; Fri, 31 May 2013 13:48:26 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UiTSk-0001LC-G4 for bug-gnu-emacs@gnu.org; Fri, 31 May 2013 13:50:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 31 May 2013 17:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14520 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14520-submit@debbugs.gnu.org id=B14520.13700225575051 (code B ref 14520); Fri, 31 May 2013 17:50:02 +0000 Original-Received: (at 14520) by debbugs.gnu.org; 31 May 2013 17:49:17 +0000 Original-Received: from localhost ([127.0.0.1]:44910 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UiTS0-0001JP-VR for submit@debbugs.gnu.org; Fri, 31 May 2013 13:49:17 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:60524) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UiTRy-0001Ix-9O for 14520@debbugs.gnu.org; Fri, 31 May 2013 13:49:15 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MNO00M00BVGUN00@a-mtaout23.012.net.il> for 14520@debbugs.gnu.org; Fri, 31 May 2013 20:47:31 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MNO00M0SC36PK80@a-mtaout23.012.net.il>; Fri, 31 May 2013 20:47:31 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:74711 Archived-At: > From: Klaus-Dieter Bauer > Date: Fri, 31 May 2013 16:28:53 +0200 > > When a message contains bold or italic text, the minibuffer is resized > incorrectly. Why do you think it is incorrect? > (defun x () (interactive) > (let ((message "Hello World")) > (put-text-property 0 5 'face 'bold message) > (message message))) > > (defun y () (interactive) > (let ((message "Hello World")) > (put-text-property 0 5 'face '(:foreground "blue") message) > (message message))) > > On "M-x x" the minibuffer will look as if the message contained a > trailing newline. On "M-x y" the minibuffer will display correctly. > > eldoc's tips become distracting as this causes random flickering of the > minibuffer while moving the cursor through code. > > The problem is reproducible at least in all emacs-24.x-bin-i386.zip > releases on http://ftp.gnu.org/gnu/emacs/windows/ It doesn't happen to me with 24.3, but that's on XP, while you are on Windows 7. So I'm quite sure it's a font and/or shaping engine thing. Somehow, on your system the font tells Emacs that its height is more than you think it should be. Emacs has no alternative but to comply.