bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#11138: 23.3; on Windows, message-box does not display line breaks in


From: Eli Zaretskii
Subject: bug#11138: 23.3; on Windows, message-box does not display line breaks in the message
Date: Sat, 31 Mar 2012 21:06:27 +0300

severity 11138 wishlist
stop

> From: "Drew Adams" <drew.adams@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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]