Re: Displaying a different font on the mode-line

Matthew Fidler <[email protected]>
Newsgroups gmane.emacs.windows
Message-ID <CAOmN8O5a2YTMta5woDUUwsBE30rRLMPZqyECOzpQYCB4Q-CYkg@mail.gmail.com>
Its not consistent with other implementations.  In linux, it shows the
face.  Also in cygwin it shows the face.

On Tue, Feb 9, 2016 at 11:38 AM Eli Zaretskii <[email protected]> wrote:

> > From: Matthew Fidler <[email protected]>
> > Date: Tue, 09 Feb 2016 15:14:12 +0000
> >
> > I cannot display a different font for a character on the mode-line when
> using windows 32 implementation of
> > emacs. Is this a known issue?
>
> Every string you put in the mode line must use a single face for all
> its characters; Emacs only takes notice of the face of the first
> character of each string.  This is done for efficiency reasons, as the
> mode line is redrawn very frequently.
>
> So if you want to use a different font, you should construct the mode
> line "creatively", taking care not to use strings that have different
> faces on some of its characters.
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.