From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Sending attachments Date: Sat, 11 Jul 2009 14:30:41 -0400 Message-ID: References: <87k52rzyn1.fsf@benthic.rattlesnake.com> <873a9fw6dt.fsf@catnip.gol.com> <87y6r7yp1y.fsf@stupidchicken.com> <87ljn1dcc4.fsf@stupidchicken.com> <4A5485D0.5060808@gnu.org> <87d48b9trl.fsf@catnip.gol.com> <871vor45w8.fsf@iki.fi> <87y6qz8d1y.fsf@catnip.gol.com> <87eispzixw.fsf@marauder.physik.uni-ulm.de> <87skh4lxln.fsf@uwakimon.sk.tsukuba.ac.jp> <83fxd4yf6l.fsf@gnu.org> <4A572C1B.1090206@gnu.org> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1247337187 31091 80.91.229.12 (11 Jul 2009 18:33:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 11 Jul 2009 18:33:07 +0000 (UTC) Cc: eliz@gnu.org, stephen@xemacs.org, Reiner.Steib@gmx.de, emacs-devel@gnu.org To: Jason Rumney Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 11 20:32:59 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MPhNa-0003WV-9f for ged-emacs-devel@m.gmane.org; Sat, 11 Jul 2009 20:32:58 +0200 Original-Received: from localhost ([127.0.0.1]:59108 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MPhNZ-0007Zy-LM for ged-emacs-devel@m.gmane.org; Sat, 11 Jul 2009 14:32:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MPhLU-0004xx-2l for emacs-devel@gnu.org; Sat, 11 Jul 2009 14:30:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MPhLP-0004qO-Cr for emacs-devel@gnu.org; Sat, 11 Jul 2009 14:30:47 -0400 Original-Received: from [199.232.76.173] (port=49710 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MPhLP-0004q7-36 for emacs-devel@gnu.org; Sat, 11 Jul 2009 14:30:43 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:43330) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MPhLO-0000db-LT for emacs-devel@gnu.org; Sat, 11 Jul 2009 14:30:42 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MPhLN-0007lY-6X; Sat, 11 Jul 2009 14:30:41 -0400 In-reply-to: <4A572C1B.1090206@gnu.org> (message from Jason Rumney on Fri, 10 Jul 2009 19:55:07 +0800) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:112344 Archived-At: The other things to address are hiding the mml code it inserts (I'd suggest a file icon image for graphical displays, or buttonized [Attached File] for text mode, but RMS has expressed a preference for seeing the actual base64 or quoted-printable content that would be sent, so another option is to immediately call the function that transforms mml to actual mime instead of calling it in the send hook). I think it would be clearer that way, but I don't think it's important enough to make a big deal about. This can be done with a simple extension to mml. mml-attach-file could optionally convert to mime when it finishes. mml-attach-file could also detect that the message has already been converted to mime, in which case it could unconvert using mime-to-mml before attaching the file. This, together with the suggestion to ask all the questions only with C-u, would make it do what I have in mind.