From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Dino Chiesa" 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 07:53:40 -0700 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01CD0F13.62D9F960" X-Trace: dough.gmane.org 1333205769 32708 80.91.229.3 (31 Mar 2012 14:56:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 31 Mar 2012 14:56:09 +0000 (UTC) To: 11138@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 31 16:56:08 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 1SDzip-0006c5-7B for geb-bug-gnu-emacs@m.gmane.org; Sat, 31 Mar 2012 16:56:07 +0200 Original-Received: from localhost ([::1]:35066 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDzio-0000iX-B1 for geb-bug-gnu-emacs@m.gmane.org; Sat, 31 Mar 2012 10:56:06 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53291) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDzij-0000iI-EV for bug-gnu-emacs@gnu.org; Sat, 31 Mar 2012 10:56:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SDzig-0003dS-Ah for bug-gnu-emacs@gnu.org; Sat, 31 Mar 2012 10:56:01 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36369) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDzig-0003dM-6w for bug-gnu-emacs@gnu.org; Sat, 31 Mar 2012 10:55:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SDzik-0005xs-CB for bug-gnu-emacs@gnu.org; Sat, 31 Mar 2012 10:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Dino Chiesa" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 31 Mar 2012 14:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 11138 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Original-Received: via spool by submit@debbugs.gnu.org id=B.133320570822864 (code B ref -1); Sat, 31 Mar 2012 14:56:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 31 Mar 2012 14:55:08 +0000 Original-Received: from localhost ([127.0.0.1]:32907 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SDzhq-0005wh-9h for submit@debbugs.gnu.org; Sat, 31 Mar 2012 10:55:08 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46842) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SDzhl-0005wF-0I for submit@debbugs.gnu.org; Sat, 31 Mar 2012 10:55:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SDzhd-00039m-BL for submit@debbugs.gnu.org; Sat, 31 Mar 2012 10:54:55 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:58934) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDzhd-00039R-7O for submit@debbugs.gnu.org; Sat, 31 Mar 2012 10:54:53 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52965) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDzha-0000V7-Km for bug-gnu-emacs@gnu.org; Sat, 31 Mar 2012 10:54:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SDzhX-00034M-UC for bug-gnu-emacs@gnu.org; Sat, 31 Mar 2012 10:54:50 -0400 Original-Received: from blu0-omc1-s2.blu0.hotmail.com ([65.55.116.13]:54306) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDzhX-000343-Ou for bug-gnu-emacs@gnu.org; Sat, 31 Mar 2012 10:54:47 -0400 Original-Received: from BLU159-DS12 ([65.55.116.8]) by blu0-omc1-s2.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sat, 31 Mar 2012 07:53:19 -0700 X-Originating-IP: [50.46.119.2] X-Originating-Email: [dpchiesa@hotmail.com] X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 15.4.3538.513 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3538.513 X-OriginalArrivalTime: 31 Mar 2012 14:53:19.0550 (UTC) FILETIME=[02FB45E0:01CD0F4E] X-detected-operating-system: by eggs.gnu.org: Windows 2000 SP4, XP SP1+ X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:58385 Archived-At: This is a multi-part message in MIME format. ------=_NextPart_000_0005_01CD0F13.62D9F960 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable When I run this code:=20 (message-box (concat "First line in a long-ish message.\n" "This is line number 2 in the message.")) The message gets displayed in one very wide dialog box.=20 I would expect it to break at the \n. Line breaks work, apparently, on Linux, so I am told. But I have confirmed with others that they see this anomalous message-box behavior on Windows .=20 In GNU Emacs 23.3.1 (i386-mingw-nt6.1.7601) of 2011-03-10 on 3249CTO Windowing system distributor `Microsoft Corp.', version 6.1.7601 configured using `configure --with-gcc (4.5) --no-opt --cflags = -Ic:/imagesupport/include' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU value of $XMODIFIERS: nil locale-coding-system: cp1252 default enable-multibyte-characters: t Major mode: Dired by ext Minor modes in effect: show-paren-mode: t recentf-mode: t shell-dirtrack-mode: t yas/global-mode: t yas/minor-mode: t global-hl-line-mode: t hl-line-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: u i - l i g h t n e s s d =20 SPC C-w C-y=20 C-y b s t a r t d C-b C-b C-b C-b=20 C-b C-b SPC b C-b C-w C-y C-t C-x=20 u SPC C-b C-w C-y C-y b=20 h u m a n i t y d C-n C-n C-n C-n C-x C-s=20 =20 =20 =20 1 =20 $ 0 C-x C-s =20 C-e =20 u i . b =20 - C-x C-s C-x C-f g s C-p C-p=20 C-p C-n C-n C-n u C-p C-p f C-e=20 =20 C-e C-e C-e =20 C-x C-s =20 C-d C-e =20 C-x C-s C-x C-f=20 C-p C-p C-p C-p C-p C-p f C-n=20 C-n C-n C-n C-e C-b C-b C-d C-n C-x C-s C-x k =20 C-n f C-n C-n C-e C-n C-n C-p C-p C-p C-n C-n C-n C-n=20 C-n C-x k C-n C-n C-n C-n C-n C-n C-n C-p=20 C-p C-x b t h e C-g C-x C-f =20 t h e s =20 e l SPC > C-w C-y=20 C-x k y e s =20 x r e=20 p o r t - e m Recent messages: Directory has changed on disk; type g to update Dired Saving file c:/Users/Dino/elisp/snippets/html-mode/script-jquery-ui... Wrote c:/Users/Dino/elisp/snippets/html-mode/script-jquery-ui Saving file c:/Users/Dino/elisp/snippets/html-mode/script-jquery-ui... Wrote c:/Users/Dino/elisp/snippets/html-mode/script-jquery-ui Saving file c:/Users/Dino/elisp/snippets/html-mode/link... Wrote c:/Users/Dino/elisp/snippets/html-mode/link Quit Mark set [2 times] Auto-saving... Load-path shadows: /users/dino/elisp/refill hides c:/emacs/lisp/textmodes/refill Features: (shadow sort mail-extr message ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailabbrev nnheader gnus-util netrc gmm-utils mailheader canlock sha1 hex-util hashcash emacsbug sgml-mode holidays hol-loaddefs cal-menu calendar cal-loaddefs ebnf2ps ps-print ps-def lpr epg-config ansi-color goto-addr nxml-uchnm rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok vbs-mode browse-url mail-utils info find-func dabbrev smart-op flymake-for-jslint-for-wsh autopair js json etags imenu dired-aux tabify compare-w rfringe paren csharp-mode cc-langs cc-mode cc-fonts cc-menus cc-cmds align mule-util pp grep time-stamp multi-isearch conf-mode newcomment cl-specs edebug url-cache format-spec url-http tls mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums time-date url-gw url-auth url url-proxy url-privacy url-expand url-methods url-history url-cookie url-util url-parse url-vars mm-util mail-prsvr mailcap autorevert server thesaurus recentf tree-widget flyphpcs flymake-cursor byte-opt warnings bytecomp byte-compile flymake compile synonyms-autoloads package cperl-mode jsshell-bundle jsshell shell comint ring hideshow cc-styles cc-align cc-engine cc-vars cc-defs dired regexp-opt defaultcontent thingatpt yasnippet dropdown-list derived easy-mmode help-mode view assoc cl cl-19 tfs skeleton edmacro kmacro httpget hl-line advice help-fns advice-preload cus-edit easymenu cus-start cus-load wid-edit tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs) ------=_NextPart_000_0005_01CD0F13.62D9F960 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
 
