From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#3194: marked as done (23.0.93; Error opening X frame when it's named) Date: Sat, 27 Jun 2009 20:50:06 +0000 Message-ID: References: <87ws6x76dw.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1246135806-22009-0" X-Trace: ger.gmane.org 1246136264 21979 80.91.229.12 (27 Jun 2009 20:57:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 27 Jun 2009 20:57:44 +0000 (UTC) To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 27 22:57:37 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MKexr-0006g7-US for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Jun 2009 22:57:37 +0200 Original-Received: from localhost ([127.0.0.1]:34859 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MKexr-000409-AE for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Jun 2009 16:57:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MKexm-0003yX-Kz for bug-gnu-emacs@gnu.org; Sat, 27 Jun 2009 16:57:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MKexj-0003vJ-4e for bug-gnu-emacs@gnu.org; Sat, 27 Jun 2009 16:57:30 -0400 Original-Received: from [199.232.76.173] (port=40375 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MKexi-0003vE-Kn for bug-gnu-emacs@gnu.org; Sat, 27 Jun 2009 16:57:26 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:59730) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MKexh-0000lo-Uv for bug-gnu-emacs@gnu.org; Sat, 27 Jun 2009 16:57:26 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5RKvNhi023422; Sat, 27 Jun 2009 13:57:24 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n5RKo66r022038; Sat, 27 Jun 2009 13:50:06 -0700 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 3194 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:29036 Archived-At: This is a multi-part message in MIME format... ------------=_1246135806-22009-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Sat, 27 Jun 2009 16:45:31 -0400 with message-id <87ws6x76dw.fsf@stupidchicken.com> and subject line Re: 23.0.93; Error opening X frame when it's named has caused the Emacs bug report #3194, regarding 23.0.93; Error opening X frame when it's named to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 3194: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D3194 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1246135806-22009-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 2 May 2009 19:09:49 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n42J9jwY005106 for ; Sat, 2 May 2009 12:09:46 -0700 Received: from mx10.gnu.org ([199.232.76.166]:51513) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1M0Kam-0007hc-A6 for emacs-pretest-bug@gnu.org; Sat, 02 May 2009 15:09:44 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1M0Kal-0002nm-3i for emacs-pretest-bug@gnu.org; Sat, 02 May 2009 15:09:44 -0400 Received: from mail-ew0-f162.google.com ([209.85.219.162]:33733) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M0Kak-0002nd-Em for emacs-pretest-bug@gnu.org; Sat, 02 May 2009 15:09:42 -0400 Received: by ewy6 with SMTP id 6so3104860ewy.42 for ; Sat, 02 May 2009 12:09:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:to:cc:subject :message-id:from:date; bh=H47MGFq9H8UNXGKLGxRCB0pAJfzFJuS+zecX2lzFwRI=; b=EWJmtxhymplDWU/ZdX3KjQbgEuOQ5aavZIqMxRGGe1bZIn6KPZwdiV3kuLXFEVv47M yHG5zFtW2AHMo9gjFKtwHhJncLNqQPPWS8qYxdyHZfnJwPslW5j1Z3XUTwLjAPaLhLRq k7oLsRLTb/xjF2GrWFLd5PdYS3h1cLxcpxYQA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=to:cc:subject:message-id:from:date; b=YD0/J4OElTbpKWliyOuW28iYC5uZ53uvWOLkjxTSgsYk3xTI0toF1Jl5dIfHHusmbr Nug5BU4DFINaLIm8NgW0BAKgCiLVghGeYqZbhaFszP1/FMEx8UyZyseMdDoYrPVJtih6 IYRAHmzJlm42I5/MoXopcFaONUWOUDCBDZgrI= Received: by 10.210.79.9 with SMTP id c9mr2820407ebb.22.1241291380328; Sat, 02 May 2009 12:09:40 -0700 (PDT) Received: from mithrandir.homeunix.net (212.Red-83-49-102.dynamicIP.rima-tde.net [83.49.102.212]) by mx.google.com with ESMTPS id 5sm8013482eyf.34.2009.05.02.12.09.39 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 02 May 2009 12:09:39 -0700 (PDT) Received: from jao by mithrandir.homeunix.net with local (Exim 4.69) (envelope-from ) id 1M0Kam-0004JC-OD; Sat, 02 May 2009 21:09:44 +0200 To: emacs-pretest-bug@gnu.org CC: rfrancoise@debian.org Subject: 23.0.93; Error opening X frame when it's named Message-Id: From: Jose Antonio Ortega Ruiz Date: Sat, 02 May 2009 21:09:44 +0200 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 1) emacs -nw -Q 2) in *scratch*, evaluating (make-frame-on-display (gentenv "DISPLAY")) or (make-frame-on-display (gentenv "DISPLAY") '((width . 80) (height . 10))) works fine 3) but, when including `name' as one of the frame parameters: (make-frame-on-display (gentenv "DISPLAY") '((name . "foo"))) one gets the following error: Debugger entered--Lisp error: (error "X windows are not in use or not initialized") x-get-resource("geometry" "Geometry") x-handle-named-frame-geometry(((window-system . x) (display . ":0.0") (name . "foo") (width . 80) (height . 10))) x-create-frame-with-faces(((window-system . x) (display . ":0.0") (name . "foo") (width . 80) (height . 10))) make-frame(((window-system . x) (display . ":0.0") (name . "foo") (width . 80) (height . 10))) make-frame-on-display(":0.0" ((name . "foo") (width . 80) (height . 10))) eval((make-frame-on-display (getenv "DISPLAY") (quote (... ... ...)))) eval-last-sexp-1(t) eval-last-sexp(t) eval-print-last-sexp() call-interactively(eval-print-last-sexp nil nil) In GNU Emacs 23.0.93.1 (i486-pc-linux-gnu, GTK+ Version 2.16.1) of 2009-05-01 on elegiac, modified by Debian (emacs-snapshot package, version 1:20090501-1) configured using `configure '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.93/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.93/site-lisp:/usr/share/emacs/site-lisp' '--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS='' 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: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Debugger Minor modes in effect: 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 global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: ( m a k e - f r a m e - o n - d i s p l a y SPC ( g e t e n v SPC " D S DEL I S P L A Y " ) ) C-j C-x 5 0 C-p C-p C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-j C-p C-k TAB ' ( ( w i t h DEL DEL d t h SPC . SPC 8 0 ) SPC ( h e i g h t . DEL SPC . 1 DEL SPC 1 0 ) ) ) C-n C-a C-k C-p C-e DEL ) C-j C-x 5 0 C-l C-p C-k C-k C-k C-k C-k C-p C-e C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b ( n a m e SPC . SPC " f o o " SPC ) SPC C-e C-j C-p C-@ C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n ESC w ESC x r e p o r t - b u TAB RET Recent messages: ("emacs" "-Q") For information about GNU Emacs and the GNU system, type C-h C-a. Entering debugger... Mark set ------------=_1246135806-22009-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 3194-done) by emacsbugs.donarmstrong.com; 27 Jun 2009 20:45:49 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from pantheon-po31.its.yale.edu (pantheon-po31.its.yale.edu [130.132.50.82]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5RKjiTS021432 for <3194-done@emacsbugs.donarmstrong.com>; Sat, 27 Jun 2009 13:45:46 -0700 Received: from furry (c-71-192-161-14.hsd1.nh.comcast.net [71.192.161.14]) (authenticated bits=0) by pantheon-po31.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id n5RKjVNF021941 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 27 Jun 2009 16:45:31 -0400 Received: by furry (Postfix, from userid 1000) id 78D47C09B; Sat, 27 Jun 2009 16:45:31 -0400 (EDT) From: Chong Yidong To: Jose Antonio Ortega Ruiz Cc: rfrancoise@debian.org, 3194-done@emacsbugs.donarmstrong.com Subject: Re: 23.0.93; Error opening X frame when it's named Date: Sat, 27 Jun 2009 16:45:31 -0400 Message-ID: <87ws6x76dw.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) > x-handle-named-frame-geometry really ought to open the X connection. > The reason this does not happen for the first X frame is that we > detect that specially, and open the X connection for initializing the > various graphical settings. > > I don't want to make any changes to the logic at this stage of the > pretest, so I've installed a temporary workaround, which ignores the > error in x-handle-named-frame-geometry. I have now checked a proper fix for this into the CVS trunk (which will eventually lead into Emacs 23.2). Thanks for the bug report. ------------=_1246135806-22009-0--