all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Poor handling of multiple X displays
@ 2002-07-19 15:47 Tony Finch
  2002-07-19 23:15 ` Richard Stallman
  0 siblings, 1 reply; 2+ messages in thread
From: Tony Finch @ 2002-07-19 15:47 UTC (permalink / raw)
  Cc: dot

[-- 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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Poor handling of multiple X displays
  2002-07-19 15:47 Poor handling of multiple X displays Tony Finch
@ 2002-07-19 23:15 ` Richard Stallman
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Stallman @ 2002-07-19 23:15 UTC (permalink / raw)
  Cc: bug-gnu-emacs, dot

    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")))

This looks like a problem at the Xlib level.  If that is true,
there is nothing we can do.  We need someone to debug the problem.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-07-19 23:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-19 15:47 Poor handling of multiple X displays Tony Finch
2002-07-19 23:15 ` Richard Stallman

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.