From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#11138: 23.3; on Windows, message-box does not display line breaks in the message Date: Sat, 31 Mar 2012 12:19:03 -0700 Message-ID: <0ECB696350BF4BF189E9B1F3ABF29572@us.oracle.com> References: <6A87BDCA21CE468C8C567E4F12977F82@us.oracle.com> <83iphkk5lo.fsf@gnu.org> <83873E73DBA14DD7BDECD4321308762F@us.oracle.com> <83fwcok4hw.fsf@gnu.org> <26FCD6C6B7684C2A932920E1949B2026@us.oracle.com> <83ehs8k364.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1333221606 10121 80.91.229.3 (31 Mar 2012 19:20:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 31 Mar 2012 19:20:06 +0000 (UTC) Cc: 11138@debbugs.gnu.org, dpchiesa@hotmail.com To: "'Eli Zaretskii'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 31 21:20:05 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SE3qE-0005mI-3D for geb-bug-gnu-emacs@m.gmane.org; Sat, 31 Mar 2012 21:20:02 +0200 Original-Received: from localhost ([::1]:54636 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SE3qD-0002Lx-8H for geb-bug-gnu-emacs@m.gmane.org; Sat, 31 Mar 2012 15:20:01 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38628) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SE3qA-0002Lq-1Q for bug-gnu-emacs@gnu.org; Sat, 31 Mar 2012 15:19:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SE3q8-0004hC-7W for bug-gnu-emacs@gnu.org; Sat, 31 Mar 2012 15:19:57 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36690) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SE3q8-0004gt-4J for bug-gnu-emacs@gnu.org; Sat, 31 Mar 2012 15:19:56 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SE3qD-0003pW-IR for bug-gnu-emacs@gnu.org; Sat, 31 Mar 2012 15:20:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 31 Mar 2012 19:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11138 X-GNU-PR-Package: emacs,w32 X-GNU-PR-Keywords: Original-Received: via spool by 11138-submit@debbugs.gnu.org id=B11138.133322156214651 (code B ref 11138); Sat, 31 Mar 2012 19:20:01 +0000 Original-Received: (at 11138) by debbugs.gnu.org; 31 Mar 2012 19:19:22 +0000 Original-Received: from localhost ([127.0.0.1]:33225 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SE3pZ-0003oG-QW for submit@debbugs.gnu.org; Sat, 31 Mar 2012 15:19:22 -0400 Original-Received: from rcsinet15.oracle.com ([148.87.113.117]:39587) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SE3pY-0003o9-Ag for 11138@debbugs.gnu.org; Sat, 31 Mar 2012 15:19:21 -0400 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by rcsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q2VJJCMY016910 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 31 Mar 2012 19:19:12 GMT Original-Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q2VJJBau022470 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 31 Mar 2012 19:19:11 GMT Original-Received: from abhmt119.oracle.com (abhmt119.oracle.com [141.146.116.71]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q2VJJAo5005186; Sat, 31 Mar 2012 14:19:10 -0500 Original-Received: from dradamslap1 (/10.159.47.251) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 31 Mar 2012 12:19:10 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <83ehs8k364.fsf@gnu.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Thread-Index: Ac0PcHzoXnIseovBSHmU+VV3w0rIjQAAW0tQ X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-CT-RefId: str=0001.0A090202.4F7758B1.0025,ss=1,re=0.000,fgs=0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:58403 Archived-At: > > > > 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.