From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Florian Beck <abstraktion@t-online.de>
Cc: emacs-pretest-bug@gnu.org
Subject: Re: 23.0.60; Echo Area Face
Date: Wed, 04 Jun 2008 01:44:00 -0400 [thread overview]
Message-ID: <jwvy75lix5m.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87mym23usw.fsf@sophokles.streitblatt.de> (Florian Beck's message of "Wed, 04 Jun 2008 02:31:11 +0200")
> 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
next prev parent reply other threads:[~2008-06-04 5:44 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 [this message]
2008-06-06 5:55 ` Kevin Rodgers
-- 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvy75lix5m.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=abstraktion@t-online.de \
--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 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.