unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* 23.0.50; DISPLAY env var bug on w32?
@ 2008-01-07 18:45 Lennart Borgman (gmail)
  2008-01-07 21:03 ` Dan Nicolaescu
                   ` (2 more replies)
  0 siblings, 3 replies; 25+ messages in thread
From: Lennart Borgman (gmail) @ 2008-01-07 18:45 UTC (permalink / raw)
  To: emacs-pretest-bug, Stefan Monnier

I can not use emacsclient to open files unless I delete the 
environmental variable DISPLAY.

To reproduce the problem do

   emacs -Q
   M-x server-mode

Then from the command line try to open a file, for example

   emacsclient.exe COPYING

This fails with the message

   C:\emacs\u\080104\emacs\bin>emacsclient.exe COPYING
   Waiting for Emacs...
   *ERROR*: Don't know how to create a frame on window system x

I tried to remove "localhost" from the value, but that did not help:

   C:\emacs\u\080104\emacs\bin>set display
   DISPLAY=localhost:0.0

   C:\emacs\u\080104\emacs\bin>set display=:0.0

   C:\emacs\u\080104\emacs\bin>emacsclient.exe COPYING
   Waiting for Emacs...
   *ERROR*: Don't know how to create a frame on window system x

However deleting the environmental variable fixes the problem:

   C:\emacs\u\080104\emacs\bin>set display=

   C:\emacs\u\080104\emacs\bin>emacsclient.exe COPYING
   Waiting for Emacs...

PS: I do not know if DISPLAY is normally set on a w32 system (no other 
pc here to check with). The reason I have it might be due to that I am 
using a KVM switch.


In GNU Emacs 23.0.50.1 (i386-mingw-nt5.1.2600)
  of 2008-01-04 on LENNART-69DE564
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --cflags -Ic:/g/include'

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: ENU
   locale-coding-system: cp1252
   default-enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
   server-mode: t
   tooltip-mode: t
   tool-bar-mode: t
   mouse-wheel-mode: t
   menu-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   blink-cursor-mode: t
   unify-8859-on-encoding-mode: t
   utf-translate-cjk-mode: t
   auto-compression-mode: t
   line-number-mode: t

Recent input:
M-x s e r v e r - m o d e <return> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <menu-bar> <help-menu>
<send-emacs-bug-report>

Recent messages:
Warning: no fonts matching `-*-dejavu sans 
mono-normal-r-normal-*-13-*-*-*-c-*-iso8859-1' available [2 times]
Warning: no fonts matching 
`-*-opensymbol-normal-r-normal-*-12-*-*-*-c-*-iso8859-1' available [2 times]
For information about GNU Emacs and the GNU system, type C-h C-a.
Server mode enabled
When done with a buffer, type C-x #

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

end of thread, other threads:[~2008-01-15 22:11 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-07 18:45 23.0.50; DISPLAY env var bug on w32? Lennart Borgman (gmail)
2008-01-07 21:03 ` Dan Nicolaescu
2008-01-08  0:28   ` Lennart Borgman (gmail)
2008-01-08  2:58     ` David De La Harpe Golden
2008-01-12 15:51     ` Eli Zaretskii
2008-01-12 15:59       ` Lennart Borgman (gmail)
2008-01-12 16:24         ` Eli Zaretskii
2008-01-12 18:06           ` David Kastrup
2008-01-12 18:11             ` Lennart Borgman (gmail)
2008-01-13  4:17               ` Eli Zaretskii
2008-01-13  4:30                 ` Juanma Barranquero
2008-01-13  6:55                   ` Eli Zaretskii
2008-01-13 21:41                     ` Stefan Monnier
2008-01-14  4:07                       ` Eli Zaretskii
2008-01-14 15:04                         ` Stefan Monnier
2008-01-14 15:13                           ` Jason Rumney
2008-01-14 20:33                             ` Eli Zaretskii
2008-01-14 23:19                               ` Jason Rumney
2008-01-15  4:11                                 ` Eli Zaretskii
2008-01-15 22:11                                   ` Jason Rumney
2008-01-13  4:16             ` Eli Zaretskii
2008-01-07 21:13 ` Robert J. Chassell
2008-01-07 21:23   ` Eli Zaretskii
2008-01-07 21:24 ` Eli Zaretskii
2008-01-07 21:32   ` Lennart Borgman (gmail)

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).