From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: harven Newsgroups: gmane.emacs.help Subject: Re: Info nodes titles font size customization Date: Sun, 05 Oct 2008 23:08:53 +0200 Organization: erewhon Message-ID: References: <87ej2v5njx.fsf@gmail.com> <87r66vuid1.fsf@gmail.com> <874p3qopx0.fsf@gmail.com> <87k5cmd85o.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1223242927 18223 80.91.229.12 (5 Oct 2008 21:42:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 5 Oct 2008 21:42:07 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 05 23:43:04 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KmbNY-0001Nu-Dz for geh-help-gnu-emacs@m.gmane.org; Sun, 05 Oct 2008 23:43:04 +0200 Original-Received: from localhost ([127.0.0.1]:49948 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmbMU-0005rh-TG for geh-help-gnu-emacs@m.gmane.org; Sun, 05 Oct 2008 17:41:58 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!tiscali!newsfeed1.ip.tiscali.net!proxad.net!feeder1-2.proxad.net!cleanfeed1-b.proxad.net!nnrp3-2.free.fr!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (darwin) Cancel-Lock: sha1:GyJop3mfAl4zpTOC0XJrOszn8pk= Original-Lines: 42 Original-NNTP-Posting-Date: 05 Oct 2008 23:08:54 MEST Original-NNTP-Posting-Host: 82.240.200.149 Original-X-Trace: 1223240934 news-3.free.fr 1141 82.240.200.149:51942 Original-X-Complaints-To: abuse@proxad.net Original-Xref: news.stanford.edu gnu.emacs.help:163063 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:58404 Archived-At: Rodolfo Medina writes: > harven 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).