unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Alin Soare <as1789@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: Set the Echo Area face via `face-remapping-alist`
Date: Mon, 2 Dec 2013 18:11:18 +0200	[thread overview]
Message-ID: <CA+Xtq3Uebh0KjRQ+Op6_F50qug4P414gnJgJJxmg+Q4KJHQEiQ@mail.gmail.com> (raw)
In-Reply-To: <jwvr49v1bo3.fsf-monnier+emacs@gnu.org>

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

> > I wish to set the face of the Echo Area.
>
> Not sure what you mean by that.
>
> > However, how can I change the face only a buffer with a given name using
> > face-remapping-alist ?
>
>   (with-current-buffer (get-buffer " *Echo Area 0*")
>     (setq-local face-remapping-alist ...))
>
>
Great idea. Thank you.

I did not notice that Echo Area is a permanent buffer, despite that it
appears all the time via (buffer-list).

I thought that it is killed all the time and re-created after /before each
print0 call...


I was going just now to insert some code in the start hook of
*fundamental-mode*, that checks the name of the new buffer, see if it is
"Echo Area ", etc.

:) I was on a wrong way . Thanks for the quick answer.

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

      reply	other threads:[~2013-12-02 16:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-02 15:16 Set the Echo Area face via `face-remapping-alist` Alin Soare
2013-12-02 16:06 ` Stefan Monnier
2013-12-02 16:11   ` Alin Soare [this message]

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=CA+Xtq3Uebh0KjRQ+Op6_F50qug4P414gnJgJJxmg+Q4KJHQEiQ@mail.gmail.com \
    --to=as1789@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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).