* Set the Echo Area face via `face-remapping-alist` @ 2013-12-02 15:16 Alin Soare 2013-12-02 16:06 ` Stefan Monnier 0 siblings, 1 reply; 3+ messages in thread From: Alin Soare @ 2013-12-02 15:16 UTC (permalink / raw) To: emacs-devel [-- Attachment #1: Type: text/plain, Size: 465 bytes --] I wish to set the face of the Echo Area . Is there another face than the default for this ? I browsed the C code, and have the feeling that it is the global 'default face used for this. Can I make the default face local to echo area ? Is there a hook called before entering echo area window ? Perhaps should I change the face of the buffer #<buffer *Echo Area 0*> ? However, how can I change the face only a buffer with a given name using face-remapping-alist ? [-- Attachment #2: Type: text/html, Size: 592 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Set the Echo Area face via `face-remapping-alist` 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 0 siblings, 1 reply; 3+ messages in thread From: Stefan Monnier @ 2013-12-02 16:06 UTC (permalink / raw) To: Alin Soare; +Cc: emacs-devel > 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 ...)) -- Stefan ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Set the Echo Area face via `face-remapping-alist` 2013-12-02 16:06 ` Stefan Monnier @ 2013-12-02 16:11 ` Alin Soare 0 siblings, 0 replies; 3+ messages in thread From: Alin Soare @ 2013-12-02 16:11 UTC (permalink / raw) To: Stefan Monnier; +Cc: emacs-devel [-- 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 --] ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-12-02 16:11 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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
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.