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 20:38:32 +0100 Organization: SunSITE.dk - Supporting Open source Message-ID: <87hc7q4ytj.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 1223232137 20846 80.91.229.12 (5 Oct 2008 18:42:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 5 Oct 2008 18:42:17 +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:43:15 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 1KmYZP-0008Cy-UX for geh-help-gnu-emacs@m.gmane.org; Sun, 05 Oct 2008 20:43:08 +0200 Original-Received: from localhost ([127.0.0.1]:53110 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmYYM-0003RA-Ar for geh-help-gnu-emacs@m.gmane.org; Sun, 05 Oct 2008 14:42:02 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!goblin1!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:jlnh1rbtjQG8kNOC6pA9WNvGlAE= Original-Lines: 46 Original-NNTP-Posting-Host: 151.80.142.73 Original-X-Trace: news.sunsite.dk DXC=41cdX_jYf^AK0]X@\@M^fKYSB=nbEKnkKM 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:58395 Archived-At: Rodolfo Medina wrote: >> > After customizing the font size, in my .emacs appeared the following >> > >> > (custom-set-faces ...) >> > >> > How can I replace the `custom-set-faces' issue by some >> > other command to achieve the same result? `setq' does not work. >> >> I don't like settings by custom, I prefer writing lisp code >> in ~/.emacs. How can I do so in this case? "Drew Adams" writes: > Uh, use `custom-set-faces' in ~/.emacs? > > If you never use Customize, then Customize will never overwrite the > `(custom-set-faces ...)' that you put in your ~/.emacs. To better explain what I mean, suppose that I want a ps-top-margin of 20pt. If I do `M-x customize-group RET ps-psrint RET' and do my setting via customization, in my .emacs the following ugly stuff will automatically appear: (custom-set-variables ;; custom-set-variables 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. '(canlock-password "1f8d809977b1fd859c60b1c2c546a18075b660a4") '(ps-top-margin 5)) ; instead, all I need is to write: (setq ps-top-margin 5) , which is much more tiny and simple. I wish something similar in this case. Bye Rodolfo