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
Message #29 received at 11138 <at> debbugs.gnu.org (full text, mbox):
> > > > 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'm saying is that (in Lisp, at least) it would be possible to create a
menu here that had one non-selectable menu item (line) for each line of the
multiline input (as split by \n), plus a selectable final line for the `OK'
action.
Not sure what you intend by a "real" menu, but it is certainly possible (in Lisp
at least) to create a menu with N non-selectable menu items followed by one
selectable item. Such a menu is as real as any other I've come across.
This bug report was last modified 12 years and 272 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.