From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rodolfo Medina Newsgroups: gmane.emacs.help Subject: Re: Info nodes titles font size customization Date: Sun, 05 Oct 2008 22:49:39 +0100 Organization: SunSITE.dk - Supporting Open source Message-ID: <87k5cmd85o.fsf@gmail.com> 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 1223242896 18127 80.91.229.12 (5 Oct 2008 21:41:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 5 Oct 2008 21:41:36 +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:42:33 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 1KmbMs-00019u-FY for geh-help-gnu-emacs@m.gmane.org; Sun, 05 Oct 2008 23:42:22 +0200 Original-Received: from localhost ([127.0.0.1]:57351 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmbLp-0005ak-3G for geh-help-gnu-emacs@m.gmane.org; Sun, 05 Oct 2008 17:41:17 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!newsserver.news.garr.it!goblin2!goblin.stu.neva.ru!news.net.uni-c.dk!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:lwbIiQLa+Uz5AKghUDrAqTODaq8= Original-Lines: 44 Original-NNTP-Posting-Host: 151.80.142.73 Original-X-Trace: news.sunsite.dk DXC=L9^E9<6bC; mbJlfT[; @_ShYSB=nbEKnkk4?N7_EgM4be:AocXk=\=_dT7bXfBO; G:eKAib\KDO`hbm=c5DAkLCDld0J4H0Hf^EnoSD3c8B3SDh Original-X-Complaints-To: staff@sunsite.dk Original-Xref: news.stanford.edu gnu.emacs.help:163062 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:58403 Archived-At: Rodolfo Medina writes: >> I don't like settings by custom, I prefer writing lisp code in ~/.emacs. >> How can I do so in this case? 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))) Nikolaj Schumacher writes: > (set-face-attribute 'show-paren-match nil > :background "firebrick4" :foreground "black") 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 )))