bug-auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-AUCTeX] Re: preview-1.255; Customize preview appearance


From: Ralf Angeli
Subject: [Bug-AUCTeX] Re: preview-1.255; Customize preview appearance
Date: Fri, 20 May 2005 18:24:22 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

* Ralf Angeli (2005-05-15) writes:

> * address@hidden (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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]