emacs-devel
[Top][All Lists]
Advanced

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

Re: sendmail-program default is determined at compilation time


From: Chong Yidong
Subject: Re: sendmail-program default is determined at compilation time
Date: Mon, 04 Sep 2006 10:19:36 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Richard Stallman <address@hidden> writes:

>     There is one complication: putting sendmail-program in sendmail.el
>     means that it won't be available unless sendmail.el is loaded (unless
>     we autoload it, which defeats the purpose of setting its default at
>     compile time).  I don't know if any other parts of Emacs assume it is
>     available.
>
> feedmail.el and gnus/message.el use it.  I think it is better to make
> them load sendmail.el if they need to, than to make startup.el
> initialize the variable.  That way it won't add to the time
> for starting Emacs (such delays add up).
>
> Could you please DTRT?

It's wrong for feedmail.el and message.el to load sendmail.el, since
they currently go to some lengths to avoid doing exactly that;
however, it's trivial for them to look for sendmail on the fly if
sendmail-program isn't bound.  I've checked in a fix.




reply via email to

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