GNU bug report logs -
#15507
24.3.50; emacsclient -c is broken for cygw32 builds when DISPLAY set
Previous Next
Reported by: Josh <josh <at> foxtail.org>
Date: Wed, 2 Oct 2013 18:31:02 UTC
Severity: normal
Found in version 24.3.50
Done: Stefan Kangas <stefan <at> marxist.se>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 15507 <at> debbugs.gnu.org (full text, mbox):
Josh <josh <at> 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 <at> 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
This bug report was last modified 5 years and 263 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.