Start Emacs on the local X display: $ emacs -Q &
Open an ssh-forwarded X connection in another xterm: $ ssh -X localhost $ echo $DISPLAY localhost:10.0 Do this in Emacs: (make-frame-on-display "localhost:10.0") C-x 5 0 on the new frame (x-display-list) => (":0.0" "localhost:10.0") (x-close-connection "localhost:10.0") => nil (x-close-connection "localhost:10.0") ; yes, do it twice and then Emacs crashes with a bus error. In GNU Emacs 22.0.50.4 (powerpc-apple-darwin8.6.0, X toolkit) of 2006-07-02 configured using `configure '--prefix=/usr/local/emacs' '--with-x' '--without-carbon' '--with-x-toolkit=athena'' 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: t Major mode: Lisp Interaction Minor modes in effect: encoded-kbd-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t line-number-mode: t -- http://www.fastmail.fm - Or how I learned to stop worrying and love email again _______________________________________________ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug