From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.60; Echo Area Face Date: Wed, 04 Jun 2008 01:44:00 -0400 Message-ID: References: <87mym23usw.fsf@sophokles.streitblatt.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1212558278 13350 80.91.229.12 (4 Jun 2008 05:44:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Jun 2008 05:44:38 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: Florian Beck Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 04 07:45:19 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 1K3lo9-0001gu-Bl for ged-emacs-devel@m.gmane.org; Wed, 04 Jun 2008 07:45:13 +0200 Original-Received: from localhost ([127.0.0.1]:45161 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K3lnN-0006JB-1C for ged-emacs-devel@m.gmane.org; Wed, 04 Jun 2008 01:44:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K3lnF-0006J6-UE for emacs-devel@gnu.org; Wed, 04 Jun 2008 01:44:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K3lnD-0006Hd-8G for emacs-devel@gnu.org; Wed, 04 Jun 2008 01:44:16 -0400 Original-Received: from [199.232.76.173] (port=47686 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K3lnC-0006HJ-TM for emacs-devel@gnu.org; Wed, 04 Jun 2008 01:44:14 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:54857) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K3lnC-0003qb-VV for emacs-devel@gnu.org; Wed, 04 Jun 2008 01:44:15 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]:54779) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1K3llO-000278-15 for emacs-pretest-bug@gnu.org; Wed, 04 Jun 2008 01:42:22 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1K3lnA-0003qF-36 for emacs-pretest-bug@gnu.org; Wed, 04 Jun 2008 01:44:14 -0400 Original-Received: from 206-248-132-168.dsl.teksavvy.com ([206.248.132.168]:50661 helo=ceviche.home) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K3ln9-0003q5-Qt for emacs-pretest-bug@gnu.org; Wed, 04 Jun 2008 01:44:11 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id A6424B423C; Wed, 4 Jun 2008 01:44:00 -0400 (EDT) In-Reply-To: <87mym23usw.fsf@sophokles.streitblatt.de> (Florian Beck's message of "Wed, 04 Jun 2008 02:31:11 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:98364 gmane.emacs.pretest.bugs:22551 Archived-At: > 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), Stefan