emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

23.0.50; DISPLAY env var bug on w32?


From: Lennart Borgman (gmail)
Subject: 23.0.50; DISPLAY env var bug on w32?
Date: Mon, 07 Jan 2008 19:45:42 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

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 #




reply via email to

[Prev in Thread] Current Thread [Next in Thread]