When I run this code:
 
  (message-box (concat "First line in a long-ish = message.\n"
           &n= bsp;        =20 "This is line number 2 in the message."))
 
The message gets displayed in one very wide dialog box.
I would expect it to break at the \n.  Line breaks work,=20 apparently,
on Linux, so I am told. But I have confirmed with others that = they
see this anomalous message-box behavior on Windows .
 
 
 
 
In GNU Emacs 23.3.1 (i386-mingw-nt6.1.7601)
of 2011-03-10 on 3249CTO
Windowing system distributor `Microsoft Corp.', version = 6.1.7601
configured using `configure --with-gcc (4.5) --no-opt --cflags=20 -Ic:/imagesupport/include'
 
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENU
  value of $XMODIFIERS: nil
  locale-coding-system: cp1252
  default enable-multibyte-characters: t
 
Major mode: Dired by ext
 
Minor modes in effect:
  show-paren-mode: t
  recentf-mode: t
  shell-dirtrack-mode: t
  yas/global-mode: t
  yas/minor-mode: t
  global-hl-line-mode: t
  hl-line-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t
 
Recent input:
<C-left> u i - l i g h t n e s s <escape> d = <C-left>=20
<C-left> <left> <escape> SPC <C-left> = <left>=20 C-w C-y
C-y <escape> b s t a r t <escape> d C-b C-b C-b C-b =
C-b C-b <escape> SPC <escape> b C-b C-w C-y C-t C-x =
u <escape> SPC <escape> C-b C-w C-y C-y <escape> = b
h u m a n i t y <escape> d C-n C-n C-n C-n C-x C-s
<up> <up> <up> <up> <C-right> = <C-right>=20 <down> <C-right>
<C-right> <C-right> <C-right> <C-right>=20 <C-right> <C-right>
<C-right> <C-right> <C-right> <C-right>=20 <C-right> <C-right>
<C-right> <C-left> <left> <backspace> 1=20 <down> <down>
<down> $ 0 C-x C-s <help-echo> <up> <up> = <up>=20 <up>
<up> <up> <up> <up> <up> <up> = C-e=20 <down> <C-right>
<C-right> <C-right> <right> u i . <escape> = b=20 <backspace>
- C-x C-s C-x C-f <backspace> <return> g s C-p C-p =
C-p C-n C-n C-n u C-p C-p <help-echo> <down> f C-e =
<down> <down> <down> <down> <down>=20 <down> <down> <up>
C-e <down> C-e <up> C-e <left> <C-left>=20 <C-left> <C-left>
<left> <backspace> <backspace> <down> C-x = C-s=20 <left>
<down> C-d <up> <up> <up> <up> = <up> C-e=20 <left> <left>
<down> <down> <down> <down> <down> = C-x C-s=20 C-x C-f
<backspace> <return> C-p C-p C-p C-p C-p C-p f C-n =
C-n C-n C-n C-e C-b C-b C-d C-n C-x C-s C-x k <return>
C-n f C-n C-n C-e C-n C-n C-p C-p C-p C-n C-n C-n C-n
C-n C-x k <return> C-n C-n C-n C-n C-n C-n C-n C-p
C-p C-x b t h e <tab> C-g C-x C-f <escape> = <backspace>=20
<escape> <backspace> <escape> <backspace> t = h e s=20 <tab>
e l <tab> <return> <escape> SPC <escape> = > C-w=20 C-y
C-x k <return> y e s <return> <help-echo>=20 <help-echo>
<help-echo> <help-echo> <help-echo> = <escape> x r e=20
p o r t - e m <tab> <return>
 
