From: "Jan Djärv" <jan.h.d@swipnet.se>
To: christopher.ian.moore@gmail.com
Cc: emacs-pretest-bug@gnu.org, rms-response-1w@gnu.org, rms@gnu.org
Subject: Re: can't set both mode-line color and default frame font?
Date: Mon, 10 Sep 2007 20:21:40 +0200 [thread overview]
Message-ID: <46E58B34.9070904@swipnet.se> (raw)
In-Reply-To: <E1IUXqP-0007G9-DH@fencepost.gnu.org>
Richard Stallman skrev:
> Would someone please DTRT, then ack?
This is partly due to the known gnome-settings bug/feature.
Do
% xrdb -query|grep mode
and you will find something like:
Emacs.mode-line.attributeBackground: #efebe7
Emacs.mode-line.attributeForeground: #101010
The gnome settings daemon puts those values in there.
Bt why Emacs re-reads those values for the mode-line face when the
default-frame-alist is modifyed, I don't know.
I think it has to with this:
2007-09-07 Johan Bockgård <bojohan@gnu.org>
* cus-face.el (custom-theme-set-faces): Set face attributes
locally for each frame.
Jan D.
>
>
> Date: Sun, 9 Sep 2007 20:34:16 +0200
> From: "Chris Moore" <christopher.ian.moore@gmail.com>
> To: emacs-pretest-bug@gnu.org
> In-Reply-To: <a9691ee20709091114j14206881q26e35e7eef47c8d@mail.gmail.com>
> MIME-Version: 1.0
> Cc:
> Subject: Re: can't set both mode-line color and default frame font?
> Content-Type: multipart/mixed; boundary="===============0892060137=="
>
> --===============0892060137==
> Content-Type: multipart/alternative;
> boundary="----=_Part_8012_22611638.1189362856504"
>
> ------=_Part_8012_22611638.1189362856504
> Content-Type: text/plain; charset=ISO-8859-1
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
>
> On 9/9/07, Chris Moore <dooglus@gmail.com> wrote:
>> My .emacs says:
>>
>> (custom-set-faces '(mode-line ((nil (:background "yellow")))))
>> (custom-set-variables '(default-frame-alist '((font . "10x20"))))
>>
>> but the mode line isn't yellow.
>>
>> If I remove the 2nd line, the mode line is yellow.
>>
>> Setting the font shouldn't stop me setting the mode-line face, should it?
>>
>> This was working fine until a day or two ago, in CVS trunk.
>
>
> I was a little hasty there - I just switched from GNOME to XFCE4 and my
> .emacs is working again. I hardly ever use GNOME, so maybe this hasn't
> changed in the last few days at all.
>
> Evaluating the (custom-set-faces ...) s-expression once inside Emacs does
> set the mode-line to yellow in GNOME. It just doesn't work from .emacs if I
> have the other line in my .emacs as well.
>
> ------=_Part_8012_22611638.1189362856504
> Content-Type: text/html; charset=ISO-8859-1
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
>
> On 9/9/07, <b class="gmail_sendername">Chris Moore</b> <<a href="mailto:dooglus@gmail.com">dooglus@gmail.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> My .emacs says:<br><br>(custom-set-faces '(mode-line ((nil (:background "yellow")))))<br>(custom-set-variables '(default-frame-alist '((font . "10x20"))))<br><br>but the mode line isn't yellow.
> <br><br>If I remove the 2nd line, the mode line is yellow.<br><br>Setting the font shouldn't stop me setting the mode-line face, should it?<br><br>This was working fine until a day or two ago, in CVS trunk.</blockquote>
> <div><br>I was a little hasty there - I just switched from GNOME to XFCE4 and my .emacs is working again. I hardly ever use GNOME, so maybe this hasn't changed in the last few days at all.<br><br>Evaluating the (custom-set-faces ...) s-expression once inside Emacs does set the mode-line to yellow in GNOME. It just doesn't work from .emacs if I have the other line in my .emacs as well.
> <br></div><br></div><br>
>
> ------=_Part_8012_22611638.1189362856504--
>
>
>
> --===============0892060137==
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
>
> _______________________________________________
> Emacs-devel mailing list
> Emacs-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-devel
> --===============0892060137==--
>
>
>
>
>
> _______________________________________________
> Emacs-devel mailing list
> Emacs-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-devel
next prev parent reply other threads:[~2007-09-10 18:21 UTC|newest]
Thread overview: 80+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-06 6:49 23.0.50; face-problems with multy-tty Tassilo Horn
2007-09-06 16:54 ` Dan Nicolaescu
2007-09-06 17:55 ` Tassilo Horn
2007-09-06 21:16 ` Dan Nicolaescu
2007-09-07 0:59 ` Johan Bockgård
2007-09-07 10:46 ` Tassilo Horn
2007-09-07 11:19 ` Johan Bockgård
2007-09-07 13:34 ` Tassilo Horn
2007-09-07 14:26 ` Johan Bockgård
2007-09-07 15:06 ` Tassilo Horn
2007-09-07 15:23 ` Romain Francoise
2007-09-07 15:56 ` Johan Bockgård
2007-09-07 16:50 ` Romain Francoise
2007-09-08 7:01 ` Richard Stallman
2007-09-08 8:06 ` Tassilo Horn
2007-09-07 19:53 ` Richard Stallman
2007-09-07 21:34 ` Johan Bockgård
2007-09-08 19:47 ` Richard Stallman
2007-09-08 20:09 ` Tassilo Horn
2007-09-13 16:05 ` Johan Bockgård
2007-09-09 18:14 ` can't set both mode-line color and default frame font? Chris Moore
2007-09-09 18:34 ` Chris Moore
2007-09-10 1:13 ` Richard Stallman
2007-09-10 18:21 ` Jan Djärv [this message]
2007-09-13 16:23 ` 23.0.50; face-problems with multy-tty Drew Adams
2007-09-14 7:04 ` Richard Stallman
2007-09-30 23:53 ` overriding a face [was: 23.0.50; face-problems with multy-tty] Drew Adams
2007-10-01 17:40 ` Richard Stallman
2007-10-01 18:20 ` Drew Adams
2007-10-02 3:32 ` Richard Stallman
2007-10-02 14:22 ` Drew Adams
2007-10-02 21:59 ` Richard Stallman
2007-09-17 3:59 ` 23.0.50; face-problems with multy-tty Richard Stallman
2007-09-18 13:55 ` Johan Bockgård
2007-09-23 21:55 ` Richard Stallman
2007-09-24 0:00 ` Johan Bockgård
2007-09-24 4:15 ` Eli Zaretskii
2007-09-24 13:06 ` Johan Bockgård
2007-09-24 21:27 ` Eli Zaretskii
2007-09-26 16:35 ` Johan Bockgård
2007-09-25 10:44 ` Richard Stallman
2007-09-26 16:40 ` Johan Bockgård
2007-09-27 17:59 ` Richard Stallman
2007-09-27 22:57 ` Johan Bockgård
2007-09-28 19:04 ` Richard Stallman
2007-09-24 0:22 ` Drew Adams
2007-09-24 4:09 ` Eli Zaretskii
2007-09-24 7:10 ` Glenn Morris
2007-09-25 10:44 ` Richard Stallman
2007-10-09 1:19 ` Glenn Morris
2007-10-10 13:02 ` Richard Stallman
2007-09-24 17:09 ` Davis Herring
2007-09-25 10:44 ` Richard Stallman
2007-09-25 20:27 ` Juri Linkov
[not found] ` <E1IX7lU-0007oJ-Fl@fencepost.gnu.org>
2007-09-17 6:18 ` can't set both mode-line color and default frame font? Jan Djärv
2007-09-17 22:24 ` Richard Stallman
2007-09-18 6:21 ` Jan Djärv
2007-09-18 19:34 ` Richard Stallman
2007-09-18 20:08 ` Drew Adams
2007-09-18 20:43 ` Jason Rumney
2007-09-18 21:18 ` Drew Adams
2007-09-18 21:38 ` Drew Adams
2007-09-18 21:43 ` Davis Herring
2007-09-18 21:58 ` Drew Adams
2007-09-18 22:06 ` Davis Herring
2007-09-18 22:22 ` Drew Adams
2007-09-19 1:37 ` Davis Herring
2007-09-19 3:57 ` Drew Adams
2007-09-19 13:49 ` Stefan Monnier
2007-09-19 14:37 ` Drew Adams
2007-09-19 16:14 ` Davis Herring
2007-09-19 15:48 ` Richard Stallman
2007-09-19 6:16 ` Jan Djärv
2007-09-18 21:54 ` Stefan Monnier
2007-09-18 22:03 ` Drew Adams
2007-09-19 6:12 ` Jan Djärv
2007-09-19 6:08 ` Jan Djärv
2007-09-17 14:00 ` Stefan Monnier
2007-09-17 22:24 ` Richard Stallman
2007-09-07 22:33 ` 23.0.50; face-problems with multy-tty Tassilo Horn
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=46E58B34.9070904@swipnet.se \
--to=jan.h.d@swipnet.se \
--cc=christopher.ian.moore@gmail.com \
--cc=emacs-pretest-bug@gnu.org \
--cc=rms-response-1w@gnu.org \
--cc=rms@gnu.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.