all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* mode-line foreground
@ 2011-03-25 13:47 Bogolisk
  0 siblings, 0 replies; 8+ messages in thread
From: Bogolisk @ 2011-03-25 13:47 UTC (permalink / raw)
  To: help-gnu-emacs

Hi

my mode-line's #foreground is customized to "white"
my frame-background-mode is customized to 'dark

However, whenever I open a new frame, the mode-line's foreground is always
set to #101010. I have absolutely no idea where that (#101010) came from?
All (most?) of the other faces respect the customization except for
"mode-line" and I can't understand why!!!!

Thank you




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: mode-line foreground
       [not found] <mailman.5.1301061635.20012.help-gnu-emacs@gnu.org>
@ 2011-03-25 23:12 ` Tim X
  2011-03-26  9:43   ` Bogolisk
       [not found]   ` <mailman.1.1301132609.7327.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 8+ messages in thread
From: Tim X @ 2011-03-25 23:12 UTC (permalink / raw)
  To: help-gnu-emacs

Bogolisk <bogolisk@gmail.com> writes:

> Hi
>
> my mode-line's #foreground is customized to "white"
> my frame-background-mode is customized to 'dark
>
> However, whenever I open a new frame, the mode-line's foreground is always
> set to #101010. I have absolutely no idea where that (#101010) came from?
> All (most?) of the other faces respect the customization except for
> "mode-line" and I can't understand why!!!!
>
> Thank you
>
>

You have not provided enough specific details to help much.

What version of Emacs? This is important as there have been a few
changes in mode-line faces since emacs 21.

How are you customizing the face i.e. in your .emacs or by using
customize?

If you run M-x list-faces-display and click on the sample text for the
mode-line face, what does it show? If you click on the face name and
customize it, does that help?

What environment are you running udner i.e. X, xterm, console, windows,
Mac, etc. It is possible to get some unexpected colour mappings
depending on the environment, range of colours available etc. 

Tim


-- 
tcross (at) rapttech dot com dot au


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: mode-line foreground
  2011-03-25 23:12 ` mode-line foreground Tim X
@ 2011-03-26  9:43   ` Bogolisk
  2011-03-26 11:12     ` Filippo A. Salustri
       [not found]   ` <mailman.1.1301132609.7327.help-gnu-emacs@gnu.org>
  1 sibling, 1 reply; 8+ messages in thread
From: Bogolisk @ 2011-03-26  9:43 UTC (permalink / raw)
  To: help-gnu-emacs

Tim X <timx <at> nospam.dev.null> writes:


> What version of Emacs? This is important as there have been a few
> changes in mode-line faces since emacs 21.

23.2

> 
> How are you customizing the face i.e. in your .emacs or by using
> customize?

Yes, customize-face

> 
> If you run M-x list-faces-display and click on the sample text for the
> mode-line face, what does it show? If you click on the face name and
> customize it, does that help?

describe-face in the original frame show the customized colour. But describe-
face in any new frame show mode-line's :foreground as #101010.

> 
> What environment are you running udner i.e. X, xterm, console, windows,

gnome+X. sled 10 or 11, I don't remember because I'm at home right now.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: mode-line foreground
  2011-03-26  9:43   ` Bogolisk
@ 2011-03-26 11:12     ` Filippo A. Salustri
  0 siblings, 0 replies; 8+ messages in thread
From: Filippo A. Salustri @ 2011-03-26 11:12 UTC (permalink / raw)
  To: Bogolisk; +Cc: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 1276 bytes --]

Maybe it relates to the difference between initial-frame-alist and
default-frame-alist?
(http://www.gnu.org/s/emacs/manual/html_node/elisp/Initial-Parameters.html)
Cheers.
Fil

On 26 March 2011 05:43, Bogolisk <bogolisk@gmail.com> wrote:

> Tim X <timx <at> nospam.dev.null> writes:
>
>
> > What version of Emacs? This is important as there have been a few
> > changes in mode-line faces since emacs 21.
>
> 23.2
>
> >
> > How are you customizing the face i.e. in your .emacs or by using
> > customize?
>
> Yes, customize-face
>
> >
> > If you run M-x list-faces-display and click on the sample text for the
> > mode-line face, what does it show? If you click on the face name and
> > customize it, does that help?
>
> describe-face in the original frame show the customized colour. But
> describe-
> face in any new frame show mode-line's :foreground as #101010.
>
> >
> > What environment are you running udner i.e. X, xterm, console, windows,
>
> gnome+X. sled 10 or 11, I don't remember because I'm at home right now.
>
>
>
>


-- 
Filippo A. Salustri, Ph.D., P.Eng.
Mechanical and Industrial Engineering
Ryerson University
350 Victoria St, Toronto, ON
M5B 2K3, Canada
Tel: 416/979-5000 ext 7749
Fax: 416/979-5265
Email: salustri@ryerson.ca
http://deseng.ryerson.ca/~fil/

[-- Attachment #2: Type: text/html, Size: 1919 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: mode-line foreground
       [not found]   ` <mailman.1.1301132609.7327.help-gnu-emacs@gnu.org>
