A couple of problems with new packages

Vin Shelton acs at alumni.princeton.edu
Sun Dec 2 16:14:50 EST 2007


On Dec 2, 2007 3:29 PM, Aidan Kehoe <kehoea at parhasard.net> wrote:
>
>  Ar an dara lá de mí na Nollaig, scríobh Michael Sperber:
>
>  >
>  > "Vin Shelton" <acs at alumni.princeton.edu> writes:
>  >
>  > > Mike -
>  > >
>  > > I can now build the xemacs-packages with a 21.5 XEmacs.  Thanks.
>  > >
>  > > In using those packages, I notice the following problems:
>  > >
>  > >
>  > > (1) When I start up a 21.4 XEmacs -vanilla evaluating
>  > >
>  > >   (require 'jka-compr)
>  > >
>  > > yields the following backtrace:
>  > >
>  > > Debugger entered--Lisp error: (error "Unknown keyword" :default)
>  > >   signal(error ("Unknown keyword" :default))
>  > [...]
>  >
>  > I don't see where that's coming from: Could you look up your definition
>  > of `jka-compr-temp-name-template' (in jka-compr.el) and evaluate
>  >
>  > (macroexpand '(defcustom jka-compr-temp-name-template ...))
>
> That's coming from my change of
> http://mid.gmane.org/18252.39139.149087.844153@parhasard.net ; the 21.5 byte
> compiler adds a :default keyword to custom-declare-variable calls when it
> byte compiles the init value. This allows the custom UI code to present
> non-byte-compiled Lisp for editing. I don't know of a way to avoid the error
> entirely.
>
> The error should be limited to the specific case of 21.4 loading code
> compiled by 21.5 where the code has complex VALUE clauses in defcustom
> calls.
>
> Vin, would you consider adding the very last hunk of that patch to 21.4?

Yes, I'll consider it, but whether or not I apply it, we must solve
the problem for users of XEmacs <= 21.4.21.  Please make a suggestion
so that packages built with 21.5 will work with existing 21.4
installs.

Thanks,
  Vin



More information about the XEmacs-Beta mailing list