From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero 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 23:36:01 +0200 Message-ID: References: <6A87BDCA21CE468C8C567E4F12977F82@us.oracle.com> <83iphkk5lo.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1333229825 31963 80.91.229.3 (31 Mar 2012 21:37:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 31 Mar 2012 21:37: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:37:02 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 1SE5yn-0005i9-Jj for geb-bug-gnu-emacs@m.gmane.org; Sat, 31 Mar 2012 23:37:01 +0200 Original-Received: from localhost ([::1]:45292 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SE5ym-0005Oq-Ro for geb-bug-gnu-emacs@m.gmane.org; Sat, 31 Mar 2012 17:37:00 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50498) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SE5yk-0005OA-3g for bug-gnu-emacs@gnu.org; Sat, 31 Mar 2012 17:36:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SE5yi-0002ph-Az for bug-gnu-emacs@gnu.org; Sat, 31 Mar 2012 17:36:57 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36781) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SE5yi-0002pc-4y for bug-gnu-emacs@gnu.org; Sat, 31 Mar 2012 17:36:56 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SE5yo-00077u-50 for bug-gnu-emacs@gnu.org; Sat, 31 Mar 2012 17:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 31 Mar 2012 21:37: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.133322981227377 (code B ref 11138); Sat, 31 Mar 2012 21:37:02 +0000 Original-Received: (at 11138) by debbugs.gnu.org; 31 Mar 2012 21:36:52 +0000 Original-Received: from localhost ([127.0.0.1]:33319 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SE5ye-00077V-Dh for submit@debbugs.gnu.org; Sat, 31 Mar 2012 17:36:52 -0400 Original-Received: from mail-pz0-f42.google.com ([209.85.210.42]:32964) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SE5yb-00077L-FK for 11138@debbugs.gnu.org; Sat, 31 Mar 2012 17:36:50 -0400 Original-Received: by dang27 with SMTP id g27so1145900dan.29 for <11138@debbugs.gnu.org>; Sat, 31 Mar 2012 14:36:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=bKlEF88J7asUfRe6DOtPsJWfb+O5UcdA/vlwnU8bHeU=; b=KaYuawV+CI9ANLE6h5xRUpPhKzqT5T1YqvhHqW1iz+UvYbP0C7OvWCFrXBRhkWg7nl iykN4unfdzj++WvCm8krC45Lv8ztcCGirOEQGO0onBTWGDL6Nzk9/Iyx93IE5RjajrSd hVTyzNEy8PevuWWuJx9KFo6or2ZOh3YJQzlNvmNoZCxDaFFwEMADyweu0a6ZlWpWQfWO /wE5dNZx8ym4sq2n6X1dEnYh5rvPiED1UapWghFN8UUpdMoG+HNRgX592lCWdNZTAvK5 UJVBlCCoqdcua2lTrHU8Znf+EAZ/PvMeM4c6VPKbxOR/qnHuhZlL1peoRMVedWDrBVLg ih/Q== Original-Received: by 10.68.216.35 with SMTP id on3mr8323993pbc.150.1333229802028; Sat, 31 Mar 2012 14:36:42 -0700 (PDT) Original-Received: by 10.142.204.14 with HTTP; Sat, 31 Mar 2012 14:36:01 -0700 (PDT) In-Reply-To: <83iphkk5lo.fsf@gnu.org> 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:58412 Archived-At: On Sat, Mar 31, 2012 at 20:06, Eli Zaretskii wrote: > The Windows port doesn't really have an implementation of a message > box, it just pops up a menu. =C2=A0And in a menu, each item is one line. And some checking for excessive length is missing, BTW: emacs -Q M-: (message-box (make-string (/ most-positive-fixnum 2) ?a) "") Program received signal SIGSEGV, Segmentation fault. 0x754f8dd2 in strcat () from C:\Windows\syswow64\msvcrt.dll (gdb) bt #0 0x754f8dd2 in strcat () from C:\Windows\syswow64\msvcrt.dll #1 0x64c9000c in ?? () #2 0x012b68f4 in fill_in_menu (menu=3D0x37640627, wv=3D0x9f1740) at w32men= u.c:1564 #3 0x012b5673 in w32_menu_show (f=3D0x3a22e00, x=3D340, y=3D304, for_click=3D0, keymaps=3D0, title=3D55546785, error=3D0x88f290) at w32menu.c:867 #4 0x0129e565 in Fx_popup_menu (position=3D59320198, menu=3D59320214) at menu.c:1323 #5 0x012b3782 in Fx_popup_dialog (position=3D54708274, contents=3D59320166, header=3D54708274) at w32menu.c:206 #6 0x011061d6 in Fmessage_box (nargs=3D2, args=3D0x88f3a0) at editfns.c:34= 20 #7 0x01034c46 in eval_sub (form=3D59319710) at eval.c:2322 #8 0x01034572 in Feval (form=3D59319710, lexical=3D54708250) at eval.c:220= 4 #9 0x01036ce9 in Ffuncall (nargs=3D3, args=3D0x88f570) at eval.c:3005 #10 0x010dec96 in exec_byte_code (bytestr=3D20473265, vector=3D20473381, maxdepth=3D20, args_template=3D54708250, nargs=3D0, args=3D0x0) at bytecode.c:785 #11 0x01037b9c in funcall_lambda (fun=3D20473213, nargs=3D2, arg_vector=3D0x342c81a) at eval.c:3233 #12 0x01037082 in Ffuncall (nargs=3D3, args=3D0x88f870) at eval.c:3051 #13 0x01035c57 in Fapply (nargs=3D2, args=3D0x88f904) at eval.c:2507 #14 0x010361a4 in apply1 (fn=3D55149410, arg=3D59320094) at eval.c:2745 #15 0x010e1a41 in Fcall_interactively (function=3D55149410, record_flag=3D54708250, keys=3D54729477) at callint.c:377 #16 0x01036d57 in Ffuncall (nargs=3D4, args=3D0x88fb40) at eval.c:3009 #17 0x01036273 in call3 (fn=3D54828442, arg1=3D55149410, arg2=3D54708250, arg3=3D54708250) at eval.c:2802 #18 0x0101f9f4 in Fcommand_execute (cmd=3D55149410, record_flag=3D54708250, keys=3D54708250, special=3D54708250) at keyboard.c:10330 #19 0x0100658f in command_loop_1 () at keyboard.c:1572 #20 0x01032c4f in internal_condition_case (bfun=3D0x100569b , handlers=3D54766026, hfun=3D0x1004eba ) at eval.c:1515 #21 0x010052f7 in command_loop_2 (ignore=3D54708250) at keyboard.c:1160 #22 0x01032672 in internal_catch (tag=3D54764026, func=3D0x10052d3 , arg=3D54708250) at eval.c:1272 #23 0x010052b3 in command_loop () at keyboard.c:1139 #24 0x0100488f in recursive_edit_1 () at keyboard.c:759 #25 0x01004baa in Frecursive_edit () at keyboard.c:823 #26 0x010028b5 in main (argc=3D2, argv=3D0xbe15f8) at emacs.c:1715 Lisp Backtrace: "message-box" (0x88f3a0) "eval" (0x88f574) "eval-expression" (0x88f874) "call-interactively" (0x88fb44) (gdb) =C2=A0 =C2=A0 Juanma