GNU bug report logs -
#6713
initial-frame-alist params applied to all frames
Previous Next
Reported by: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Date: Fri, 23 Jul 2010 13:40:03 UTC
Severity: normal
Found in version 24.0.50
Done: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 6713 in the body.
You can then email your comments to 6713 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#6713
; Package
emacs
.
(Fri, 23 Jul 2010 13:40:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Stefan Monnier <monnier <at> IRO.UMontreal.CA>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Fri, 23 Jul 2010 13:40:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Package: Emacs
Version: 24.0.50
With a .emacs that contains just:
(setq initial-frame-alist '((background-color . "grey75")))
start "emacs" and then hit C-x 5 2. Notice that the second frame also
has a grey75 background.
OTOH my xrdb setting:
Emacs.font: -misc-fixed-medium-r-semicondensed--13-*-*-*-*-*-*-*
seems to only be applied to the initial frame, but not to the second frame.
Stefan
In GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.20.1)
of 2010-07-23 on ceviche
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
configured using `configure 'CFLAGS=-Wall -Wno-pointer-sign -DUSE_LISP_UNION_TYPE -DSYNC_INPUT -DENABLE_CHECKING -DXASSERTS -DFONTSET_DEBUG -g -O1 -I/usr/include/GNUstep' 'LDFLAGS=-L/home/monnier/src/Xaw3d' 'CPPFLAGS=-I/home/monnier/src/Xaw3d' '--enable-maintainer-mode''
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: fr_CH.UTF-8
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default enable-multibyte-characters: t
Major mode: Group
Minor modes in effect:
gnus-undo-mode: t
url-handler-mode: t
global-reveal-mode: t
reveal-mode: t
auto-insert-mode: t
savehist-mode: t
minibuffer-electric-default-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
<return> y <select-window> <select-window> g <select-window>
<up> <down> <up> <return> <select-window> <help-echo>
M-> <up> <up> <up> <right> <down> <down> <down> <down>
<return> k q s <down> <down> <down> <down> <return>
C-g C-u a C-x k <return> M-x r e p o r t - e m <tab>
<return>
Recent messages:
Expiring articles...done
nnimap: Setting marks in inbox...done
nnimap: Setting marks in inbox...done
Saving /home/monnier/var/newsrc.eld...
Saving file /home/monnier/var/newsrc.eld...
Wrote /home/monnier/var/newsrc.eld
Saving /home/monnier/var/newsrc.eld...done
Retrieving newsgroup: nnimap+diro:emacs...
nnimap: Updating info for nnimap+diro:emacs...done
Quit getting the articles to read
Quit
Load-path shadows:
/usr/share/emacs23/site-lisp/bbdb/bbdb-migrate hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-migrate
/usr/share/emacs23/site-lisp/bbdb/bbdb hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb
/usr/share/emacs23/site-lisp/bbdb/bbdb-rmail hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-rmail
/usr/share/emacs23/site-lisp/bbdb/bbdb-gnus hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-gnus
/usr/share/emacs23/site-lisp/bbdb/bbdb-w3 hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-w3
/usr/share/emacs23/site-lisp/bbdb/bbdb-com hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-com
/usr/share/emacs23/site-lisp/bbdb/bbdb-merge hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-merge
/usr/share/emacs23/site-lisp/bbdb/bbdb-ftp hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-ftp
/usr/share/emacs23/site-lisp/bbdb/bbdb-sc hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-sc
/usr/share/emacs23/site-lisp/bbdb/bbdb-vm hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-vm
/usr/share/emacs23/site-lisp/bbdb/bbdb-gui hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-gui
/usr/share/emacs23/site-lisp/bbdb/bbdb-print hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-print
/usr/share/emacs23/site-lisp/bbdb/bbdb-hooks hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-hooks
/usr/share/emacs23/site-lisp/bbdb/bbdb-mhe hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-mhe
/usr/share/emacs23/site-lisp/bbdb/bbdb-whois hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-whois
/usr/share/emacs23/site-lisp/bbdb/bbdb-snarf hides /usr/share/emacs/site-lisp/bbdb/lisp/bbdb-snarf
Features:
(shadow emacsbug executable copyright gnus-cite smiley ansi-color
mail-extr gnus-async gnus-bcklg parse-time timezone qp sort byte-opt
bytecomp byte-compile gnus-ml disp-table utf-7 utf7 netrc tls nnimap
imap nndraft nnmh nnagent nnml gnus-agent gnus-srvr gnus-score
score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 epg-config mm-view
smime password-cache dig mailcap nntp gnus-cache gnus-sum nnoo
gnus-group time-date gnus-undo nnmail mail-source format-spec server
gnus-start gnus-spec gnus-int gnus-range message sendmail rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045
ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus gnus-ems
nnheader mail-utils wid-edit noutline outline easy-mmode flyspell ispell
eldoc checkdoc regexp-opt thingatpt help-mode easymenu view prog-mode
package url-handlers url-parse auth-source gnus-util url-vars mm-util
mail-prsvr reveal autoinsert uniquify advice help-fns advice-preload
savehist minibuf-eldef cl cl-19 cl-loaddefs proof-site proof-autoloads
pg-vars bbdb-autoloads agda2 tooltip ediff-hook vc-hooks lisp-float-type
mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register
page newcomment menu-bar rfn-eshadow timer select scroll-bar mldrag
mouse jit-lock font-lock syntax font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs
button faces cus-face files text-properties overlay md5 base64 format
env code-pages mule custom widget hashtable-print-readable backquote
make-network-process dbusbind dynamic-setting system-font-setting
font-render-setting gtk x-toolkit x multi-tty emacs)
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#6713
; Package
emacs
.
(Fri, 23 Jul 2010 16:08:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 6713 <at> debbugs.gnu.org (full text, mbox):
Stefan Monnier <monnier <at> IRO.UMontreal.CA> writes:
> With a .emacs that contains just:
>
> (setq initial-frame-alist '((background-color . "grey75")))
>
> start "emacs" and then hit C-x 5 2. Notice that the second frame also
> has a grey75 background.
Hmm, I can't reproduce this. For me, the second frame is white. This
is with latest bzr sources, and `xrdb -remove' before running Emacs.
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#6713
; Package
emacs
.
(Mon, 26 Jul 2010 00:24:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 6713 <at> debbugs.gnu.org (full text, mbox):
>> With a .emacs that contains just:
>> (setq initial-frame-alist '((background-color . "grey75")))
>> start "emacs" and then hit C-x 5 2. Notice that the second frame also
>> has a grey75 background.
> Hmm, I can't reproduce this. For me, the second frame is white. This
> is with latest bzr sources, and `xrdb -remove' before running Emacs.
Hmm... I tried again after "xrdb -remove" and a new "bzr update" and
"make bootstrap", but the problem persists for me.
Stefan
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#6713
; Package
emacs
.
(Mon, 25 Oct 2010 20:22:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 6713 <at> debbugs.gnu.org (full text, mbox):
>> With a .emacs that contains just:
>> (setq initial-frame-alist '((background-color . "grey75")))
>> start "emacs" and then hit C-x 5 2. Notice that the second frame also
>> has a grey75 background.
> Hmm, I can't reproduce this. For me, the second frame is white. This
> is with latest bzr sources, and `xrdb -remove' before running Emacs.
I'm still seeing this bug (which appeared back when you changed the
default-frame-alist handling):
% src/emacs -Q --eval '(setq initial-frame-alist (quote ((background-color . "grey75"))))'
C-x 5 2
Gives me 2 frames, both with a grey75 background. If I change grey75 to
something else (like "red"), I get a red background in both frames.
But I recently noticed that the bug was not present on one of my
machine; which happens to be one where I was running a mix of Debian
"stable"&"testing" (because of a problem in the "testing" version of the
X11 driver). I've now upgraded it back to "testing" and the bug is now
present there as well, so it appears to also depend on the version of
some library (probably libX11 since the bug appears both with Gtk and
Lucid toolkits).
Also the bug is not present in the emacs-23 branch, so while the version
of some library might matter, Emacs's own code also matters.
Stefan
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#6713
; Package
emacs
.
(Thu, 13 Jan 2011 04:36:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 6713 <at> debbugs.gnu.org (full text, mbox):
Trying to come back to this bug that's been affecting my Emacs's
background for the last 6 months now ;-)
I just found out that the behavior is affected by the Xft.dpi value:
% echo Xft.dpi: 124 | xrdb
% emacs -Q --eval '(progn (setq initial-frame-alist (quote ((background-color . "grey75")))) (make-frame))'
C-x 5 2
leaves me with 3 frames: the initial frame with grey75 background (yay!), and
2 frames with white background (yay!).
OTOH
% echo Xft.dpi: 123 | xrdb
% emacs -Q --eval '(progn (setq initial-frame-alist (quote ((background-color . "grey75")))) (make-frame))'
C-x 5 2
leaves me with 3 frames: the initial frame with grey75 background (yay!), the
second frame with white background (yay!), but the last frame with
grey75 background (nay!).
Only the value 124 gives me the right answer, on this machine.
xdpyinfo says "96x96 dpi", so I'm not sure from where the 124 comes.
Does this ring a bell to anyone?
Stefan
bug closed, send any further explanations to
6713 <at> debbugs.gnu.org and Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Request was from
Stefan Monnier <monnier <at> IRO.UMontreal.CA>
to
control <at> debbugs.gnu.org
.
(Sat, 14 Feb 2015 04:40:03 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 14 Mar 2015 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 10 years and 151 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.