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 14:29:31 -0700 Message-ID: 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> <0ECB696350BF4BF189E9B1F3ABF29572@us.oracle.com> <83d37sk1wa.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 1333229405 29378 80.91.229.3 (31 Mar 2012 21:30:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 31 Mar 2012 21:30:05 +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 23:30:04 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 1SE5s2-0000Nr-LH for geb-bug-gnu-emacs@m.gmane.org; Sat, 31 Mar 2012 23:30:02 +0200 Original-Received: from localhost ([::1]:43404 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SE5s2-0003nz-1i for geb-bug-gnu-emacs@m.gmane.org; Sat, 31 Mar 2012 17:30:02 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34723) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SE5ry-0003na-98 for bug-gnu-emacs@gnu.org; Sat, 31 Mar 2012 17:29:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SE5rw-0001Bv-JQ for bug-gnu-emacs@gnu.org; Sat, 31 Mar 2012 17:29:57 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36777) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SE5rw-0001Ba-GB for bug-gnu-emacs@gnu.org; Sat, 31 Mar 2012 17:29:56 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SE5s2-0006xb-78 for bug-gnu-emacs@gnu.org; Sat, 31 Mar 2012 17:30:02 -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 21:30:02 +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.133322939126718 (code B ref 11138); Sat, 31 Mar 2012 21:30:02 +0000 Original-Received: (at 11138) by debbugs.gnu.org; 31 Mar 2012 21:29:51 +0000 Original-Received: from localhost ([127.0.0.1]:33315 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SE5rq-0006ws-Gc for submit@debbugs.gnu.org; Sat, 31 Mar 2012 17:29:50 -0400 Original-Received: from acsinet15.oracle.com ([141.146.126.227]:47214) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SE5ro-0006wk-Mr for 11138@debbugs.gnu.org; Sat, 31 Mar 2012 17:29:49 -0400 Original-Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by acsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q2VLTe2Q000453 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 31 Mar 2012 21:29:41 GMT Original-Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q2VLTdPY013144 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 31 Mar 2012 21:29:40 GMT Original-Received: from abhmt115.oracle.com (abhmt115.oracle.com [141.146.116.67]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q2VLTdvk008038; Sat, 31 Mar 2012 16:29:39 -0500 Original-Received: from dradamslap1 (/10.159.47.251) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 31 Mar 2012 14:29:38 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <83d37sk1wa.fsf@gnu.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Thread-Index: Ac0PdDTLggyELV+gRKmTgZsrsFvymgAASuxA X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090205.4F777745.002B,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:58411 Archived-At: > 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. I would not suggest changing `x-popup-menu'. My suggestion was to have `message-box' call `x-popup-menu' (or other code to create the menu) passing multiple menu lines, all of which, except the last one ("OK"), are non-selectable. The multiple lines come from splitting, at each \n, the result of applying FORMAT-STRING to ARGS. (BTW, I do not have the Emacs 24 C code, but in Emacs 23.3 it looks like `message-box' calls `x-popup-dialog', not `x-popup-menu'. Same idea, anyway.)