From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.50; [emacsclient] *ERROR*: Don't know how to create a frame on window system x Date: Fri, 16 Nov 2007 10:55:58 -0800 Message-ID: References: <87fy0dsb7r.fsf@gismo.pca.it> <87bq9u3wjw.fsf@gismo.pca.it> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1195239581 11911 80.91.229.12 (16 Nov 2007 18:59:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 Nov 2007 18:59:41 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, Stefan Monnier To: Luca Capello Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 16 19:59:47 2007 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 1It6Pk-000147-QF for ged-emacs-devel@m.gmane.org; Fri, 16 Nov 2007 19:59:41 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1It6PX-0004WA-Lz for ged-emacs-devel@m.gmane.org; Fri, 16 Nov 2007 13:59:27 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1It6PT-0004Vb-0M for emacs-devel@gnu.org; Fri, 16 Nov 2007 13:59:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1It6PS-0004VN-6Z for emacs-devel@gnu.org; Fri, 16 Nov 2007 13:59:22 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1It6PS-0004VK-0B for emacs-devel@gnu.org; Fri, 16 Nov 2007 13:59:22 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1It6PQ-00026q-Qu for emacs-devel@gnu.org; Fri, 16 Nov 2007 13:59:21 -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 1It6PQ-0001xl-5c for emacs-pretest-bug@gnu.org; Fri, 16 Nov 2007 13:59:20 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1It6PL-000254-TA for emacs-pretest-bug@gnu.org; Fri, 16 Nov 2007 13:59:19 -0500 Original-Received: from oogie-boogie.ics.uci.edu ([128.195.1.41]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1It6PK-00024H-8z for emacs-pretest-bug@gnu.org; Fri, 16 Nov 2007 13:59:14 -0500 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by oogie-boogie.ics.uci.edu (8.13.6/8.13.6) with ESMTP id lAGItwEY012963; Fri, 16 Nov 2007 10:56:08 -0800 (PST) In-Reply-To: <87bq9u3wjw.fsf@gismo.pca.it> (Luca Capello's message of "Fri, 16 Nov 2007 18:54:59 +0100") Original-Lines: 52 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-0.84, required 5, autolearn=disabled, ALL_TRUSTED -1.44, J_CHICKENPOX_52 0.60) X-ICS-MailScanner-From: dann@ics.uci.edu X-detected-kernel: by monty-python.gnu.org: Solaris 9 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:83367 gmane.emacs.pretest.bugs:20290 Archived-At: Luca Capello writes: > Hi all! > > Please Cc: me, I'm not subscribed to the list. > > On Sun, 14 Oct 2007 22:16:56 +0200, Luca Capello wrote: > > I get the output in the subject whenever I tried to use emacsclient > > with something very simple like (the same trying to editing a file): > > > > $ emacsclient -e 'user-full-name' > > This was the first time I reported this bug. > > On Fri, 16 Nov 2007 17:44:13 +0100, Dan Nicolaescu wrote: > > Luca Capello writes: > >> Anyway, since this is unrelated to the previous bug (which is still > >> present on emacs-snapshot-nox_1:20071111-1), I changed the subject. > > > > I assume you are talking about the "don't know how to created a frame > > on window system x" problem. Can you please describe how you get this, > > starting from "emacs -Q" so that we can reproduce the issue? > > I assumed that the reproducibility of the error was clearly known. To > avoid any other misunderstanding on that, I use StumpWM, uxterm and > emacs-snapshot-nox, which means emacs CVS compiled without X support. I fixed this bug on Oct 17, then Stefan replaced my fix with a different one that does not seem to actually fix the problem... Stefan, can you please take a look? I don't see how your fix can be correct, make-frame-on-display is defined in frame.el, so fboundp will always be t. What am I missing? > So, in a uxterm: > > $ emacs -Q > M-: (server-start) > > Launch another uxterm and try to connect to the emacs server: > > $ emacsclient -e 'user-full-name' > *ERROR*: Don't know how to create a frame on window system x > > As Michael Mauger suggested, unsetting DISPLAY solved it: > > $ DISPLAY= emacsclient -e 'user-full-name' > "Luca Capello" > > Thx, bye, > Gismo / Luca