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

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

Re: re-loading an elisp file


From: Kevin Rodgers
Subject: Re: re-loading an elisp file
Date: Mon, 07 Mar 2011 18:18:05 -0700
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9

On 3/6/11 1:36 AM, Le Wang wrote:
On Sun, Mar 6, 2011 at 1:32 PM, rusi <address@hidden
<mailto:address@hidden>> 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?

--
Kevin Rodgers
Denver, Colorado, USA




reply via email to

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