GNU bug report logs - #5572
23.1; Undocumented key :value-to-internal in customize system

Previous Next

Package: emacs;

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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 5572 in the body.
You can then email your comments to 5572 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5572; Package emacs. (Sat, 13 Feb 2010 10:20:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Teemu Likonen <tlikonen <at> iki.fi>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 13 Feb 2010 10:20:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Teemu Likonen <tlikonen <at> iki.fi>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.1; Undocumented key :value-to-internal in customize system
Date: Sat, 13 Feb 2010 11:36:01 +0200
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.





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5572; Package emacs. (Sat, 13 Feb 2010 19:22:02 GMT) Full text and rfc822 format available.

Message #8 received at 5572 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Teemu Likonen <tlikonen <at> iki.fi>
Cc: 5572 <at> debbugs.gnu.org
Subject: Re: bug#5572: 23.1;
	Undocumented key :value-to-internal in customize system
Date: Sat, 13 Feb 2010 14:21:23 -0500
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.




Severity set to 'minor' from 'normal' Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 13 Feb 2010 19:36:02 GMT) Full text and rfc822 format available.

Reply sent to Teemu Likonen <tlikonen <at> iki.fi>:
You have taken responsibility. (Sat, 13 Feb 2010 20:00:02 GMT) Full text and rfc822 format available.

Notification sent to Teemu Likonen <tlikonen <at> iki.fi>:
bug acknowledged by developer. (Sat, 13 Feb 2010 20:00:03 GMT) Full text and rfc822 format available.

Message #15 received at 5572-done <at> debbugs.gnu.org (full text, mbox):

From: Teemu Likonen <tlikonen <at> iki.fi>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 5572-done <at> debbugs.gnu.org
Subject: Re: bug#5572: 23.1;
	Undocumented key :value-to-internal in customize system
Date: Sat, 13 Feb 2010 21:59:51 +0200
* 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.




bug archived. Request was from Debbugs Internal Request <bug-gnu-emacs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 14 Mar 2010 11:24:03 GMT) Full text and rfc822 format available.

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.