From: harven <harven@free.fr>
To: help-gnu-emacs@gnu.org
Subject: Re: Info nodes titles font size customization
Date: Sun, 05 Oct 2008 23:08:53 +0200 [thread overview]
Message-ID: <m2prmen40q.fsf@free.fr> (raw)
In-Reply-To: 87k5cmd85o.fsf@gmail.com
Rodolfo Medina <rodolfo.medina@gmail.com> writes:
> harven <harven@free.fr> writes:
>
>> You can try
>>
>> (add-hook 'info-mode-hook (lambda ()
>> (set-face-attribute 'info-menu-header nil
>> :inherit variable-pitch
>> :weight bold
>> :height 1)))
> Strange: this works:
>
> ;(custom-set-faces
> ;; custom-set-faces was added by Custom.
> ;; If you edit it by hand, you could mess it up, so be careful.
> ;; Your init file should contain only one such instance.
> ;; If there is more than one, they won't work right.
> '(info-title-1 ((t (:inherit info-title-2 :height 1)))))
>
>
> and this does not:
>
> (add-hook 'info-mode-hook (lambda ()
> (set-face-attribute 'info-title-1 t
> :inherit info-title-2
> :height 1
> )))
You need
(add-hook 'info-mode-hook (lambda ()
(set-face-attribute 'info-title-1 nil
:inherit info-title-2
:height 1)))
The meaning of the nil in set-face-attribute means "apply to all
frames" (no restriction). The meaning of the t in custom-set-attribute
means "apply to all frames" (always true). Please see the online help
of these functions for details (C-h f set-face-attribute).
next prev parent reply other threads:[~2008-10-05 21:08 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-05 10:44 Info nodes titles font size customization Rodolfo Medina
2008-10-05 12:29 ` Peter Dyballa
2008-10-05 16:17 ` Rodolfo Medina
2008-10-05 17:13 ` Peter Dyballa
[not found] ` <mailman.293.1223226847.25473.help-gnu-emacs@gnu.org>
2008-10-05 18:30 ` Rodolfo Medina
2008-10-05 17:48 ` Drew Adams
2008-10-05 18:36 ` harven
2008-10-05 18:54 ` Nikolaj Schumacher
[not found] ` <mailman.295.1223228939.25473.help-gnu-emacs@gnu.org>
2008-10-05 19:38 ` Rodolfo Medina
2008-10-05 19:07 ` Lennart Borgman (gmail)
2008-10-05 19:37 ` Drew Adams
[not found] ` <mailman.304.1223235441.25473.help-gnu-emacs@gnu.org>
2008-10-05 20:01 ` Joost Kremers
2008-10-06 17:31 ` Richard Riley
2008-10-07 19:09 ` Joost Kremers
[not found] ` <mailman.299.1223232881.25473.help-gnu-emacs@gnu.org>
2008-10-05 21:49 ` Rodolfo Medina
2008-10-05 21:08 ` harven [this message]
2008-10-05 22:41 ` Rodolfo Medina
2008-10-05 22:46 ` Lennart Borgman (gmail)
2008-10-05 16:42 ` Drew Adams
2008-10-05 17:41 ` Reiner Steib
2008-10-11 11:06 ` [solved] " Rodolfo Medina
2008-10-11 10:36 ` harven
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=m2prmen40q.fsf@free.fr \
--to=harven@free.fr \
--cc=help-gnu-emacs@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.
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).