From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.60; Echo Area Face Date: Thu, 05 Jun 2008 23:55:41 -0600 Message-ID: References: <87mym23usw.fsf@sophokles.streitblatt.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1212731773 13775 80.91.229.12 (6 Jun 2008 05:56:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Jun 2008 05:56:13 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 06 07:56:55 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K4UwY-0005Wa-TQ for ged-emacs-devel@m.gmane.org; Fri, 06 Jun 2008 07:56:55 +0200 Original-Received: from localhost ([127.0.0.1]:32829 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K4Uvm-0004G5-9r for ged-emacs-devel@m.gmane.org; Fri, 06 Jun 2008 01:56:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K4Uvi-0004Fz-83 for emacs-devel@gnu.org; Fri, 06 Jun 2008 01:56:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K4Uvf-0004Fn-Sf for emacs-devel@gnu.org; Fri, 06 Jun 2008 01:56:00 -0400 Original-Received: from [199.232.76.173] (port=39668 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K4Uvf-0004Fk-Mn for emacs-devel@gnu.org; Fri, 06 Jun 2008 01:55:59 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:42732 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K4Uvf-00020g-Bh for emacs-devel@gnu.org; Fri, 06 Jun 2008 01:55:59 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1K4Uva-0005Wa-45 for emacs-devel@gnu.org; Fri, 06 Jun 2008 05:55:54 +0000 Original-Received: from c-67-190-29-163.hsd1.co.comcast.net ([67.190.29.163]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Jun 2008 05:55:54 +0000 Original-Received: from kevin.d.rodgers by c-67-190-29-163.hsd1.co.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Jun 2008 05:55:54 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 40 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-67-190-29-163.hsd1.co.comcast.net User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) In-Reply-To: X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:98493 gmane.emacs.pretest.bugs:22573 Archived-At: Stefan Monnier wrote: >> I was experimenting with Miles Baders new face remapping functionality >> and tried to display the minibuffer/echo area in a smaller font size. > >> This does the job for minibuffer-iteraction: > >> (add-hook 'minibuffer-setup-hook 'set-minibuffer-face) > >> (defun set-minibuffer-face () >> (set (make-local-variable 'face-remapping-alist) >> '((default :family "DejaVu Sans" :height 0.75)))) > >> but there doesn't seem a way to influence the display of messages >> displayed in the minibuffer. I tought the above would take care of it. I >> know the minibuffer is somewhat special. How do I set a buffer local >> variable for it? > > I thought that maybe the following hack I've been using for ages (to add > special key bindings to my minibuffer-only frame, such as `f' to > find-file-other-frame) would work as well but it doesn't because the > echo messages are displayed in the same window as the minibuffers, but > in diferent buffers. > > (add-hook 'minibuffer-exit-hook > (lambda () > (with-current-buffer (window-buffer (minibuffer-window)) > (set (make-local-variable 'face-remapping-alist) > '((default :family "DejaVu Sans" :height 0.75)))))) > > so you'll need to set this var in all the " *Echo Area N*" buffers, > which is rather ugly. I don't know how many of them there can be: > I only see 2 here (the 0 and the 1), but maybe there can be more (tho > maybe not, since there can't be recursive echo area messages AFAIK), There can not be more than 2: the dual echo area buffers are hard-coded in xdisp.c. -- Kevin Rodgers Denver, Colorado, USA