I was trying, but it was hard for me.
On Thu, Sep 4, 2008 at 2:33 PM, Phillip Lord
> Okay; I don't know whether this is related or not. Can you try getting a
> >>>>> "LL" == Lin Li <sdeber@...> writes:
> LL> Hi, all. After the modification, if I try to open a .java file, I get
> LL> this error FROM TIME TO TIME:"eieio-validate-slot-value: Invalid slot
> LL> type: jde-parse-method-map, tree, list, [cl-struct-avl-tree- [nil nil
> LL> nil 0] jde-parse-method-map-compare-fcn]".
> LL> On Wed, Sep 3, 2008 at 8:49 PM, Phillip Lord
> LL> <phillip.lord@...>wrote:
> >> >>>>> "CK" == Carlos Konstanski <ckonstanski@...>
> CK> Can we define avl-tree-* functions if they do not already exist? My
> CK> elisp is atrocious, but in Common Lisp I envision something like:
> >> Sure. There's a old hack out there to make "defcustom" work even when
> >> custom.el isn't available.
> CK> (handler-case (symbol-function 'avl-tree-something)
> CK> () (setf (symbol-function 'avl-tree-something) (symbol-function
> CK> 'avltree-something))))
> CK> We could have a bunch of these as top-level forms (one for each
> CK> avl-tree-* function we need to use). They would detect if
> CK> #'avl-tree-something is undefined, and if so, define it to be the same
> CK> function as #'avltree-something.
> >> Something like this might work....
> >> (if (not (require 'avl-tree nil t)) (progn (require avltree) (defalias
> >> avl-tree-enter 'avltree-enter) (defalias avl-tree-delete
> >> .... ))
> >> This would load avl-tree (the new native version) if it's there. If
> >> not, it would load the elib version (which would obviously have to be
> >> available).
> >> Then we update all the uses of avltree (only in jde-parse I think) to
> >> avl-tree-*.
> >> Of course, this assumes that avl-tree is a drop in replacement for
> >> avltree. If the interface has changed beyond names we are spannered.
> >> This is probably the best solution; people can use elib if they need
> >> remove it if they don't.
> >> Phil
> >> This SF.Net email is sponsored by the Moblin Your Move Developer's
> >> challenge Build the coolest Linux based applications with Moblin SDK &
> >> win great prizes Grand prize is a trip for two to an Open Source event
> >> anywhere in the world
> >> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> >> _______________________________________________ jdee-devel mailing list
> >> jdee-devel@...
> >> https://lists.sourceforge.net/lists/listinfo/jdee-devel
> Phillip Lord, Phone: +44 (0) 191 222 7827
> Lecturer in Bioinformatics, Email:
> School of Computing Science,
> Claremont Tower Room 909, skype: russet_apples
> Newcastle University, msn: msn@...
> NE1 7RU