[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: unload-feature questions and thoughts
From: |
Juanma Barranquero |
Subject: |
Re: unload-feature questions and thoughts |
Date: |
Tue, 16 Oct 2007 10:15:05 +0200 |
On 10/16/07, Richard Stallman <address@hidden> wrote:
> That's the idea, though for finer-grained control
> FEATURE-unload-function can always modify `unload-hook-features-list'
> before returning the "continue the standard processing" flag back to
> `unload-feature'.
>
> How would that be useful? What problem could it solve?
Well, that's how `unload-hook-features-list' is used right now,
according to docstrings.
>From `unload-hook-features-list':
This is meant to be used by FEATURE-unload-hook hooks, see the
documentation of `unload-feature' for details.
>From `unload-feature':
Such a hook should undo all the relevant global state changes that may
have been made by loading the package or executing functions in it.
It has access to the package's feature list (before anything is unbound)
in the variable `unload-hook-features-list' and could remove features
from it in the event that the package has done something strange,
such as redefining an Emacs function.
Juanma
- Re: unload-feature questions and thoughts, (continued)
- Re: unload-feature questions and thoughts, Juanma Barranquero, 2007/10/11
- Re: unload-feature questions and thoughts, Richard Stallman, 2007/10/12
- Re: unload-feature questions and thoughts, Juanma Barranquero, 2007/10/12
- Re: unload-feature questions and thoughts, Richard Stallman, 2007/10/13
- Re: unload-feature questions and thoughts, Juanma Barranquero, 2007/10/13
- Re: unload-feature questions and thoughts, Richard Stallman, 2007/10/14
- Re: unload-feature questions and thoughts, Juanma Barranquero, 2007/10/14
- Re: unload-feature questions and thoughts, Richard Stallman, 2007/10/15
- Re: unload-feature questions and thoughts, Juanma Barranquero, 2007/10/15
- Re: unload-feature questions and thoughts, Richard Stallman, 2007/10/16
- Re: unload-feature questions and thoughts,
Juanma Barranquero <=
- Re: unload-feature questions and thoughts, Richard Stallman, 2007/10/17
- Re: unload-feature questions and thoughts, Juanma Barranquero, 2007/10/17
- Re: unload-feature questions and thoughts, Davis Herring, 2007/10/23
- Re: unload-feature questions and thoughts, Richard Stallman, 2007/10/24
- Re: unload-feature questions and thoughts, Davis Herring, 2007/10/11
- Re: unload-feature questions and thoughts, Richard Stallman, 2007/10/11
- Re: unload-feature questions and thoughts, David Kastrup, 2007/10/25
- Re: unload-feature questions and thoughts, Richard Stallman, 2007/10/28
Re: unload-feature questions and thoughts, Richard Stallman, 2007/10/10