From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#15507: 24.3.50; emacsclient -c is broken for cygw32 builds when DISPLAY set Date: Mon, 30 Sep 2019 16:29:26 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="141692"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 15507@debbugs.gnu.org To: Josh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 30 16:30:29 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iEwh2-000aeT-RN for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Sep 2019 16:30:28 +0200 Original-Received: from localhost ([::1]:53084 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iEwh1-0000X4-4Y for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Sep 2019 10:30:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53590) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iEwge-0000W2-38 for bug-gnu-emacs@gnu.org; Mon, 30 Sep 2019 10:30:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iEwgd-0005pn-1c for bug-gnu-emacs@gnu.org; Mon, 30 Sep 2019 10:30:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51214) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iEwgc-0005pd-Um for bug-gnu-emacs@gnu.org; Mon, 30 Sep 2019 10:30:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iEwgc-0007lQ-On for bug-gnu-emacs@gnu.org; Mon, 30 Sep 2019 10:30:02 -0400 X-Loop: help-debbugs@gnu.org 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 Original-Received: via spool by 15507-submit@debbugs.gnu.org id=B15507.156985378629794 (code B ref 15507); Mon, 30 Sep 2019 14:30:02 +0000 Original-Received: (at 15507) by debbugs.gnu.org; 30 Sep 2019 14:29:46 +0000 Original-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 Original-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 Original-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) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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" Xref: news.gmane.org gmane.emacs.bugs:167890 Archived-At: 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