From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.devel Subject: Re: Sending attachments Date: Wed, 08 Jul 2009 21:07:51 +0200 Message-ID: <87fxd756yg.fsf@marauder.physik.uni-ulm.de> References: <87k52rzyn1.fsf@benthic.rattlesnake.com> <873a9fw6dt.fsf@catnip.gol.com> <87y6r7yp1y.fsf@stupidchicken.com> <87ljn1dcc4.fsf@stupidchicken.com> <4A5485D0.5060808@gnu.org> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1247080212 16958 80.91.229.12 (8 Jul 2009 19:10:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Jul 2009 19:10:12 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: Jason Rumney Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 08 21:10:05 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 1MOcWq-0006DS-N4 for ged-emacs-devel@m.gmane.org; Wed, 08 Jul 2009 21:10:05 +0200 Original-Received: from localhost ([127.0.0.1]:58982 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOcWq-0003mU-33 for ged-emacs-devel@m.gmane.org; Wed, 08 Jul 2009 15:10:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MOcUz-0001cx-6N for emacs-devel@gnu.org; Wed, 08 Jul 2009 15:08:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MOcUs-0001Rt-Sb for emacs-devel@gnu.org; Wed, 08 Jul 2009 15:08:08 -0400 Original-Received: from [199.232.76.173] (port=45608 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOcUs-0001RU-CH for emacs-devel@gnu.org; Wed, 08 Jul 2009 15:08:02 -0400 Original-Received: from mail.uni-ulm.de ([134.60.1.11]:54413) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MOcUo-0004uU-Bm; Wed, 08 Jul 2009 15:07:58 -0400 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.175]) by mail.uni-ulm.de (8.14.2/8.14.2) with ESMTP id n68J7raQ021314; Wed, 8 Jul 2009 21:07:54 +0200 (MEST) Original-Received: from localhost (localhost [127.0.0.1]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id A6BA01391B; Wed, 8 Jul 2009 21:07:53 +0200 (CEST) X-Face: .*T0'iU(sujq_j9\J>-d4fg; N/1++U#U$_5ii6k.=|"-n'?5O:Hyz&wi'-!I~,}7~GgT=0S /&-R5sbkNy5+Xo1y{Tw2KKxi@Xh"g@]Qc|.U<*]WDd)qvGowFDvfU1F]{EDho:7P0@|oOD=Bc{K4?> WP68K[Mx:}=`ZT'6g4'f+g?;`vri2!)xGy}3:=l'(/Cea0l4lo^H5#@/Z3ev Mail-Followup-To: Jason Rumney , rms@gnu.org, emacs-devel@gnu.org In-Reply-To: <4A5485D0.5060808@gnu.org> (Jason Rumney's message of "Wed, 08 Jul 2009 19:41:04 +0800") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.1 (gnu/linux) X-DCC-SIHOPE-DCC-3-Metrics: poseidon 1085; Body=3 Fuz1=3 Fuz2=3 X-Virus-Scanned: by amavisd-new X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:112189 Archived-At: On Wed, Jul 08 2009, Jason Rumney wrote: > Richard Stallman wrote: [...] >> A suitable front-end to mml-attach-file could avoid asking all the >> annoying questions. > > It is probably reasonable to use a type of application/octet-stream, Please don't follow the bad behavior of MS Outlook. mml-attach-file figures out the suitable default by consulting the MIME type / Mailcap files. application/octet-stream is more or less a fallback for arbitrary binary data, see RFC 2046 . > disposition of attachment and have no description for simple > attachments. So the only absolutely necessary question is the > filename. We could add an option as we do when using drag and drop to attach a file: ,----[ v mml-dnd-attach-options RET ] | mml-dnd-attach-options is a variable defined in `mml.el'. | Its value is nil | | Documentation: | Which options should be queried when attaching a file via drag and drop. | | If it is a list, valid members are `type', `description' and | `disposition'. `disposition' implies `type'. If it is nil, | don't ask for options. If it is t, ask the user whether or not | to specify options. | | You can customize this variable. `---- Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/