@ 2011-03-26 22:56     ` Tim X
  2011-03-28 15:28       ` Stefan Monnier
  0 siblings, 1 reply; 8+ messages in thread
From: Tim X @ 2011-03-26 22:56 UTC (permalink / raw)
  To: help-gnu-emacs

Bogolisk <bogolisk@gmail.com> writes:

> Tim X <timx <at> nospam.dev.null> writes:
>
>
>> What version of Emacs? This is important as there have been a few
>> changes in mode-line faces since emacs 21.
>
> 23.2
>
>> 
>> How are you customizing the face i.e. in your .emacs or by using
>> customize?
>
> Yes, customize-face
>
>> 
>> If you run M-x list-faces-display and click on the sample text for the
>> mode-line face, what does it show? If you click on the face name and
>> customize it, does that help?
>
> describe-face in the original frame show the customized colour. But describe-
> face in any new frame show mode-line's :foreground as #101010.
>
>> 
>> What environment are you running udner i.e. X, xterm, console, windows,
>
> gnome+X. sled 10 or 11, I don't remember because I'm at home right now.
>

Have you customized default-frame-alist and initial-frame-alist? Sounds
like you may be setting the modeline face in one and not other other. 

Note that I don't set these variables i.e. they are at their default and
have heavily customized faces, running under emacs 23.3 and emacs
24.0.50 and I don't see this problem, so I suspect it is something in
your .emacs file or one of the packages you load. 

I would sugest moving your .emacs to something like emacs-backup and
then start emacs with clean defaults, customize the mode-line using M-x
cusotmize-face and see if the problem persists when you create new
frames. If it doesn't, then you know it is something in your setup. If
it still persists, you will have a simple recipe to use for logging a
bug report. 

BTW, check you don't have something in your .Xresources that may be
changing face colours. 

Tim

-- 
tcross (at) rapttech dot com dot au


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: mode-line foreground
  2011-03-26 22:56     ` Tim X
@ 2011-03-28 15:28       ` Stefan Monnier
  2011-03-28 20:43         ` Peter Dyballa
  0 siblings, 1 reply; 8+ messages in thread
From: Stefan Monnier @ 2011-03-28 15:28 UTC (permalink / raw)
  To: help-gnu-emacs

> Have you customized default-frame-alist and initial-frame-alist? Sounds
> like you may be setting the modeline face in one and not other other. 

If it's set in default-frame-alist, it shouldn't need to be in
initial-frame-alist.


        Stefan


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: mode-line foreground
  2011-03-28 15:28       ` Stefan Monnier
@ 2011-03-28 20:43         ` Peter Dyballa
  2011-03-28 21:32           ` Stefan Monnier
  0 siblings, 1 reply; 8+ messages in thread
From: Peter Dyballa @ 2011-03-28 20:43 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: help-gnu-emacs


Am 28.03.2011 um 17:28 schrieb Stefan Monnier:

> If it's set in default-frame-alist, it shouldn't need to be in
> initial-frame-alist.

It can be interesting to have the initial frame in one design (or  
look) and the other (auxiliary) frames in another one...

--
Greetings

   Pete

There's something the technicians need to learn from the artists. If  
it isn't aesthetically pleasing, it's probably wrong.




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: mode-line foreground
  2011-03-28 20:43         ` Peter Dyballa
@ 2011-03-28 21:32           ` Stefan Monnier
  0 siblings, 0 replies; 8+ messages in thread
From: Stefan Monnier @ 2011-03-28 21:32 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: help-gnu-emacs

>> If it's set in default-frame-alist, it shouldn't need to be in
>> initial-frame-alist.
> It can be interesting to have the initial frame in one design (or look) and
> the other (auxiliary) frames in another one...

That's why initial-frame-alist exists.  But it's still the case that any
setting in default-frame-alist will also apply to the initial frame so
it doesn't need to be duplicated in initial-frame-alist.


        Stefan



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-03-28 21:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.5.1301061635.20012.help-gnu-emacs@gnu.org>
2011-03-25 23:12 ` mode-line foreground Tim X
2011-03-26  9:43   ` Bogolisk
2011-03-26 11:12     ` Filippo A. Salustri
     [not found]   ` <mailman.1.1301132609.7327.help-gnu-emacs@gnu.org>
2011-03-26 22:56     ` Tim X
2011-03-28 15:28       ` Stefan Monnier
2011-03-28 20:43         ` Peter Dyballa
2011-03-28 21:32           ` Stefan Monnier
2011-03-25 13:47 Bogolisk

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.