all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: harven <harven@free.fr>
To: help-gnu-emacs@gnu.org
Subject: Re: [solved] Re: Info nodes titles font size customization
Date: Sat, 11 Oct 2008 12:36:26 +0200	[thread overview]
Message-ID: <m2skr3e7v9.fsf@free.fr> (raw)
In-Reply-To: 87bpxrqtl1.fsf@gmail.com

Rodolfo Medina <rodolfo.medina@gmail.com> writes:

> In my ~/.emacs I put the following stuff:
>
> (add-hook
>  'Info-mode-hook
>  (lambda ()
>    (set-face-attribute
>     'info-title-1 nil
>     :weight 'bold
>     :height 1
>     :family "-Sony-Fixed-Medium-R-Normal--16-120-100-100-C-80-ISO8859-1"
>     )))
>
> (add-hook
>  'Info-mode-hook 
>  (lambda ()
>    (set-face-attribute 
>     'info-title-3 nil
>     :weight 'bold
>     :height 1
>     :family "-Sony-Fixed-Medium-R-Normal--16-120-100-100-C-80-ISO8859-1"
>     )))
>
> (add-hook 
>  'Info-mode-hook 
>  (lambda ()
>    (set-face-attribute 
>     'info-menu-header nil
>     :weight 'bold
>     :height 1
>     :family "-Sony-Fixed-Medium-R-Normal--16-120-100-100-C-80-ISO8859-1"
>     )))
>
>
> One can learn more about those variable from the Elisp manual (`C-h i' from
> Emacs buffer).
>
> Thanks to all who helped.
> Rodolfo

A bit shorter, by using the mapc function, which applies the set-face-attribute
to all faces in the list:

(add-hook  'Info-mode-hook  
   (lambda () (mapc 
    (lambda (x)
      (set-face-attribute x  nil
       :weight 'bold
       :height 1
       :family "-Sony-Fixed-Medium-R-Normal--16-120-100-100-C-80-ISO8859-1"))
    (list 'info-title-1 'info-title-3 'info-menu-header))))

Cheers


      reply	other threads:[~2008-10-11 10:36 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
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 [this message]

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=m2skr3e7v9.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.
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.