[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Info nodes titles font size customization
From: |
Drew Adams |
Subject: |
RE: Info nodes titles font size customization |
Date: |
Sun, 5 Oct 2008 12:37:22 -0700 |
> > 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.
- Info nodes titles font size customization, Rodolfo Medina, 2008/10/05
- Re: Info nodes titles font size customization, Peter Dyballa, 2008/10/05
- Re: Info nodes titles font size customization, Rodolfo Medina, 2008/10/05
- Re: Info nodes titles font size customization, Peter Dyballa, 2008/10/05
- Message not available
- Re: Info nodes titles font size customization, Rodolfo Medina, 2008/10/05
- RE: Info nodes titles font size customization, Drew Adams, 2008/10/05
- Re: Info nodes titles font size customization, harven, 2008/10/05
- Message not available
- Re: Info nodes titles font size customization, Rodolfo Medina, 2008/10/05
- Re: Info nodes titles font size customization, Lennart Borgman (gmail), 2008/10/05
- RE: Info nodes titles font size customization,
Drew Adams <=
- Message not available
- Re: Info nodes titles font size customization, Joost Kremers, 2008/10/05
- Re: Info nodes titles font size customization, Richard Riley, 2008/10/06
- Re: Info nodes titles font size customization, Joost Kremers, 2008/10/07
- Re: Info nodes titles font size customization, Nikolaj Schumacher, 2008/10/05
- Message not available
- Re: Info nodes titles font size customization, Rodolfo Medina, 2008/10/05
- Re: Info nodes titles font size customization, harven, 2008/10/05
- Re: Info nodes titles font size customization, Rodolfo Medina, 2008/10/05
- Re: Info nodes titles font size customization, Lennart Borgman (gmail), 2008/10/05
RE: Info nodes titles font size customization, Drew Adams, 2008/10/05
Re: Info nodes titles font size customization, Reiner Steib, 2008/10/05