[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: address@hidden: emacs customization suggestion: 'customize-existing'
From: |
Per Abrahamsen |
Subject: |
Re: address@hidden: emacs customization suggestion: 'customize-existing'] |
Date: |
Tue, 10 Feb 2004 14:44:40 +0100 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) |
Richard Stallman <address@hidden> writes:
> > Perhaps we could use something to customize all the options that have
> > non-default customizations, which is a little different from
> > customize-customized.
>
> How is it different? Or rather, what do you mean by "non-default
> customizations"?
>
> customize-customized shows you the variables that have unsaved
> customizations.
>
> This proposed command would also show you the variables that have
> customize settings that are saved.
customize-saved also exists. Combining them is trivial, but I'm not
sure the extra functionality is worth the extra command.
;;;###autoload
(defun customize-touched ()
"Customize all user options that have been set through customize."
(interactive)
(let ((found nil))
(mapatoms (lambda (symbol)
(and (or (get symbol 'customized-face)
(get symbol 'customized-face-comment)
(get symbol 'saved-face)
(get symbol 'saved-face-comment))
(custom-facep symbol)
(push (list symbol 'custom-face) found))
(and (or (get symbol 'customized-value)
(get symbol 'customized-variable-comment)
(get symbol 'saved-value)
(get symbol 'saved-variable-comment))
(boundp symbol)
(push (list symbol 'custom-variable) found))))
(if (not found)
(error "No touched user options")
(custom-buffer-create (custom-sort-items found t nil)
"*Customize Touched*"))))
- address@hidden: emacs customization suggestion: 'customize-existing'], Richard Stallman, 2004/02/06
- Re: address@hidden: emacs customization suggestion: 'customize-existing'], Kim F. Storm, 2004/02/06
- Re: address@hidden: emacs customization suggestion: 'customize-existing'], Kevin Rodgers, 2004/02/06
- Re: address@hidden: emacs customization suggestion: 'customize-existing'], Richard Stallman, 2004/02/08
- Re: address@hidden: emacs customization suggestion: 'customize-existing'], Per Abrahamsen, 2004/02/09
- Re: address@hidden: emacs customization suggestion: 'customize-existing'], Richard Stallman, 2004/02/10
- Re: address@hidden: emacs customization suggestion: 'customize-existing'],
Per Abrahamsen <=
- Re: address@hidden: emacs customization suggestion: 'customize-existing'], Kevin Rodgers, 2004/02/10
- Re: address@hidden: emacs customization suggestion: 'customize-existing'], Per Abrahamsen, 2004/02/11
- Re: address@hidden: emacs customization suggestion: 'customize-existing'], Richard Stallman, 2004/02/11
- Re: address@hidden: emacs customization suggestion: 'customize-existing'], Per Abrahamsen, 2004/02/12
- Re: address@hidden: emacs customization suggestion: 'customize-existing'], Kim F. Storm, 2004/02/12
- Re: address@hidden: emacs customization suggestion: 'customize-existing'], Richard Stallman, 2004/02/14
- Re: address@hidden: emacs customization suggestion: 'customize-existing'], Per Abrahamsen, 2004/02/18
- Re: address@hidden: emacs customization suggestion: 'customize-existing'], Jason Rumney, 2004/02/18
- Re: address@hidden: emacs customization suggestion: 'customize-existing'], Per Abrahamsen, 2004/02/19
- Re: address@hidden: emacs customization suggestion: 'customize-existing'], Reiner Steib, 2004/02/19