From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#34992: 26.1; message-send-mail-with-mailclient mangles MIME messages Date: Mon, 13 May 2019 15:58:43 -0400 Message-ID: <87lfzat9cc.fsf@mouse.gnus.org> References: <87y353f7kp.fsf@tethera.net> <83zhpjm06y.fsf@gnu.org> <83va05lgx5.fsf@gnu.org> <8736n9bloi.fsf@tethera.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="145418"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 34992@debbugs.gnu.org, rms@gnu.org To: David Bremner Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 13 22:00:08 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hQH7E-000bfd-E8 for geb-bug-gnu-emacs@m.gmane.org; Mon, 13 May 2019 22:00:04 +0200 Original-Received: from localhost ([127.0.0.1]:34308 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQH7D-0005ph-GA for geb-bug-gnu-emacs@m.gmane.org; Mon, 13 May 2019 16:00:03 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39521) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQH6F-0004vU-M1 for bug-gnu-emacs@gnu.org; Mon, 13 May 2019 15:59:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hQH6E-0003DK-K3 for bug-gnu-emacs@gnu.org; Mon, 13 May 2019 15:59:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:32809) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hQH6E-0003DC-Gl for bug-gnu-emacs@gnu.org; Mon, 13 May 2019 15:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hQH6E-0007qZ-6N for bug-gnu-emacs@gnu.org; Mon, 13 May 2019 15:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 13 May 2019 19:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34992 X-GNU-PR-Package: emacs Original-Received: via spool by 34992-submit@debbugs.gnu.org id=B34992.155777753430147 (code B ref 34992); Mon, 13 May 2019 19:59:02 +0000 Original-Received: (at 34992) by debbugs.gnu.org; 13 May 2019 19:58:54 +0000 Original-Received: from localhost ([127.0.0.1]:46353 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQH65-0007q9-JA for submit@debbugs.gnu.org; Mon, 13 May 2019 15:58:53 -0400 Original-Received: from quimby.gnus.org ([80.91.231.51]:45068) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hQH63-0007q0-9X for 34992@debbugs.gnu.org; Mon, 13 May 2019 15:58:51 -0400 Original-Received: from [12.41.144.226] (helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hQH5y-00019T-9i; Mon, 13 May 2019 21:58:48 +0200 In-Reply-To: <8736n9bloi.fsf@tethera.net> (David Bremner's message of "Tue, 26 Mar 2019 14:16:45 -0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:159207 Archived-At: David Bremner writes: >> No, Emacs copies the message text into the system clipboard and tells >> the user to paste it from there into the mail client. > > I think that's only the default on Windows. On my machines [1] it just > silently sends. I don't think that's the default on any systems -- the first time you send an email, Emacs will query the user, and the sensible choice for most people would be to specify an SMTP client. That's not possible on all systems, though, to -with-mailclient is also an option... but it's a very poor option indeed. But I'm unable to reproduce the reported bug: Message creates a multipart message, and the first part of that message is usually a text/plain one. The body looks correct to me. However, I doubt there's any way to convey to the "system mailer" what you're trying to send a multipart message in any reliable way. So it would perhaps make sense to tell the user that you can't send attachments via -with-mailclient if you try to do that? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no