all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Josh <josh@foxtail.org>
Cc: 15507@debbugs.gnu.org
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	[thread overview]
Message-ID: <CADwFkmkpG3HGChOPh8hxf3QB2sP0hRg6=z0rn13XOcgrfkgTSg@mail.gmail.com> (raw)
In-Reply-To: <CANdFEAFq4J26HQ22=X-xwhxcCT7wuiOj=Rwd0_zXZC_TxnUk=Q@mail.gmail.com>

Josh <josh@foxtail.org> 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 <tsdh@gnu.org>
> 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





  reply	other threads:[~2019-09-30 14:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-02 18:29 bug#15507: 24.3.50; emacsclient -c is broken for cygw32 builds when DISPLAY set Josh
2019-09-30 14:29 ` Stefan Kangas [this message]
2019-10-30 20:51   ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADwFkmkpG3HGChOPh8hxf3QB2sP0hRg6=z0rn13XOcgrfkgTSg@mail.gmail.com' \
    --to=stefan@marxist.se \
    --cc=15507@debbugs.gnu.org \
    --cc=josh@foxtail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.