GNU bug report logs - #11138
23.3; on Windows, message-box does not display line breaks in the message

Previous Next

Packages: emacs, w32;

Reported by: "Dino Chiesa" <dpchiesa <at> hotmail.com>

Date: Sat, 31 Mar 2012 14:56:02 UTC

Severity: wishlist

Found in version 23.3

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 11138 <at> debbugs.gnu.org (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Dino Chiesa'" <dpchiesa <at> hotmail.com>, <11138 <at> debbugs.gnu.org>
Subject: RE: bug#11138: 23.3;
	on Windows, message-box does not display line breaks in the message
Date: Sat, 31 Mar 2012 08:26:50 -0700
> (message-box (concat "First line in a long-ish message.\n"
>                      "This is line number 2 in the message."))
>
> The message gets displayed in one very wide dialog box. 
> I would expect it to break at the \n.  Line breaks work, apparently,
> on Linux, so I am told. But I have confirmed with others that they
> see this anomalous message-box behavior on Windows . 

Yes, I can confirm that this is broken on MS Windows, and has been so back
through at least Emacs 20.  The newline char is displayed (in emacs -Q, at
least) as an empty box.





This bug report was last modified 12 years and 271 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.