From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alin Soare Newsgroups: gmane.emacs.devel Subject: Re: Set the Echo Area face via `face-remapping-alist` Date: Mon, 2 Dec 2013 18:11:18 +0200 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1136952a176ca804ec8f6ec2 X-Trace: ger.gmane.org 1386000682 17131 80.91.229.3 (2 Dec 2013 16:11:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Dec 2013 16:11:22 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 02 17:11:28 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VnW5o-000764-1U for ged-emacs-devel@m.gmane.org; Mon, 02 Dec 2013 17:11:28 +0100 Original-Received: from localhost ([::1]:37524 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnW5n-00065L-20 for ged-emacs-devel@m.gmane.org; Mon, 02 Dec 2013 11:11:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60016) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnW5g-00064O-RE for emacs-devel@gnu.org; Mon, 02 Dec 2013 11:11:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VnW5f-0008TR-LI for emacs-devel@gnu.org; Mon, 02 Dec 2013 11:11:20 -0500 Original-Received: from mail-pd0-x229.google.com ([2607:f8b0:400e:c02::229]:51611) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnW5f-0008T3-DK for emacs-devel@gnu.org; Mon, 02 Dec 2013 11:11:19 -0500 Original-Received: by mail-pd0-f169.google.com with SMTP id v10so18469313pde.0 for ; Mon, 02 Dec 2013 08:11:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=oFiuAdijZE18UvqASlsqU7ST2NhjeXNCXHbuAES4StU=; b=Kcylny8U4M24d2k2ka1FyYrCJU1QlGBBKw/mQOhh/NpncVtSYv6eBYPtd4tcOIL9qZ v6MRufUm6PiKX64VAbBQnebeRFkHtwXZkXd3ImubDefPjqO+sHj5CV2jxNXNTMYdex2l hvlXsLq/6mwlmqrt7BhwCYw6rLGs+EGP1qfqbG2CtgfiqtL9mUBMaYt4uahjhb94wgX6 54/z8k/fmtJgJp0FKUMHmDPrmIpNfBEb2GDda+tf7fwJ5h4I/lHgbBc/o0HGDGQe/DE5 n7qdJPfvVh9+OWaVEafy9lgf2E8P7SLk/GXmOuqCjb7vzScvcoT68som0mvcu3snovla OFjQ== X-Received: by 10.69.29.107 with SMTP id jv11mr4646702pbd.147.1386000678347; Mon, 02 Dec 2013 08:11:18 -0800 (PST) Original-Received: by 10.66.72.166 with HTTP; Mon, 2 Dec 2013 08:11:18 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c02::229 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:166013 Archived-At: --001a1136952a176ca804ec8f6ec2 Content-Type: text/plain; charset=UTF-8 > > 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. --001a1136952a176ca804ec8f6ec2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

=
> 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 usi= ng
> face-remapping-alist ?

=C2=A0 (with-current-buffer (get-buffer " *Echo Area 0*") =C2=A0 =C2=A0 (setq-local face-remapping-alist ...))


Great idea. Thank you.

I did not = notice that=C2=A0Echo Area is a permanent buffer, despite that it appears a= ll 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.<= /div>

--001a1136952a176ca804ec8f6ec2--