From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: David Bremner Newsgroups: gmane.emacs.bugs Subject: bug#34992: 26.1; message-send-mail-with-mailclient mangles MIME messages Date: Sat, 22 Jun 2019 09:42:21 +0200 Message-ID: <87v9wyt6aq.fsf@tethera.net> References: <87y353f7kp.fsf@tethera.net> <83zhpjm06y.fsf@gnu.org> <83va05lgx5.fsf@gnu.org> <8736n9bloi.fsf@tethera.net> <87lfzat9cc.fsf@mouse.gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="26180"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 34992@debbugs.gnu.org, rms@gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 22 13:19:09 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.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hee32-0006i9-Rp for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Jun 2019 13:19:08 +0200 Original-Received: from localhost ([::1]:39958 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hee31-0005Qd-Sk for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Jun 2019 07:19:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49639) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hee2x-0005QS-Ct for bug-gnu-emacs@gnu.org; Sat, 22 Jun 2019 07:19:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hee2w-0007Ig-FG for bug-gnu-emacs@gnu.org; Sat, 22 Jun 2019 07:19:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37464) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hee2w-0007IU-Bt for bug-gnu-emacs@gnu.org; Sat, 22 Jun 2019 07:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hee2w-0007Rq-5W for bug-gnu-emacs@gnu.org; Sat, 22 Jun 2019 07:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: David Bremner Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Jun 2019 11:19: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.156120230728571 (code B ref 34992); Sat, 22 Jun 2019 11:19:02 +0000 Original-Received: (at 34992) by debbugs.gnu.org; 22 Jun 2019 11:18:27 +0000 Original-Received: from localhost ([127.0.0.1]:51008 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hee2N-0007Ql-HR for submit@debbugs.gnu.org; Sat, 22 Jun 2019 07:18:27 -0400 Original-Received: from fethera.tethera.net ([198.245.60.197]:37356) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hee2L-0007Qc-TT for 34992@debbugs.gnu.org; Sat, 22 Jun 2019 07:18:26 -0400 Original-Received: from remotemail by fethera.tethera.net with local (Exim 4.89) (envelope-from ) id 1hee2E-0001F7-AL; Sat, 22 Jun 2019 07:18:18 -0400 Original-Received: (nullmailer pid 11775 invoked by uid 1000); Sat, 22 Jun 2019 07:42:21 -0000 In-Reply-To: <87lfzat9cc.fsf@mouse.gnus.org> 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:160975 Archived-At: Lars Ingebrigtsen writes: > 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? Sorry for the long delay in replying. Indeed, signalling an error to the user makes sense to me in this case. d