GNU bug report logs -
#11138
23.3; on Windows, message-box does not display line breaks in the message
Previous Next
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
View this message in rfc822 format
severity 11138 wishlist
stop
> From: "Drew Adams" <drew.adams <at> oracle.com>
> 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.
The Windows port doesn't really have an implementation of a message
box, it just pops up a menu. And in a menu, each item is one line.
Patches to implement a true message box are welcome.
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.