emacs-devel
[Top][All Lists]
Advanced

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

Re: Things I would like to be added after the release


From: T. V. Raman
Subject: Re: Things I would like to be added after the release
Date: Sat, 16 Jun 2007 16:37:46 -0700

Time will tell, but I believe the form of exntension envisioned
here will make Emacs' codebase less maintainable over time -- 
that is just a personal opini

>>>>> "Richard" == Richard Stallman <address@hidden> writes:
    Richard>     0) ECB works fine as is with advice.  ECB is
    Richard> currently an add-on, distributed separately from
    Richard> Emacs.  If we install it, it will be a part of
    Richard> Emacs.
    Richard> 
    Richard> It is bad design to use advice _within_ Emacs.
    Richard> Advice is a kind of "come from" construct, and such
    Richard> constructs are very bad for clarity of a large
    Richard> program.
    Richard> 
    Richard> A few years ago, some programs were installed that
    Richard> contain advice, and that is a problem.  We need to
    Richard> fix these problems, not add more of them.  Thus, to
    Richard> install ECB, we need to rewrite the parts that use
    Richard> advice, make them use other mechanisms.
    Richard> 
    Richard> For instance, we can put the code (or explicit calls
    Richard> to it) into the functions which currently are
    Richard> advised by ECB.  That is not perfectly elegant, but
    Richard> it is better than using advice.
    Richard> 
    Richard> This means instead of
    Richard> 
    Richard> (defadvice foo ...)
    Richard> 
    Richard> we have
    Richard> 
    Richard> (defun ecb-foo-extension ...)
    Richard> 
    Richard> and we put an explicit conditional call to
    Richard> ecb-foo-extension into the definition of foo.

-- 
Best Regards,
--raman

      
Email:  address@hidden
WWW:    http://emacspeak.sf.net/raman/
AIM:    emacspeak       GTalk: address@hidden
PGP:    http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman 
IRC:    irc://irc.freenode.net/#emacs




reply via email to

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