bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: the ...-unload-hook convention doesn't work


From: Luc Teirlinck
Subject: Re: the ...-unload-hook convention doesn't work
Date: Fri, 9 Jan 2004 11:08:34 -0600 (CST)

I can not but wonder what we exactly want to achieve with `unload-feature'.
Is there any hope of ever making it safe enough to be called in an
actual editing session in which non-trivial work is invested and will
_continue_ to be invested after unloading a feature?  I do not believe
that it currently comes even remotely close to that standard.

The worst thing is that even reloading the feature often can not undo
the damage:

ELISP> (fboundp 'macroexpand)
t
ELISP> (require 'cl)
cl
ELISP> (fboundp 'macroexpand)
t
ELISP> (unload-feature 'cl) ;; Long output flushed
ELISP> (require 'cl)
cl
ELISP> (fboundp 'macroexpand)
nil
ELISP> 

Sincerely,

Luc.




reply via email to

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