From: Jose Antonio Ortega Ruiz <jaortega@gmail.com>
To: emacs-pretest-bug@gnu.org
Cc: rfrancoise@debian.org
Subject: bug#3194: 23.0.93; Error opening X frame when it's named
Date: Sat, 02 May 2009 21:09:44 +0200 [thread overview]
Message-ID: <E1M0Kam-0004JC-OD@mithrandir.homeunix.net> (raw)
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
next reply other threads:[~2009-05-02 19:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87ws6x76dw.fsf@stupidchicken.com>
2009-05-02 19:09 ` Jose Antonio Ortega Ruiz [this message]
2009-06-27 20:50 ` bug#3194: marked as done (23.0.93; Error opening X frame when it's named) Emacs bug Tracking System
2009-05-03 15:17 bug#3194: 23.0.93; Error opening X frame when it's named Chong Yidong
2009-05-03 16:59 ` Jose Antonio Ortega Ruiz
2009-05-07 0:09 ` Chong Yidong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1M0Kam-0004JC-OD@mithrandir.homeunix.net \
--to=jaortega@gmail.com \
--cc=3194@emacsbugs.donarmstrong.com \
--cc=emacs-pretest-bug@gnu.org \
--cc=rfrancoise@debian.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.