From unknown Sat Aug 16 21:23:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15507: 24.3.50; emacsclient -c is broken for cygw32 builds when DISPLAY set Resent-From: Josh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 02 Oct 2013 18:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 15507 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 15507@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.138073862611138 (code B ref -1); Wed, 02 Oct 2013 18:31:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 Oct 2013 18:30:26 +0000 Received: from localhost ([127.0.0.1]:50012 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VRRBp-0002tZ-40 for submit@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 ) id 1VRRBm-0002tR-8u for submit@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 ) id 1VRRBg-0003PG-LY for submit@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 ) id 1VRRBg-0003P5-Ia for submit@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 ) id 1VRRBb-0001WP-8i for bug-gnu-emacs@gnu.org; Wed, 02 Oct 2013 14:30:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VRRBW-0003Il-Eu for bug-gnu-emacs@gnu.org; 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 ) id 1VRRBW-0003IU-AF for bug-gnu-emacs@gnu.org; Wed, 02 Oct 2013 14:30:06 -0400 Received: by mail-qa0-f43.google.com with SMTP id k15so4652061qaq.9 for ; 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 Date: Wed, 2 Oct 2013 11:29:35 -0700 X-Google-Sender-Auth: lcW5PHULLZVX5wrCq6w2nTuyHGw Message-ID: 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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 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 ) M-: ( 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 ) ) M-: C-e ) ( C-x C-c M-x r e p o r t - e m a c s - b u g 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
$ echo $DISPLAY
:0
$ ~/bin/emacs -Q -f server-start = &
[1] 10024
$ jobs -l
[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 &
$ ~/bin= /emacsclient --eval '(list (emacs-pid) (length (frame-list)))'
(10024 1)
$ ############## W32 GUI frame was created as expected for a c= ygw32 build
$
$ ~/bin/emacsclient -nc new-file-1
$ ~/bin/emacsclie= nt --eval '(list (emacs-pid) (length (frame-list)))'
(10024 1) $ ############## incorrect behavior:
$ #=A0=A0 new-file-1 replaces *scr= atch* in the existing frame/window
$ ############## expected behavior: <= br>$ #=A0=A0 new-file-1 should appear in a newly-created frame per
$ #= =A0=A0 emacsclient's documentation:
$ emacsclient --help | grep -A1 -- -c
-c, --create-frame=A0=A0=A0=A0=A0 = Create a new frame instead of trying to
=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
$$ ############## 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-W= OW64 myhost 1.7.25(0.270/5/3) 2013-08-31 20:39 i686 Cygwin
$ git remote = -v
origin=A0 git://git= .savannah.gnu.org/emacs.git (fetch)
origin=A0 git://git.savan= nah.gnu.org/emacs.git (push)
$ git log | head -5
commit 8242d7ac1= 1b16015cbc1f6de3780d6df87d2d72e
Author: Tassilo Horn <tsdh@gnu.org>
Date:=A0=A0 Thu Sep 26 21:05:50 2013 +0200
=A0
=A0=A0=A0 * doc-view.e= l (doc-view-reset-zoom-level): New command.

=A0
In GNU Emacs 24.3= .50.1 (i686-pc-cygwin)
of 2013-09-26 on myhost
Windowing system distr= ibutor `Microsoft Corp.', version 6.1.7601
Configured using:
`configure --with-w32 --prefix=3D/home/josh'
= =A0
Important settings:
=A0 value of $LC_CTYPE: en_US.UTF-8
=A0 va= lue of $LANG: en_US.UTF-8
=A0 locale-coding-system: utf-8-unix
=A0 de= fault enable-multibyte-characters: t
=A0
Major mode: Fundamental
=A0
Minor modes in effect:
=A0 tool= tip-mode: t
=A0 mouse-wheel-mode: t
=A0 tool-bar-mode: t
=A0 menu-= bar-mode: t
=A0 file-name-shadow-mode: t
=A0 global-font-lock-mode: t=
=A0 font-lock-mode: t
=A0 blink-cursor-mode: t
=A0 auto-composition-mode: t
=A0 auto-encryp= tion-mode: t
=A0 auto-compression-mode: t
=A0 line-number-mode: t
= =A0 transient-mark-mode: t
=A0
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&g= t; M-: <up> C-e ) ( <backspace> <return>
<down-mous= e-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>
=A0
Recent message= s:
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)
=A0
Load-path shadows:
None fo= und.
=A0
Features:
(shadow sort gnus-util mail-extr emacsbug messa= ge 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-u= til 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-va= rs 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
facemen= u 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 cu= s-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)
=A0
<= /div> --047d7b5d237c1f7ce804e7c6429a-- From unknown Sat Aug 16 21:23:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15507: 24.3.50; emacsclient -c is broken for cygw32 builds when DISPLAY set References: In-Reply-To: Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Sep 2019 14:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15507 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Josh Cc: 15507@debbugs.gnu.org Received: via spool by 15507-submit@debbugs.gnu.org id=B15507.156985378629794 (code B ref 15507); Mon, 30 Sep 2019 14:30:02 +0000 Received: (at 15507) by debbugs.gnu.org; 30 Sep 2019 14:29:46 +0000 Received: from localhost ([127.0.0.1]:60035 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEwgL-0007kT-Gh for submit@debbugs.gnu.org; Mon, 30 Sep 2019 10:29:45 -0400 Received: from mail-pl1-f176.google.com ([209.85.214.176]:42986) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEwgJ-0007kE-TF for 15507@debbugs.gnu.org; Mon, 30 Sep 2019 10:29:44 -0400 Received: by mail-pl1-f176.google.com with SMTP id e5so3979860pls.9 for <15507@debbugs.gnu.org>; Mon, 30 Sep 2019 07:29:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=IOKYcau8q2IpVFIBSC8X5mDLgxm+eBGyvp2PSwyfANY=; b=cmA9BOwPvFE6Yxh9s4E1y9UU41cUlmbFruWGpaZMwPfRBsG9wyghyRgqT20eviOKpp 2CC16EM6weGNgrqVjBDx2l9yp/3QjLaSgmK3EbF9nLFnUTOtNdeK1wHMp+uuGgO0ABXU AjBUJ3f49Zi2+3TqXTjO3J7s+WRncBrUdSyvQh9yuN7VkPh4aAfmREEp29OncDA5zklJ PiufSMENkaKJL4YiDWoGOTpeB2nQYmbdGFHyMt8hEYtA8HbpHYi7MRE7iyZS6j8q+Hxc 1UxR0DBh0PRCV2BXbDlhMlvyC+6U6IIcthbRyoIAaUrAPBgbNk1QtPowETyCc/tPzzPQ fesg== X-Gm-Message-State: APjAAAX8PPn6jzRai3DRNil1qsJrU1NWKT8jvIbE30rH2e5Nk2Bz+hum QyyT6KWlNwixrqoq4IC9C3+AyZIBB9ovsjknau8= X-Google-Smtp-Source: APXvYqyRC0K35tfJBoV4g/1ssB+Mghwh/MoSMnopoc448ol5HzsmGxVyw0A/6YInRxIG3nd6FeX359grHftKY4IeRWk= X-Received: by 2002:a17:902:a515:: with SMTP id s21mr21204542plq.259.1569853777577; Mon, 30 Sep 2019 07:29:37 -0700 (PDT) MIME-Version: 1.0 From: Stefan Kangas Date: Mon, 30 Sep 2019 16:29:26 +0200 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Josh writes: > $ 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 > Date: Thu Sep 26 21:05:50 2013 +0200 > > * doc-view.el (doc-view-reset-zoom-level): New command. That was 6 years ago. Are you still seeing this on a more modern version of Emacs? Best regards, Stefan Kangas From unknown Sat Aug 16 21:23:09 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Josh Subject: bug#15507: closed (Re: bug#15507: 24.3.50; emacsclient -c is broken for cygw32 builds when DISPLAY set) Message-ID: References: <87ftjax8gg.fsf@joffe.skangas.se> X-Gnu-PR-Message: they-closed 15507 X-Gnu-PR-Package: emacs Reply-To: 15507@debbugs.gnu.org Date: Wed, 30 Oct 2019 20:53:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1572468782-3398-1" This is a multi-part message in MIME format... ------------=_1572468782-3398-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #15507: 24.3.50; emacsclient -c is broken for cygw32 builds when DISPLAY set which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 15507@debbugs.gnu.org. --=20 15507: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D15507 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1572468782-3398-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 15507-done) by debbugs.gnu.org; 30 Oct 2019 20:52:34 +0000 Received: from localhost ([127.0.0.1]:51652 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPuxG-0000rx-8h for submit@debbugs.gnu.org; Wed, 30 Oct 2019 16:52:34 -0400 Received: from giraff.fripost.org ([193.234.15.44]:42158 helo=outgoing.fripost.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPuxE-0000rk-Ly for 15507-done@debbugs.gnu.org; Wed, 30 Oct 2019 16:52:33 -0400 Received: from localhost (localhost [127.0.0.1]) by outgoing.fripost.org (Postfix) with ESMTP id D71F9187E7B6; Wed, 30 Oct 2019 21:52:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=x.fripost.org; h= content-type:content-type:mime-version:user-agent:message-id :in-reply-to:date:date:references:subject:subject:from:from; s= 9df9cdc7e101629b5003b587945afa70; t=1572468745; x=1574283146; bh=RGoGjTV4yp3Em+S6or06Sbxx9quS7qX2iHlVO+7Nlyo=; b=tI/cUOq7RqpO lbuVLMFTu9D1bXB2mR7qMyz2xAITSBofKU9k91SFi1Uzm4N28ffPp3pWkgKamaAc lCSpwOLKuclm0nJrsA5roeJDHbzdMaHz/sSZ6isMfp9yg/gYLW260ymwTSnIVZ+S nXZjwBzdu+8mKRcr5D6kdETgMontL9WedETn/nQGYn9aQrIYKqssUUw4w6Zd60UA Mw7pD1kvuEUAdsr/FOPgLn5nZjveKfTtid9XpST91zaQMmAe5CPs7kxUQhWS3F9a 8LkOoVNLxGibXiK4Ib4qQsvTwm7DDL3uQd/tvqRHEi0MYrBkDt7ODYlKm3dETKQu yzfzmIENQg== X-Virus-Scanned: Debian amavisd-new at fripost.org Received: from outgoing.fripost.org ([127.0.0.1]) by localhost (giraff.fripost.org [127.0.0.1]) (amavisd-new, port 10040) with LMTP id CSKwVbhNseZV; Wed, 30 Oct 2019 21:52:25 +0100 (CET) Received: from smtp.fripost.org (unknown [172.16.0.6]) by outgoing.fripost.org (Postfix) with ESMTP id B5538187E7B2; Wed, 30 Oct 2019 21:52:25 +0100 (CET) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by smtp.fripost.org (Postfix) with ESMTPSA id 5A770599ED9D; Wed, 30 Oct 2019 21:52:13 +0100 (CET) Received: from skangas by joffe.skangas.se with local (Exim 4.92) (envelope-from ) id 1iPuwh-0004bm-1j; Wed, 30 Oct 2019 21:51:59 +0100 From: Stefan Kangas To: Josh Subject: Re: bug#15507: 24.3.50; emacsclient -c is broken for cygw32 builds when DISPLAY set References: Date: Wed, 30 Oct 2019 21:51:59 +0100 In-Reply-To: (Stefan Kangas's message of "Mon, 30 Sep 2019 16:29:26 +0200") Message-ID: <87ftjax8gg.fsf@joffe.skangas.se> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.0 (-) X-Debbugs-Envelope-To: 15507-done Cc: 15507-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.0 (--) Stefan Kangas writes: > That was 6 years ago. Are you still seeing this on a more modern > version of Emacs? More information was requested, but none was given within 4 weeks, so I'm closing this bug. If this is still an issue, please reopen the bug report. Best regards, Stefan Kangas ------------=_1572468782-3398-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 2 Oct 2013 18:30:26 +0000 Received: from localhost ([127.0.0.1]:50012 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VRRBp-0002tZ-40 for submit@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 ) id 1VRRBm-0002tR-8u for submit@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 ) id 1VRRBg-0003PG-LY for submit@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 ) id 1VRRBg-0003P5-Ia for submit@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 ) id 1VRRBb-0001WP-8i for bug-gnu-emacs@gnu.org; Wed, 02 Oct 2013 14:30:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VRRBW-0003Il-Eu for bug-gnu-emacs@gnu.org; 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 ) id 1VRRBW-0003IU-AF for bug-gnu-emacs@gnu.org; Wed, 02 Oct 2013 14:30:06 -0400 Received: by mail-qa0-f43.google.com with SMTP id k15so4652061qaq.9 for ; 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 Date: Wed, 2 Oct 2013 11:29:35 -0700 X-Google-Sender-Auth: lcW5PHULLZVX5wrCq6w2nTuyHGw Message-ID: Subject: 24.3.50; emacsclient -c is broken for cygw32 builds when DISPLAY set To: bug-gnu-emacs@gnu.org 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@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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 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 ) M-: ( 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 ) ) M-: C-e ) ( C-x C-c M-x r e p o r t - e m a c s - b u g 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
$ echo $DISPLAY
:0
$ ~/bin/emacs -Q -f server-start = &
[1] 10024
$ jobs -l
[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 &
$ ~/bin= /emacsclient --eval '(list (emacs-pid) (length (frame-list)))'
(10024 1)
$ ############## W32 GUI frame was created as expected for a c= ygw32 build
$
$ ~/bin/emacsclient -nc new-file-1
$ ~/bin/emacsclie= nt --eval '(list (emacs-pid) (length (frame-list)))'
(10024 1) $ ############## incorrect behavior:
$ #=A0=A0 new-file-1 replaces *scr= atch* in the existing frame/window
$ ############## expected behavior: <= br>$ #=A0=A0 new-file-1 should appear in a newly-created frame per
$ #= =A0=A0 emacsclient's documentation:
$ emacsclient --help | grep -A1 -- -c
-c, --create-frame=A0=A0=A0=A0=A0 = Create a new frame instead of trying to
=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
$$ ############## 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-W= OW64 myhost 1.7.25(0.270/5/3) 2013-08-31 20:39 i686 Cygwin
$ git remote = -v
origin=A0 git://git= .savannah.gnu.org/emacs.git (fetch)
origin=A0 git://git.savan= nah.gnu.org/emacs.git (push)
$ git log | head -5
commit 8242d7ac1= 1b16015cbc1f6de3780d6df87d2d72e
Author: Tassilo Horn <tsdh@gnu.org>
Date:=A0=A0 Thu Sep 26 21:05:50 2013 +0200
=A0
=A0=A0=A0 * doc-view.e= l (doc-view-reset-zoom-level): New command.

=A0
In GNU Emacs 24.3= .50.1 (i686-pc-cygwin)
of 2013-09-26 on myhost
Windowing system distr= ibutor `Microsoft Corp.', version 6.1.7601
Configured using:
`configure --with-w32 --prefix=3D/home/josh'
= =A0
Important settings:
=A0 value of $LC_CTYPE: en_US.UTF-8
=A0 va= lue of $LANG: en_US.UTF-8
=A0 locale-coding-system: utf-8-unix
=A0 de= fault enable-multibyte-characters: t
=A0
Major mode: Fundamental
=A0
Minor modes in effect:
=A0 tool= tip-mode: t
=A0 mouse-wheel-mode: t
=A0 tool-bar-mode: t
=A0 menu-= bar-mode: t
=A0 file-name-shadow-mode: t
=A0 global-font-lock-mode: t=
=A0 font-lock-mode: t
=A0 blink-cursor-mode: t
=A0 auto-composition-mode: t
=A0 auto-encryp= tion-mode: t
=A0 auto-compression-mode: t
=A0 line-number-mode: t
= =A0 transient-mark-mode: t
=A0
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&g= t; M-: <up> C-e ) ( <backspace> <return>
<down-mous= e-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>
=A0
Recent message= s:
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)
=A0
Load-path shadows:
None fo= und.
=A0
Features:
(shadow sort gnus-util mail-extr emacsbug messa= ge 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-u= til 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-va= rs 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
facemen= u 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 cu= s-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)
=A0
<= /div> --047d7b5d237c1f7ce804e7c6429a-- ------------=_1572468782-3398-1--