GNU bug report logs -
#5572
23.1; Undocumented key :value-to-internal in customize system
Previous Next
Reported by: Teemu Likonen <tlikonen <at> iki.fi>
Date: Sat, 13 Feb 2010 10:20:03 UTC
Severity: minor
Done: Teemu Likonen <tlikonen <at> iki.fi>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Some customize options use key :value-to-internal with customize type
"repeat". One example is variable message-ignored-news-headers in
lisp/gnus/message.el:
(defcustom message-ignored-news-headers
"^NNTP-Posting-Host:\\|^Xref:\\|^[BGF]cc:\\|^Resent-Fcc: [...]
"*Regexp of headers to be removed unconditionally before posting."
:group 'message-news
:group 'message-headers
:link '(custom-manual "(message)Message Headers")
:type '(repeat :value-to-internal (lambda (widget value)
(custom-split-regexp-maybe value))
:match (lambda (widget value)
(or (stringp value)
(widget-editable-list-match widget value)))
regexp))
(I cut one long line and added ellipsis "[...]".)
:value-to-internal key doesn't seem to be documented anywhere so I
consider this a documentation bug. Please add a description for the key
- perhaps to the info node "(elisp) Type Keywords" - because it seems
very useful for Emacs extension writers.
This bug report was last modified 15 years and 103 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.