all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tim X <timx@nospam.dev.null>
To: help-gnu-emacs@gnu.org
Subject: Re: e23 inverse video on mode line and nowhere else
Date: Fri, 15 Jan 2010 11:32:20 +1100	[thread overview]
Message-ID: <87bpgwcinf.fsf@lion.rapttech.com.au> (raw)
In-Reply-To: mailman.1436.1263510311.18930.help-gnu-emacs@gnu.org

karl@freefriends.org (Karl Berry) writes:

>     When I run emacs in terminals, the mode line is always inverse video
>     but the rest is normal.
>
> Thanks for replying, but this is not even remotely true for me in e23
> (it used to be that way, for sure, for many many years).  Now, I start
> emacs with emacs-23.1 --no-site --no-init in an xterm, and immediately
> observe the *scratch* buffer name is in bold.  (Haven't tried
> tty-suppress-bold-inverse-default-colors yet, but anyway, that's not so
> critical.)
>
> More importantly, then I run M-x grep and do something like
> "grep -nH e /etc/issue", and observe that "/etc/issue:1:" is underlined,
> "matches found" is in bold, etc.
>
> All of these things are what my brain needs to have eliminated :).

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. 

HTH

Tim

-- 
tcross (at) rapttech dot com dot au


       reply	other threads:[~2010-01-15  0:32 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 ` Tim X [this message]
2010-01-15  8:21   ` e23 inverse video on mode line and nowhere else Eli Zaretskii
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

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

  git send-email \
    --in-reply-to=87bpgwcinf.fsf@lion.rapttech.com.au \
    --to=timx@nospam.dev.null \
    --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.
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.