unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: e23 inverse video on mode line and nowhere else
Date: Fri, 15 Jan 2010 10:21:39 +0200	[thread overview]
Message-ID: <83pr5b7p7w.fsf@gnu.org> (raw)
In-Reply-To: <87bpgwcinf.fsf@lion.rapttech.com.au>

> From: Tim X <timx@nospam.dev.null>
> Date: Fri, 15 Jan 2010 11:32:20 +1100
> 
> Three possible solutions. 
> 
> 1. M-x customize-face will allow you to set the attributes of various
> faces. If you have the cursor on one of the faces you want to change
> when you run customize-face, it will, by default, allow you to customize
> that face. Otherwise, you can ask to customize all faces and they will
> be listed in a customize buffer (showing samples for each of the faces).
> One of the options is to set a face to inherit its attributes from
> another face and then modify it further. This allows you to have a
> hierarchy of attributes. So, if you wanted to have a specific face have
> no special attributes, you could define it to inherit from the 'default'
> face and not set any specific attributes. Doing this will mean that if,
> at some later time, you want to modify the default face, all the ones
> that inherit from it will also inherit those mods. 
> 
> 2. M-x list-faces-display will bring up a buffer showing all the
> currently defined faces. You can then use the mouse or cursor keys to
> select a definition for customization. 
> 
> Using either of the two above techniques, you can change all the
> attributes of a face i.e. bold, underline, fg/bg colour, size, font,
> etc.
> 
> 3. Turn off global font lock mode. This will result in most faces just
> having the 'default' attributes. 

In practice, solution #3 alone won't cut it, because some Emacs
features use faces regardless of Font Lock mode.

So what Karl would need to do is:

  . Turn off Global Font Lock mode.  This will turn off many faces.

  . Use "M-x list-faces-display" to list and customize the rest of
    faces.

  . Whenever a new face pops up, list it with list-faces-display and
    customize it.

The last item is needed because many faces are not defined until they
are first used by some feature.  Until it is defined,
list-faces-display will not show it.

I believe that with this procedure, the number of faces that evade
customization will fade out with time.




  reply	other threads:[~2010-01-15  8:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1436.1263510311.18930.help-gnu-emacs@gnu.org>
2010-01-15  0:32 ` e23 inverse video on mode line and nowhere else Tim X
2010-01-15  8:21   ` Eli Zaretskii [this message]
2010-02-01  2:04 Karl Berry
     [not found] <20100115004221.598A8AF600@mxperim7.sea5.speakeasy.net>
2010-01-14 23:04 ` Karl Berry
2010-01-15  4:13   ` Steve Revilak
2010-01-15 20:23   ` Leo
  -- strict thread matches above, loose matches on Subject: below --
2010-01-13  1:42 Karl Berry
2010-01-13  8:31 ` Leo
2010-01-16 22:35 ` Juri Linkov

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83pr5b7p7w.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).