emacs-devel
[Top][All Lists]
Advanced

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

Re: movemail location


From: Robert Pluim
Subject: Re: movemail location
Date: Mon, 11 Jun 2018 10:31:39 +0200

Joseph Mingrone <address@hidden> writes:

> Eli Zaretskii <address@hidden> writes:
>> Sorry, I should have been more explicit.  My suggestion is to replace
>> this:
>
>>                    (apply
>>                     'call-process
>>                     (append
>>                      (list
>>                       (or mail-source-movemail-program
>>                           (expand-file-name "movemail" exec-directory))
>>                       nil errors nil from to)))))
>
>> with this:
>
>>                    (apply
>>                     'call-process
>>                     (append
>>                      (list
>>                       (or mail-source-movemail-program "movemail")
>>                       nil errors nil from to)))))
>
>> Since call-process calls the moral equivalent of executable-find
>> internally, calling executable-find during initialization is
>> redundant: call-process will find movemail on exec-path; moreover,
>> Robert's suggestion will not work if movemail was installed or moved
>> after mail-source.el was loaded.
>
>> Did I succeed to explain myself this time?
>
> Yes, this is clear and seems reasonable.
>
> The way things work now, if a user configures using --with-mailutils=no,
> then he will be guaranteed by default [1] to be using Emacs' own
> movemail installed under exec-directory.  This will change with your
> suggestion.  I think that's reasonable, but we were just pointing out
> that the default behaviour will change.

Ah, I just made the same comment in the bug.

*I* donʼt mind the default behaviour changing, but some people
might. Another option is just to remove movemail from emacs
completely, since installing Mailutils is easy enough *duck*

Robert



reply via email to

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