bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#3194: marked as done (23.0.93; Error opening X frame when it's named


From: Emacs bug Tracking System
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

Your message dated Sat, 27 Jun 2009 16:45:31 -0400
with message-id <address@hidden>
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 address@hidden
immediately.)


-- 
3194: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3194
Emacs Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 23.0.93; Error opening X frame when it's named Date: Sat, 02 May 2009 21:09:44 +0200
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 <switch-frame> 
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 <switch-frame> 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



--- End Message ---
--- Begin Message --- Subject: Re: 23.0.93; Error opening X frame when it's named Date: Sat, 27 Jun 2009 16:45:31 -0400
> 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.

--- End Message ---

reply via email to

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