unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org, no-spam@cua.dk
Subject: Re: format-mode-line
Date: Fri, 07 Jan 2005 18:04:19 -0500	[thread overview]
Message-ID: <E1Cn39X-0008FR-V1@fencepost.gnu.org> (raw)
In-Reply-To: <16862.15106.231358.160456@farnswood.snap.net.nz> (message from Nick Roberts on Fri, 7 Jan 2005 20:32:18 +1300)

     > When format is nil (for mode-line-format) or t (for header-line-format),
     > the resulting string is propertized with the proper mode-line and header-line
     > face as the base face.

    I'll show my ignorance: I don't know what a base face is and I can't
    find a definition in the manual.

There is no term "base face".  What he means is a face to apply
by default to any characters that don't specify some other face.
So that you would get the same face actually used in the mode line.

I think adding an argument specifying a default face for format-mode-line
is a good way to do it.

  reply	other threads:[~2005-01-07 23:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-04 12:25 format-mode-line Nick Roberts
2005-01-05  3:31 ` format-mode-line Richard Stallman
2005-01-06  0:21   ` format-mode-line Nick Roberts
2005-01-06 21:00     ` format-mode-line Kim F. Storm
2005-01-07  7:32       ` format-mode-line Nick Roberts
2005-01-07 23:04         ` Richard Stallman [this message]
2005-01-08 23:52           ` format-mode-line Stefan

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=E1Cn39X-0008FR-V1@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=no-spam@cua.dk \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).