emacs-devel
[Top][All Lists]
Advanced

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

Re: [ELPA] Package proposal: gnus-mock


From: Eric Abrahamsen
Subject: Re: [ELPA] Package proposal: gnus-mock
Date: Fri, 12 Oct 2018 12:02:13 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> From: Eric Abrahamsen <address@hidden>
>> Date: Fri, 12 Oct 2018 10:24:21 -0700
>> 
>> I don't want to make the users do anything, I'm just saying that I can't
>> change `message-send-mail-with-sendmail' to use
>> `shell-command-on-region' instead of `call-process-region'.
>
> call-process-region accepts arguments to the program, doesn't it?

I don't have any control over the call, though. It looks like this:

(apply
 'call-process-region
 (append
  (list (point-min) (point-max) sendmail-program
        nil errbuf nil "-oi")
  message-sendmail-extra-arguments
 (and (null message-sendmail-f-is-evil)
       (list "-f" (message-sendmail-envelope-from)))
 (if (null message-interactive) '("-oem" "-odb"))
  (if resend-to-addresses
      (list resend-to-addresses)
    '("-t"))))

All I've got to work with is the value of `sendmail-program'. I can't
even stick the script name in `message-sendmail-extra-arguments',
because Python will complain about the "-oi" argument.

All I can think of is providing a separate executable for Windows users,
but I don't know what that executable would look like.

Thanks again,
Eric




reply via email to

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