[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mh-e/mh-acros.el advices `require' incorrectly
From: |
Bill Wohler |
Subject: |
Re: mh-e/mh-acros.el advices `require' incorrectly |
Date: |
Fri, 13 Jan 2006 17:39:59 -0800 |
Satyaki Das <address@hidden> wrote:
> On 1/13/06, Bill Wohler <address@hidden> wrote:
> > Drew Adams <address@hidden> wrote:
> >
> > > > The origianl `require' returns FEATURE even if it is already
> > > > provided, but the adviced `require' returns nil in such a
> > > > case. So, once mh-acros.el is loaded, a code depending on
> > > > the return value of `require' stops working.
> > > >
> > > > How about this change?
> > >
> > > What do you (and others) think about this?
> > >
> > > Besides the fact that we shouldn't use defadvice in vanilla Emacs code, I
> > > don't think we should change the return value of `require' at all. It has
> > > acted this way for a very long time, and there is undoubtedly code that
> > > depends on this behavior (at least some external libraries). Besides, we
> > > certainly should not make such a change just before a release.
> >
> > Unless you load MH-E, require does not change.
>
> Even if you load MH-E, require isn't adviced since mh-acros.el is
> never loaded at run time unless you load it yourself.
>
> > If
> > I understand
> > correctly, Kanichi's patch addresses your concern (about the return
> > value of require changing). Here's the ChangeLog for that change:
>
> Kenichi's patch won't cause any problems for MH-E.
This means you can check in your patch, Kenichi ;-).
Thanks very much for the explanation, Satyaki.
--
Bill Wohler <address@hidden> http://www.newt.com/wohler/ GnuPG ID:610BD9AD
Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian!
If you're passed on the right, you're in the wrong lane.
- mh-e/mh-acros.el advices `require' incorrectly, Kenichi Handa, 2006/01/13
- Re: mh-e/mh-acros.el advices `require' incorrectly, Bill Wohler, 2006/01/13
- RE: mh-e/mh-acros.el advices `require' incorrectly, Drew Adams, 2006/01/13
- Re: mh-e/mh-acros.el advices `require' incorrectly, Kenichi Handa, 2006/01/13
- Re: mh-e/mh-acros.el advices `require' incorrectly, Richard M. Stallman, 2006/01/14
- Re: mh-e/mh-acros.el advices `require' incorrectly, Bill Wohler, 2006/01/14
- Re: mh-e/mh-acros.el advices `require' incorrectly, Andreas Schwab, 2006/01/14
- Re: mh-e/mh-acros.el advices `require' incorrectly, Bill Wohler, 2006/01/14
- Re: mh-e/mh-acros.el advices `require' incorrectly, Stefan Monnier, 2006/01/14
- Re: mh-e/mh-acros.el advices `require' incorrectly, Richard M. Stallman, 2006/01/15
- Re: mh-e/mh-acros.el advices `require' incorrectly, Bill Wohler, 2006/01/15
- Re: mh-e/mh-acros.el advices `require' incorrectly, Richard M. Stallman, 2006/01/16
- Re: mh-e/mh-acros.el advices `require' incorrectly, Bill Wohler, 2006/01/16