> * Matthieu Moy <[EMAIL PROTECTED]> [2006-05-30 20:55:37 +0200]: > > Sam Steingold <[EMAIL PROTECTED]> writes: > >> xtla-1.2 comes with contrib/ewoc.el what has a different API than the >> current Emacs CVS head. >> in anticipation of the imminent emacs release, may I suggest that you >> remove contrib/ewoc.el from xtla? > > Remove, no, we can't do that : XEmacs doesn't have ewoc.el. Upgrade to > the latest version may be an option (but as much as possible, we > should keep compatibility with the older ewoc.el's).
my point is that packages should not shadow standard functionality. emacs comes with ewoc, so xtla should use emacs ewoc when it is present: diff -u -b -w -i -B /home/shared/lib/elisp/xtla-1.2/xtla-load.el.old /home/shared/lib/elisp/xtla-1.2/xtla-load.el --- /home/shared/lib/elisp/xtla-1.2/xtla-load.el.old 2006-05-30 15:01:41.000000000 -0400 +++ /home/shared/lib/elisp/xtla-1.2/xtla-load.el 2006-05-30 15:05:41.000004000 -0400 @@ -14,7 +14,8 @@ ;; to your ~/.emacs.el (add-to-list 'load-path "/home/shared/lib/elisp/xtla/lisp") -(add-to-list 'load-path "/home/shared/lib/elisp/xtla/lisp/contrib") +(unless (locate-library "ewoc") + (add-to-list 'load-path "/home/shared/lib/elisp/xtla/lisp/contrib")) (add-to-list 'Info-default-directory-list "/home/shared/lib/elisp/xtla/info") (if (featurep 'xtla) Diff finished. Tue May 30 15:05:48 2006 -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://honestreporting.com http://memri.org http://mideasttruth.com http://thereligionofpeace.com http://openvotingconsortium.org http://ffii.org DRM "access management" == prison "freedom management". _______________________________________________ Xtla-el-dev mailing list [email protected] https://mail.gna.org/listinfo/xtla-el-dev
