bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#15507: 24.3.50; emacsclient -c is broken for cygw32 builds when DISP


From: Stefan Kangas
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

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 via email to

[Prev in Thread] Current Thread [Next in Thread]