* Ralf Angeli (2005-05-15) writes:
> * [EMAIL PROTECTED] (2005-05-14) writes:
>
>> I tried to customize the behavior of `preview-appearance' by calling `M-x
>> customize RETURN preview-appearance RETURN', however AUCTeX failed. The
>> following backtrace is output:
>>
>> Debugger entered--Lisp error: (malformed-property-list (:format "" :type)
>> (:type))
>> plist-get((:format "" :type) :convert-widget)
>> widget-convert((const :format "" :type))
>
> Great. That's a bug in `widget-convert' present in XEmacs and Emacs
> 21. Maybe `preview-nonready-icon-specs' and friends should use
> symbols instead of keywords?
I thought the error could be avoided by using one of the built-in
widgets but not even that works. Here is an example with `plist':
(progn
(defcustom foo
'((:type xpm :min 26 :file "prvwrk24.xpm" :ascent 90)
(:type xpm :min 22 :file "prvwrk20.xpm" :ascent 90)
(:type xpm :min 17 :file "prvwrk16.xpm" :ascent 90)
(:type xpm :min 15 :file "prvwrk14.xpm" :ascent 90)
(:type xpm :file "prvwrk12.xpm" :ascent 90)
(:type xbm :file "prvwrk24.xbm" :ascent 90))
"blah"
:type '(repeat (plist :options (:type :min :file :ascent))))
(customize-variable 'foo))
On XEmacs 21.4.17 it will error out with
Debugger entered--Lisp error: (malformed-property-list (:tag "Property" :format
"%t: %v " :size 10 :type) (:type))
plist-get((:tag "Property" :format "%t: %v " :size 10 :type) :convert-widget)
widget-convert((const :tag "Property" :format "%t: %v " :size 10 :type))
[...]
So it seems that symbols instead of keywords are the only way out of
it. In case there are no objections or better proposals I will change
both the default values of `preview{,-nonready,-error}-icon-specs' and
the value of `preview-specs-type' to use symbols.
--
Ralf
_______________________________________________
bug-auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-auctex