From: Tony Finch <dot@dotat.at>
Cc: dot@dotat.at
Subject: Poor handling of multiple X displays
Date: Fri, 19 Jul 2002 15:47:52 +0000 [thread overview]
Message-ID: <E17VZyy-000DKi-00@cyan.csi.cam.ac.uk> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2453 bytes --]
In GNU Emacs 21.2.1 (i386--freebsd, X toolkit, Xaw3d scroll bars)
of 2002-07-02 on gohan17.FreeBSD.org
configured using `configure --x-libraries=/usr/X11R6/lib --x-includes=/usr/X11R6/include --prefix=/usr/local i386--freebsd'
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: nil
locale-coding-system: nil
default-enable-multibyte-characters: nil
$ echo $DISPLAY
:0.0
$ ssh -X localhost
Last login: Fri Jul 19 15:35:26 2002 from localhost
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
The Regents of the University of California. All rights reserved.
$ echo $DISPLAY
cyan.csi.cam.ac.uk:10.0
$ xeyes
^C
$ : xeyes works OK
$ gnuclient foo
$ : gnuclient exits immediately, and the Emacs minibuffer says
$ : error in process filter: Connection lost to X server `cyan.csi.cam.ac.uk:10.0'
$ pkg_info | grep gnuserv
gnuserv-emacs21-3.12.4 A standalone release of gnuserv for GNU Emacs
$
The underlying code that goes wrong is
(make-frame '((display . "cyan.csi.cam.ac.uk:10.0")))
which when run with C-x C-e produces
Debugger entered--Lisp error: (error "Connection lost to X server `cyan.csi.cam.ac.uk:10.0'")
x-create-frame(((visibility) (display . "cyan.csi.cam.ac.uk:10.0")))
x-create-frame-with-faces(((display . "cyan.csi.cam.ac.uk:10.0")))
ad-Orig-make-frame(((display . "cyan.csi.cam.ac.uk:10.0")))
(setq ad-return-value (ad-Orig-make-frame parameters))
(if (and device (frame-live-p device)) (progn (if parameters ...) (setq ad-return-value device)) (setq ad-return-value (ad-Orig-make-frame parameters)))
(let (ad-return-value) (if (and device ...) (progn ... ...) (setq ad-return-value ...)) ad-return-value)
make-frame(((display . "cyan.csi.cam.ac.uk:10.0")))
eval((make-frame (quote (...))))
eval-last-sexp-1(nil)
eval-last-sexp(nil)
call-interactively(eval-last-sexp)
recursive-edit()
byte-code("Æ\b!Ç È !\n?
debug(error (void-function display))
(display . "cyan.csi.cam.ac.uk:10.0")
eval((display . "cyan.csi.cam.ac.uk:10.0"))
eval-last-sexp-1(nil)
eval-last-sexp(nil)
call-interactively(eval-last-sexp)
whereas (make-frame '((display . ":0.0"))) works fine.
Tony.
--
f.a.n.finch <dot@dotat.at> http://dotat.at/
FAEROES: SOUTHWESTERLY BECOMING VARIABLE 3 OR 4. SHOWERS. MAINLY GOOD.
next reply other threads:[~2002-07-19 15:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-19 15:47 Tony Finch [this message]
2002-07-19 23:15 ` Poor handling of multiple X displays Richard Stallman
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=E17VZyy-000DKi-00@cyan.csi.cam.ac.uk \
--to=dot@dotat.at \
/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.