From: Kevin Rodgers <kevin.d.rodgers@gmail.com>
To: emacs-devel@gnu.org
Cc: emacs-pretest-bug@gnu.org
Subject: Re: 23.0.60; Echo Area Face
Date: Thu, 05 Jun 2008 23:55:41 -0600 [thread overview]
Message-ID: <g2ajgu$dbe$1@ger.gmane.org> (raw)
In-Reply-To: <jwvy75lix5m.fsf-monnier+emacs@gnu.org>
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
next prev parent reply other threads:[~2008-06-06 5:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-04 0:31 23.0.60; Echo Area Face Florian Beck
2008-06-04 5:44 ` Stefan Monnier
2008-06-06 5:55 ` Kevin Rodgers [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-12-02 16:02 Alin Soare
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='g2ajgu$dbe$1@ger.gmane.org' \
--to=kevin.d.rodgers@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=emacs-pretest-bug@gnu.org \
/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).