[ cross-posted and MFT set to xemacs-beta list ]
* Stephen J Turnbull <stephen(a)xemacs.org> writes:
Steve Youngs writes:
> but 2 -- package-suppress doesn't seem to work. I just built XEmacs
> 21.5 CVS HEAD, and I see no evidence that `package-suppress'
> is doing anything.
AFAICT what package-suppress is designed to do is to prevent
autoloads
of core libraries from being overwritten by the package version, and
that's all.
Well, I was under the impression that `package-suppress' would
completely suppress a given library in the packages. With all
attempts to access said library (apart from an explicit `find-file'
maybe) resulting in either the core lisp version if exists or error.
That's why I say `package-suppress' is broken. In a fresh -vanilla
21.5...
(locate-library "regexp-opt")
=> "/usr/local/lib/xemacs/xemacs-packages/lisp/xemacs-base/regexp-opt.elc"
And `find-library', `find-function', `load', `require' all seem to use
the regexp-opt.elc from packages.
So in a freshly executed XEmacs 21.5, you should see that
regexp-opt autoloads refer to the core version of regexp-opt.
How do I do that?
What would you expect to see?
I'd expect to see everything that returns an elisp library to never
return a suppressed one. I'd expect to see everything that loads an
elisp library to never load a suppressed one.
I guess we'd also want (require 'regexp-opt) to find the
core
version if the package is suppressed?
Definitely.
I'm not sure that that is correct though; the package version
should presumably be used when explicitly requiring from another
package.
That sounds like crazy talk to me. :-)
I'd really like to hear what Ben has to say, seeing as though he was
the one who wrote the suppression stuff.
--
|---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---|
| SXEmacs - The only _______ you'll ever need. |
| Fill in the blank, yes, it's THAT good! |
|------------------------------------<steve(a)sxemacs.org>---|
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta