GNU bug report logs - #15507
24.3.50; emacsclient -c is broken for cygw32 builds when DISPLAY set

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Josh <josh@HIDDEN>; dated Wed, 2 Oct 2013 18:31:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 2 Oct 2013 18:30:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 02 14:30:26 2013
Received: from localhost ([127.0.0.1]:50012 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1VRRBp-0002tZ-40
	for submit <at> debbugs.gnu.org; Wed, 02 Oct 2013 14:30:25 -0400
Received: from eggs.gnu.org ([208.118.235.92]:43156)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <jlf@HIDDEN>) id 1VRRBm-0002tR-8u
 for submit <at> debbugs.gnu.org; Wed, 02 Oct 2013 14:30:22 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <jlf@HIDDEN>) id 1VRRBg-0003PG-LY
 for submit <at> debbugs.gnu.org; Wed, 02 Oct 2013 14:30:22 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,HTML_MESSAGE
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:45171)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <jlf@HIDDEN>) id 1VRRBg-0003P5-Ia
 for submit <at> debbugs.gnu.org; Wed, 02 Oct 2013 14:30:16 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:44856)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <jlf@HIDDEN>) id 1VRRBb-0001WP-8i
 for bug-gnu-emacs@HIDDEN; Wed, 02 Oct 2013 14:30:16 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <jlf@HIDDEN>) id 1VRRBW-0003Il-Eu
 for bug-gnu-emacs@HIDDEN; Wed, 02 Oct 2013 14:30:11 -0400
Received: from mail-qa0-f43.google.com ([209.85.216.43]:39778)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <jlf@HIDDEN>) id 1VRRBW-0003IU-AF
 for bug-gnu-emacs@HIDDEN; Wed, 02 Oct 2013 14:30:06 -0400
Received: by mail-qa0-f43.google.com with SMTP id k15so4652061qaq.9
 for <bug-gnu-emacs@HIDDEN>; Wed, 02 Oct 2013 11:30:05 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:sender:from:date:message-id:subject
 :to:content-type;
 bh=2AxJ3Ki6rlcAFyCkGCvM3JhkA8J03g0eiZ7g+51rikU=;
 b=JumTcxDHNJtqJ+YB9HApna8rbpEPrfYoYm/R/NB1TKJreKY/f2TcziwHlIDcRZru99
 C8Fdba5Mzjc2VgBZCLEFfJxwDMov93HMiXNYfL53V7tHCb2y+i/6Gt1yQmDpXqT3FOlR
 Vk5xcF/mOER3HmSRjPgNmZ96hnLPhlghe941KhxPMGk1FOO909q+ZjfcS/et4jERyVfI
 RW8ls07iVkU9iIXirSbCEe+B6WMZ3mGhMiV3nZkxDll1GoWsdZt03OiriAYDFHHz4G2s
 3VOSAUbGSQeE17qA7sGrbXjY1zy5tu7uotHEtiOT64YUDNSH9TkhfY0g3omIY3RnUoBt
 t7Ew==
X-Gm-Message-State: ALoCoQlww09/8YMTfGlEn7V0/hmKt9NvQ41/rRu4SQI1leis+QEFOJXu3D8BHzz9H6smc+CBCabY
X-Received: by 10.49.71.239 with SMTP id y15mr4750989qeu.14.1380738605737;
 Wed, 02 Oct 2013 11:30:05 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.49.38.162 with HTTP; Wed, 2 Oct 2013 11:29:35 -0700 (PDT)
From: Josh <josh@HIDDEN>
Date: Wed, 2 Oct 2013 11:29:35 -0700
X-Google-Sender-Auth: lcW5PHULLZVX5wrCq6w2nTuyHGw
Message-ID: <CANdFEAFq4J26HQ22=X-xwhxcCT7wuiOj=Rwd0_zXZC_TxnUk=Q@HIDDEN>
Subject: 24.3.50; emacsclient -c is broken for cygw32 builds when DISPLAY set
To: bug-gnu-emacs@HIDDEN
Content-Type: multipart/alternative; boundary=047d7b5d237c1f7ce804e7c6429a
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

--047d7b5d237c1f7ce804e7c6429a
Content-Type: text/plain; charset=ISO-8859-1