Recent messages:
Directory has changed on disk; type g to update Dired
Saving file=20 c:/Users/Dino/elisp/snippets/html-mode/script-jquery-ui...
Wrote c:/Users/Dino/elisp/snippets/html-mode/script-jquery-ui
Saving file=20 c:/Users/Dino/elisp/snippets/html-mode/script-jquery-ui...
Wrote c:/Users/Dino/elisp/snippets/html-mode/script-jquery-ui
Saving file c:/Users/Dino/elisp/snippets/html-mode/link...
Wrote c:/Users/Dino/elisp/snippets/html-mode/link
Quit
Mark set [2 times]
Auto-saving...
 
Load-path shadows:
/users/dino/elisp/refill hides c:/emacs/lisp/textmodes/refill
 
Features:
(shadow sort mail-extr message ecomplete rfc822 mml mml-sec
password-cache mm-decode mm-bodies mm-encode mailabbrev = nnheader
gnus-util netrc gmm-utils mailheader canlock sha1 hex-util = hashcash
emacsbug sgml-mode holidays hol-loaddefs cal-menu calendar=20 cal-loaddefs
ebnf2ps ps-print ps-def lpr epg-config ansi-color goto-addr=20 nxml-uchnm
rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc = rng-uri
rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn = nxml-ns
nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc = xmltok
vbs-mode browse-url mail-utils info find-func dabbrev = smart-op
flymake-for-jslint-for-wsh autopair js json etags imenu dired-aux=20 tabify
compare-w rfringe paren csharp-mode cc-langs cc-mode cc-fonts=20 cc-menus
cc-cmds align mule-util pp grep time-stamp multi-isearch = conf-mode
newcomment cl-specs edebug url-cache format-spec url-http tls=20 mail-parse
rfc2231 rfc2047 rfc2045 qp ietf-drums time-date url-gw url-auth = url
url-proxy url-privacy url-expand url-methods url-history = url-cookie
url-util url-parse url-vars mm-util mail-prsvr mailcap autorevert=20 server
thesaurus recentf tree-widget flyphpcs flymake-cursor byte-opt=20 warnings
bytecomp byte-compile flymake compile synonyms-autoloads = package
cperl-mode jsshell-bundle jsshell shell comint ring hideshow=20 cc-styles
cc-align cc-engine cc-vars cc-defs dired regexp-opt = defaultcontent
thingatpt yasnippet dropdown-list derived easy-mmode help-mode = view
assoc cl cl-19 tfs skeleton edmacro kmacro httpget hl-line = advice
help-fns advice-preload cus-edit easymenu cus-start cus-load = wid-edit
tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 = disp-table
ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe = lisp-mode
register page menu-bar rfn-eshadow timer select scroll-bar mldrag=20 mouse
jit-lock font-lock syntax facemenu font-core frame cham = georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao = korean
japanese hebrew greek romanian slovak czech european ethiopic = indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple = abbrev
loaddefs button minibuffer faces cus-face files text-properties=20 overlay
md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process multi-tty=20 emacs)
------=_NextPart_000_0005_01CD0F13.62D9F960--