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
[Message part 1 (text/plain, inline)]
Your message dated Sat, 13 Feb 2010 21:59:51 +0200
with message-id <87sk94nbyg.fsf <at> mithlond.arda>
and subject line Re: bug#5572: 23.1; Undocumented key :value-to-internal in customize system
has caused the Emacs bug report #5572,
regarding 23.1; Undocumented key :value-to-internal in customize system
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact bug-gnu-emacs <at> gnu.org
immediately.)
--
5572: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5572
Emacs Bug Tracking System
Contact bug-gnu-emacs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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.
[Message part 3 (message/rfc822, inline)]
* 2010-02-13 14:21 (-0500), Glenn Morris wrote:
> Teemu Likonen wrote:
>
>> :value-to-internal key doesn't seem to be documented anywhere so I
>> consider this a documentation bug.
>
> Custom uses the widget library, and this is documented in widget.texi.
Ah, thanks for the info. I didn't know about the Widget library at all.
Well, I'll just close this bug then.
This bug report was last modified 15 years and 132 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.