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 22:26:29 +0300

> From: "Drew Adams" <drew.adams@oracle.com>
> Cc: <dpchiesa@hotmail.com>, <11138@debbugs.gnu.org>
> Date: Sat, 31 Mar 2012 12:19:03 -0700
> 
> > > > > wouldn't it be possible to just use multiple menu lines...
> > > > 
> > > > Not if we reuse the normal menu-creation code...
> > > 
> > > It certainly would be possible (trivial) in Lisp: just 
> > > split the string at each \n and create a separate
> > > (non-selectable) menu item for each.
> > 
> > But the same code is used for a real menu, where we don't want to
> > create two separate menu items for a line with embedded newline.
> 
> Sorry, I don't follow you - don't know what you mean.

What I mean is that message-box on Windows eventually calls
x-popup-menu.  So whatever you do for multi-line messages inside
x-popup-menu will also affect x-popup-menu calls that want to display
menus as well.





reply via email to

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