From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.devel Subject: Re: [ELPA] Package proposal: gnus-mock Date: Fri, 12 Oct 2018 12:57:58 -0700 Message-ID: <87va67vsxl.fsf@ericabrahamsen.net> References: <87d0shr60b.fsf@ericabrahamsen.net> <83d0shy6bq.fsf@gnu.org> <87tvltmvcg.fsf@ericabrahamsen.net> <83lg73wpfc.fsf@gnu.org> <87d0sfxem2.fsf@ericabrahamsen.net> <837einvyl6.fsf@gnu.org> <878t33xa2y.fsf@ericabrahamsen.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1539374165 27925 195.159.176.226 (12 Oct 2018 19:56:05 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 12 Oct 2018 19:56:05 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Emacs developers To: Yuri Khan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 12 21:56:01 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gB3XU-00076Q-VM for ged-emacs-devel@m.gmane.org; Fri, 12 Oct 2018 21:56:01 +0200 Original-Received: from localhost ([::1]:42430 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gB3Za-0005X4-Mk for ged-emacs-devel@m.gmane.org; Fri, 12 Oct 2018 15:58:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46970) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gB3ZU-0005Wx-2i for emacs-devel@gnu.org; Fri, 12 Oct 2018 15:58:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gB3ZQ-0000Cy-Ri for emacs-devel@gnu.org; Fri, 12 Oct 2018 15:58:04 -0400 Original-Received: from mail.ericabrahamsen.net ([50.56.99.223]:47715) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gB3ZQ-0000Cc-MR for emacs-devel@gnu.org; Fri, 12 Oct 2018 15:58:00 -0400 Original-Received: from localhost (unknown [207.109.85.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 8FA1E3F085; Fri, 12 Oct 2018 19:57:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mail.ericabrahamsen.net; s=mail; t=1539374279; bh=xayitaB34cbYune7C6FcP6xKJrp7+BOWpy7uFmtj2mI=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=bvu3yeCNCoK1h8eJiQ6Ug7NPeWKL8EdYp4SFGmQxTxUMI9kD6tw8wb7RN1iKirxfj GyXjrolbVj9+3ugCkOhbud9rbjKOMRnH2W6xQ+uUc50hFbPMQZUPqURkHqDO63EYv0 Bl9WSKKksEbEGypmt4jj10tLNMFFZUOQYoz1VfCw= In-Reply-To: (Yuri Khan's message of "Sat, 13 Oct 2018 02:24:43 +0700") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 50.56.99.223 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:230359 Archived-At: Yuri Khan writes: > On Sat, Oct 13, 2018 at 2:03 AM Eric Abrahamsen wrote: > >> 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. > > Pretty much like this, if my Windows scripting has not rusted away > completely yet: > > === fake-sendmail.cmd > @echo off > set ERRORLEVEL= > call python fake-sendmail.py %* > exit /b %ERRORLEVEL% > === end fake-sendmail.cmd Cool! That looks convincing to me :) I'm going to commit it, and see if anyone complains. Thanks, Eric