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 20:36:00 +0200 Organization: erewhon Message-ID: References: <87ej2v5njx.fsf@gmail.com> <87r66vuid1.fsf@gmail.com> <874p3qopx0.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 1223232100 20756 80.91.229.12 (5 Oct 2008 18:41:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 5 Oct 2008 18:41:40 +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 20:42: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 1KmYYj-0007st-4i for geh-help-gnu-emacs@m.gmane.org; Sun, 05 Oct 2008 20:42:25 +0200 Original-Received: from localhost ([127.0.0.1]:33998 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmYXf-00034T-OL for geh-help-gnu-emacs@m.gmane.org; Sun, 05 Oct 2008 14:41:19 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!feeder.erje.net!proxad.net!feeder1-2.proxad.net!cleanfeed1-a.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:pCbAdeIL85PujIzZry4eTsnQfRs= Original-Lines: 30 Original-NNTP-Posting-Date: 05 Oct 2008 20:36:01 MEST Original-NNTP-Posting-Host: 82.240.200.149 Original-X-Trace: 1223231761 news-1.free.fr 17323 82.240.200.149:51706 Original-X-Complaints-To: abuse@proxad.net Original-Xref: news.stanford.edu gnu.emacs.help:163053 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:58394 Archived-At: Rodolfo Medina writes: > Rodolfo Medina writes: > >> After customizing the font size, in my .emacs appeared the following >> stuff: >> >> >> (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-menu-header ((t (:inherit variable-pitch :weight bold :height 1)))) >> '(info-title-1 ((t (:inherit info-title-2 :height 1)))) >> '(info-title-3 ((t (:inherit info-title-4 :height 1)))) >> '(info-xref ((t (:inherit link :height 1))))) > I don't like settings by custom, I prefer writing lisp code in ~/.emacs. How > can I do so in this case? You can try (add-hook 'info-mode-hook (lambda () (set-face-attribute 'info-menu-header nil :inherit variable-pitch :weight bold :height 1))) Hope that helps