From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Luca Capello 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: Mon, 29 Oct 2007 00:44:06 +0100 Message-ID: <87abq2st2x.fsf@gismo.pca.it> References: <87fy0dsb7r.fsf@gismo.pca.it> <200710170210.l9H2A3fW001399@oogie-boogie.ics.uci.edu> <87r6jesvwp.fsf@gismo.pca.it> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7BIT X-Trace: ger.gmane.org 1193615079 3453 80.91.229.12 (28 Oct 2007 23:44:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Oct 2007 23:44:39 +0000 (UTC) Cc: Romain Francoise To: emacs-pretest-bug@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 29 00:44:40 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 1ImHo8-0008Kx-E8 for ged-emacs-devel@m.gmane.org; Mon, 29 Oct 2007 00:44:40 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ImHnz-00044y-Ct for ged-emacs-devel@m.gmane.org; Sun, 28 Oct 2007 19:44:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ImHnw-00044T-2X for emacs-devel@gnu.org; Sun, 28 Oct 2007 19:44:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ImHnt-000437-IU for emacs-devel@gnu.org; Sun, 28 Oct 2007 19:44:27 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ImHnt-000434-BM for emacs-devel@gnu.org; Sun, 28 Oct 2007 19:44:25 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ImHnt-0001TS-5Y for emacs-devel@gnu.org; Sun, 28 Oct 2007 19:44:25 -0400 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 1ImHns-0005z5-R4 for emacs-pretest-bug@gnu.org; Sun, 28 Oct 2007 19:44:24 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1ImHnp-0001Si-IJ for emacs-pretest-bug@gnu.org; Sun, 28 Oct 2007 19:44:24 -0400 Original-Received: from mbox.unige.ch ([129.194.9.209]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ImHnp-0001SZ-8q for emacs-pretest-bug@gnu.org; Sun, 28 Oct 2007 19:44:21 -0400 Original-Received: from gismo.pca.it (116-106.62-81.cust.bluewin.ch [81.62.106.116]) by mbox.unige.ch (Sun Java(tm) System Messaging Server 6.3-1.04 (built May 9 2007; 32bit)) with ESMTPSA id <0JQN004KNB9ORM00@mbox.unige.ch> for emacs-pretest-bug@gnu.org; Mon, 29 Oct 2007 00:44:20 +0100 (CET) Original-Received: by gismo.pca.it (Postfix, from userid 1000) id B02A75A4C8; Mon, 29 Oct 2007 00:44:08 +0100 (CET) In-reply-to: <87r6jesvwp.fsf@gismo.pca.it> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) 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:82000 gmane.emacs.pretest.bugs:20203 Archived-At: Hello again! On Sun, 28 Oct 2007 23:43:02 +0100, Luca Capello wrote: > On Wed, 17 Oct 2007 02:02:21 +0200, Michael Mauger wrote: >> 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' > [...] >> I was running into the same problem on w32. It's due to the >> multi-tty merge. The problem is that DISPLAY is set. I have an X >> server running under w32, but obviously, my w32 Emacs doesn't >> support X, so the error was unexpected. > [...] >> This is something that ought to be fixed. We need better heuristics >> about what type of frame the user wants and can support. > > FWIW, with the latest unofficial Debian emacs-snasshot_1:20071027-1 > that problem is gone. It seems I should have tested a bit more before reporting. Actually, the problem is still there and indeed having an empty DISPLAY solves it. FWIW, because of other tests I was in a sreen session started on a console, thus DISPLAY was empty. However, I found an unrelated bug for -c and -t. First, my setup: I use exclusively `emacs -nw` with different frames for every applications, i.e. "Gnus", "IRC", "W3M" and so on. Every time I edit a file through emacsclient, either with -c or -t, two new frames are opened: one (let's call it foo) shows the buffer associated with the file, the other one (frame bar) the *scratch* buffer. As soon as I finish editing and exit with C-x #, frames foo and bar are closed, as well as one of the other frame already opened on my emacs session :-( Thx, bye, Gismo / Luca