emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: doc elisp intro cross reference fixes


From: Per Abrahamsen
Subject: Re: doc elisp intro cross reference fixes
Date: Thu, 27 Nov 2003 20:09:53 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

Luc Teirlinck <address@hidden> writes:

> Per Abrahamsen wrote:
>
>    (let (found)
>      (mapatoms (lambda (sym) 
>                (let ((group (get sym 'custom-group)))
>                  (setq found (append group found)))))
>      (mapatoms (lambda (sym)
>                (and (boundp sym)
>                      (get sym 'standard-value)
>                     (not (assq sym found))
>                     (insert (format "%S\n" sym))))))
>
> This lists all kinds of variables that _do_ have a :group.  (Actually,
> I believe it lists all customizable variables.)

I get this list:

initial-scratch-message
mml2015-unabbrev-trust-alist
gnus-inhibit-mime-unbuttonizing
flyspell-default-dictionary
gnus-agent-expire-unagentized-dirs
mail-source-ignore-errors
nntp-authinfo-file
message-minibuffer-local-map
mml-signencrypt-style-alist

> Why does `M-x customize-group RET nil RET' work then?  If you evaluate:
>
> (defcustom a 4 "c")
>
> then the customizable variable `a' winds up listed there, together
> with the other four.

I don't get "a" in the nil group.  The only members of the nil group I
get is those explicitly put there by a buggy Gnus macro.

Maybe it is because I use an older Emacs.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]