From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: 23.0.50; DISPLAY env var bug on w32? Date: Mon, 07 Jan 2008 19:45:42 +0100 Message-ID: <47827356.70005@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1199731559 5317 80.91.229.12 (7 Jan 2008 18:45:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Jan 2008 18:45:59 +0000 (UTC) To: emacs-pretest-bug@gnu.org, Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 07 19:46:20 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JBwzK-0000zX-V7 for ged-emacs-devel@m.gmane.org; Mon, 07 Jan 2008 19:46:19 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBwyx-0007sA-Uq for ged-emacs-devel@m.gmane.org; Mon, 07 Jan 2008 13:45:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JBwyu-0007rR-Ht for emacs-devel@gnu.org; Mon, 07 Jan 2008 13:45:52 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JBwyt-0007r1-1x for emacs-devel@gnu.org; Mon, 07 Jan 2008 13:45:52 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBwys-0007qy-Vd for emacs-devel@gnu.org; Mon, 07 Jan 2008 13:45:51 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JBwys-0003N1-Jv for emacs-devel@gnu.org; Mon, 07 Jan 2008 13:45:50 -0500 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JBwys-0003jF-6C for emacs-pretest-bug@gnu.org; Mon, 07 Jan 2008 13:45:50 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JBwyp-0003MB-2Q for emacs-pretest-bug@gnu.org; Mon, 07 Jan 2008 13:45:50 -0500 Original-Received: from ch-smtp01.sth.basefarm.net ([80.76.149.212]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JBwyo-0003Lf-Fz for emacs-pretest-bug@gnu.org; Mon, 07 Jan 2008 13:45:46 -0500 Original-Received: from c83-254-148-228.bredband.comhem.se ([83.254.148.228]:61287 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1JBwym-00087Z-5Z; Mon, 07 Jan 2008 19:45:45 +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 X-Antivirus: avast! (VPS 080107-0, 2008-01-07), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.148.228 X-Scan-Result: No virus found in message 1JBwym-00087Z-5Z. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1JBwym-00087Z-5Z 8e6078a3fada8dcac43d3186e7abadb1 X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:86509 gmane.emacs.pretest.bugs:20537 Archived-At: 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 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 #