GNU bug report logs -
#33566
26; `group' :type for defcustom
Previous Next
Full log
View this message in rfc822 format
This appears to be the same issue as bug #31309
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=31309
At present in wid-edit.el we see:
(define-widget 'group 'default
[...]
:format "%v"
And that format of "%v" is triggering the error.
In #31309 I noted that:
> the parent `editable-field' widget says:
> "Note: In an ‘editable-field’ widget, the ‘%v’ escape must be preceded
> by some other text in the ‘:format’ string (if specified)."
And so I copied the :format "%{%t%}: %v" used by the 'string type.
If we make that same change here:
(define-widget 'group 'default
[...]
:format "%{%t%}: %v"
Then the example code from this new bug works.
Possibly there are other such bugs here as well?
8 matches for ":format "%v"" in buffer: wid-edit.el
594: :type '(repeat (cons :format "%v"
597: (string :format "%v")))))
1870: :format "%v"
2214: :format "%v"
2392: :format "%v"
2749: :format "%v"
2905: :format "%v"
3565: (cons :format "%v"
-Phil
This bug report was last modified 6 years and 149 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.