all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Rodolfo Medina'" <rodolfo.medina@gmail.com>, <help-gnu-emacs@gnu.org>
Subject: RE: Info nodes titles font size customization
Date: Sun, 5 Oct 2008 12:37:22 -0700	[thread overview]
Message-ID: <011601c92721$c9cf9b80$0200a8c0@us.oracle.com> (raw)
In-Reply-To: <87hc7q4ytj.fsf@gmail.com>

> > 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...)
>
> ; 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.

Faces are different from variables. Nevertheless, there are other ways to change
face properties than using `custom-set-faces'. Look at `defface' and functions
such as `set-face-attribute' (`set-face-*', in general).

However, this is what I'd recommend: Set variable `custom-file' to the name of a
different file from `.emacs', e.g. `~/rodolfo-custom-file', and then use
Customize. It's much easier and cleaner than you think. This will keep all of
the ugly Customize-maintained stuff out of your `.emacs'. See the Emacs manual,
node Saving Customizations.





  parent reply	other threads:[~2008-10-05 19:37 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-05 10:44 Info nodes titles font size customization Rodolfo Medina
2008-10-05 12:29 ` Peter Dyballa
2008-10-05 16:17   ` Rodolfo Medina
2008-10-05 17:13     ` Peter Dyballa
     [not found]     ` <mailman.293.1223226847.25473.help-gnu-emacs@gnu.org>
2008-10-05 18:30       ` Rodolfo Medina
2008-10-05 17:48         ` Drew Adams
2008-10-05 18:36         ` harven
2008-10-05 18:54         ` Nikolaj Schumacher
     [not found]         ` <mailman.295.1223228939.25473.help-gnu-emacs@gnu.org>
2008-10-05 19:38           ` Rodolfo Medina
2008-10-05 19:07             ` Lennart Borgman (gmail)
2008-10-05 19:37             ` Drew Adams [this message]
     [not found]             ` <mailman.304.1223235441.25473.help-gnu-emacs@gnu.org>
2008-10-05 20:01               ` Joost Kremers
2008-10-06 17:31                 ` Richard Riley
2008-10-07 19:09                   ` Joost Kremers
     [not found]         ` <mailman.299.1223232881.25473.help-gnu-emacs@gnu.org>
2008-10-05 21:49           ` Rodolfo Medina
2008-10-05 21:08             ` harven
2008-10-05 22:41               ` Rodolfo Medina
2008-10-05 22:46                 ` Lennart Borgman (gmail)
2008-10-05 16:42   ` Drew Adams
2008-10-05 17:41 ` Reiner Steib
2008-10-11 11:06 ` [solved] " Rodolfo Medina
2008-10-11 10:36   ` harven

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='011601c92721$c9cf9b80$0200a8c0@us.oracle.com' \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=rodolfo.medina@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.