$ echo $DISPLAY
:0
$ ~/bin/emacs -Q -f server-start &
[1] 10024
$ jobs -l
[1]+ 10024 Running                 ~/bin/emacs -Q -f server-start &
$ ~/bin/emacsclient --eval '(list (emacs-pid) (length (frame-list)))'
(10024 1)
$ ############## W32 GUI frame was created as expected for a cygw32 build
$
$ ~/bin/emacsclient -nc new-file-1
$ ~/bin/emacsclient --eval '(list (emacs-pid) (length (frame-list)))'
(10024 1)
$ ############## incorrect behavior:
$ #   new-file-1 replaces *scratch* in the existing frame/window
$ ############## expected behavior:
$ #   new-file-1 should appear in a newly-created frame per
$ #   emacsclient's documentation:
$ emacsclient --help | grep -A1 -- -c
-c, --create-frame      Create a new frame instead of trying to
                        use the current Emacs frame
$
$ ############## open another new file, this time with DISPLAY unset:
$ env -u DISPLAY ~/bin/emacsclient -nc new-file-2
$ ~/bin/emacsclient --eval '(list (emacs-pid) (length (frame-list)))'
(10024 2)
$ ############## new-file-2 appears in a newly created frame as expected
$
$ ############## version information:
$ uname -a
CYGWIN_NT-6.1-WOW64 myhost 1.7.25(0.270/5/3) 2013-08-31 20:39 i686 Cygwin
$ git remote -v
origin  git://git.savannah.gnu.org/emacs.git (fetch)
origin  git://git.savannah.gnu.org/emacs.git (push)
$ git log | head -5
commit 8242d7ac11b16015cbc1f6de3780d6df87d2d72e
Author: Tassilo Horn <tsdh@HIDDEN>
Date:   Thu Sep 26 21:05:50 2013 +0200

    * doc-view.el (doc-view-reset-zoom-level): New command.


In GNU Emacs 24.3.50.1 (i686-pc-cygwin)
of 2013-09-26 on myhost
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
`configure --with-w32 --prefix=/home/josh'

Important settings:
  value of $LC_CTYPE: en_US.UTF-8
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-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-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-: ( e m a c s - p i d ) <return> M-: <up> ( l i s
t SPC C-e S-SPC ( l e n g t h SPC ( f r a m e - l i
s t ) ) <return> M-: <up> C-e ) ( <backspace> <return>
<down-mouse-1> <mouse-1> C-x C-c <down-mouse-1> <mouse-1>
M-x r e p o r t - e m a c s - b u g <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
10024 (#o23450, #x2728)
(New file) [2 times]
read--expression: End of file during parsing
(10024 2)
(No files need saving)

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils vc-git pp server time-date tooltip
ediff-hook vc-hooks lisp-float-type mwheel w32-common-fns disp-table
w32-win w32-vars tool-bar dnd fontset image regexp-opt fringe
tabulated-list newcomment lisp-mode prog-mode register page menu-bar
rfn-eshadow timer select scroll-bar 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 minibuffer nadvice loaddefs button
faces cus-face macroexp files text-properties overlay sha1 md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process gfilenotify w32 multi-tty emacs)

--047d7b5d237c1f7ce804e7c6429a
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">$ echo $DISPLAY<br>:0<br>$ ~/bin/emacs -Q -f server-start =
&amp;<br>[1] 10024<br>$ jobs -l<br>[1]+ 10024 Running=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0 ~/bin/emacs -Q -f server-start &amp;<br>$ ~/bin=
/emacsclient --eval &#39;(list (emacs-pid) (length (frame-list)))&#39;<br>

(10024 1)<br>$ ############## W32 GUI frame was created as expected for a c=
ygw32 build<br>$<br>$ ~/bin/emacsclient -nc new-file-1<br>$ ~/bin/emacsclie=
nt --eval &#39;(list (emacs-pid) (length (frame-list)))&#39;<br>(10024 1)<b=
r>

$ ############## incorrect behavior: <br>$ #=A0=A0 new-file-1 replaces *scr=
atch* in the existing frame/window<br>$ ############## expected behavior: <=
br>$ #=A0=A0 new-file-1 should appear in a newly-created frame per <br>$ #=
=A0=A0 emacsclient&#39;s documentation:<br>

$ emacsclient --help | grep -A1 -- -c<br>-c, --create-frame=A0=A0=A0=A0=A0 =
Create a new frame instead of trying to<br>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 use the current Emacs frame<br>$<br=
>$ ############## open another new file, this time with DISPLAY unset:<br>

$ env -u DISPLAY ~/bin/emacsclient -nc new-file-2<br>$ ~/bin/emacsclient --=
eval &#39;(list (emacs-pid) (length (frame-list)))&#39;<br>(10024 2)<br>$ #=
############# new-file-2 appears in a newly created frame as expected<br>

$<br>$ ############## version information:<br>$ uname -a<br>CYGWIN_NT-6.1-W=
OW64 myhost 1.7.25(0.270/5/3) 2013-08-31 20:39 i686 Cygwin<br>$ git remote =
-v<br>origin=A0 git://<a href=3D"http://git.savannah.gnu.org/emacs.git">git=
.savannah.gnu.org/emacs.git</a> (fetch)<br>

origin=A0 git://<a href=3D"http://git.savannah.gnu.org/emacs.git">git.savan=
nah.gnu.org/emacs.git</a> (push)<br>$ git log | head -5<br>commit 8242d7ac1=
1b16015cbc1f6de3780d6df87d2d72e<br>Author: Tassilo Horn &lt;<a href=3D"mail=
to:tsdh@HIDDEN">tsdh@HIDDEN</a>&gt;<br>

Date:=A0=A0 Thu Sep 26 21:05:50 2013 +0200<br>=A0<br>=A0=A0=A0 * doc-view.e=
l (doc-view-reset-zoom-level): New command.<br><br>=A0<br>In GNU Emacs 24.3=
.50.1 (i686-pc-cygwin)<br>of 2013-09-26 on myhost<br>Windowing system distr=
ibutor `Microsoft Corp.&#39;, version 6.1.7601<br>

