[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: re-loading an elisp file
From: |
rusi |
Subject: |
Re: re-loading an elisp file |
Date: |
Mon, 7 Mar 2011 18:01:34 -0800 (PST) |
User-agent: |
G2/1.0 |
On Mar 8, 6:57 am, rusi <rustompm...@gmail.com> wrote:
> On Mar 8, 6:18 am, Kevin Rodgers <kevin.d.rodg...@gmail.com> wrote:
>
>
>
> > On 3/6/11 1:36 AM, Le Wang wrote:
>
> > > On Sun, Mar 6, 2011 at 1:32 PM, rusi <rustompm...@gmail.com
> > > <mailto:rustompm...@gmail.com>> wrote:
> > ...
> > > This points out the real problem -- elisp is not a functional
> > > language.
> > > In (pure) functional languages the pattern (for loading) is to 'clean
> > > the slate' and then load. IOW everything -- variable, function, type
> > > -- that was defined in this module is first 'makunbounded' and then
> > > the module is loaded.
>
> > > It would certainly be worthwhile to have such a feature in emacs. I
> > > guess its not easy to do unless one has available the pair-list of the
> > > form: ((var defined-in-file)...).
> > > Another problem that would probably muddy the waters are macros...
>
> > Does M-x unload-feature meet the goals?
>
> Thanks -- looks interesting.
> But a first glance at it shows that it uses unload-function-defs-list
> and that is nil.
> Guess it must get populated at the appropriate time. When?
Ok looked at loadhist.el and find that the list I was earlier asking
for is load-history.
So now if I have thrown some random elisp into a file (no require,
provides) how do I unload it?
I can assoc the file's alist in load-history. After that??
- Re: re-loading an elisp file, (continued)
- Message not available
- Message not available
- Re: re-loading an elisp file, rusi, 2011/03/06
- Re: re-loading an elisp file, Le Wang, 2011/03/06
- Re: re-loading an elisp file, Kevin Rodgers, 2011/03/07
- Message not available
- Re: re-loading an elisp file, rusi, 2011/03/07
- Re: re-loading an elisp file,
rusi <=
- Re: re-loading an elisp file, David Combs, 2011/03/24
- Re: re-loading an elisp file, Tim X, 2011/03/25
- Re: re-loading an elisp file, David Kastrup, 2011/03/25
- Re: re-loading an elisp file, Jambunathan K, 2011/03/25
- Re: re-loading an elisp file, Tim X, 2011/03/25
- Message not available
- Re: re-loading an elisp file, Tim X, 2011/03/25
- Re: re-loading an elisp file, Jambunathan K, 2011/03/26
- Message not available
- Re: re-loading an elisp file, Tim X, 2011/03/26