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: [solved] Re: Info nodes titles font size customization Date: Sat, 11 Oct 2008 12:36:26 +0200 Organization: http://groups.google.com Message-ID: References: <87ej2v5njx.fsf@gmail.com> <87bpxrqtl1.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 1223721821 31049 80.91.229.12 (11 Oct 2008 10:43:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 11 Oct 2008 10:43:41 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Oct 11 12:44:38 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 1Kobxb-0006ai-V7 for geh-help-gnu-emacs@m.gmane.org; Sat, 11 Oct 2008 12:44:36 +0200 Original-Received: from localhost ([127.0.0.1]:39125 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KobwX-0004f0-Rm for geh-help-gnu-emacs@m.gmane.org; Sat, 11 Oct 2008 06:43:29 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!proxad.net!feeder1-2.proxad.net!212.27.60.64.MISMATCH!cleanfeed3-b.proxad.net!nnrp2-1.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:aX+JU8kcbMJGG0G7OlPpyuImj94= Original-Lines: 54 Original-NNTP-Posting-Date: 11 Oct 2008 12:36:26 MEST Original-NNTP-Posting-Host: 82.240.200.149 Original-X-Trace: 1223721386 news-2.free.fr 6914 82.240.200.149:50068 Original-X-Complaints-To: abuse@proxad.net Original-Xref: news.stanford.edu gnu.emacs.help:163346 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:58689 Archived-At: Rodolfo Medina 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