Configured using:<br>`configure --with-w32 --prefix=3D/home/josh&#39;<br>=
=A0<br>Important settings:<br>=A0 value of $LC_CTYPE: en_US.UTF-8<br>=A0 va=
lue of $LANG: en_US.UTF-8<br>=A0 locale-coding-system: utf-8-unix<br>=A0 de=
fault enable-multibyte-characters: t<br>

=A0<br>Major mode: Fundamental<br>=A0<br>Minor modes in effect:<br>=A0 tool=
tip-mode: t<br>=A0 mouse-wheel-mode: t<br>=A0 tool-bar-mode: t<br>=A0 menu-=
bar-mode: t<br>=A0 file-name-shadow-mode: t<br>=A0 global-font-lock-mode: t=
<br>=A0 font-lock-mode: t<br>

=A0 blink-cursor-mode: t<br>=A0 auto-composition-mode: t<br>=A0 auto-encryp=
tion-mode: t<br>=A0 auto-compression-mode: t<br>=A0 line-number-mode: t<br>=
=A0 transient-mark-mode: t<br>=A0<br>Recent input:<br>M-: ( e m a c s - p i=
 d ) &lt;return&gt; M-: &lt;up&gt; ( l i s<br>

t SPC C-e S-SPC ( l e n g t h SPC ( f r a m e - l i<br>s t ) ) &lt;return&g=
t; M-: &lt;up&gt; C-e ) ( &lt;backspace&gt; &lt;return&gt;<br>&lt;down-mous=
e-1&gt; &lt;mouse-1&gt; C-x C-c &lt;down-mouse-1&gt; &lt;mouse-1&gt;<br>

M-x r e p o r t - e m a c s - b u g &lt;return&gt;<br>=A0<br>Recent message=
s:<br>For information about GNU Emacs and the GNU system, type C-h C-a.<br>=
10024 (#o23450, #x2728)<br>(New file) [2 times]<br>read--expression: End of=
 file during parsing<br>

(10024 2)<br>(No files need saving)<br>=A0<br>Load-path shadows:<br>None fo=
und.<br>=A0<br>Features:<br>(shadow sort gnus-util mail-extr emacsbug messa=
ge format-spec rfc822 mml<br>easymenu mml-sec mm-decode mm-bodies mm-encode=
 mail-parse rfc2231<br>

mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums<br>mm-u=
til mail-prsvr mail-utils vc-git pp server time-date tooltip<br>ediff-hook =
vc-hooks lisp-float-type mwheel w32-common-fns disp-table<br>w32-win w32-va=
rs tool-bar dnd fontset image regexp-opt fringe<br>

tabulated-list newcomment lisp-mode prog-mode register page menu-bar<br>rfn=
-eshadow timer select scroll-bar mouse jit-lock font-lock syntax<br>facemen=
u font-core frame cham georgian utf-8-lang misc-lang vietnamese<br>tibetan =
thai tai-viet lao korean japanese hebrew greek romanian slovak<br>

czech european ethiopic indian cyrillic chinese case-table epa-hook<br>jka-=
cmpr-hook help simple abbrev minibuffer nadvice loaddefs button<br>faces cu=
s-face macroexp files text-properties overlay sha1 md5 base64<br>format env=
 code-pages mule custom widget hashtable-print-readable<br>

backquote make-network-process gfilenotify w32 multi-tty emacs)<br>=A0<br><=
/div>

--047d7b5d237c1f7ce804e7c6429a--




Acknowledgement sent to Josh <josh@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#15507; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.