From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: Sending attachments Date: Sat, 04 Jul 2009 17:19:46 +0200 Message-ID: References: <87k52rzyn1.fsf@benthic.rattlesnake.com> <873a9fw6dt.fsf@catnip.gol.com> <878wj7hwct.fsf@marauder.physik.uni-ulm.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1246720811 21108 80.91.229.12 (4 Jul 2009 15:20:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 4 Jul 2009 15:20:11 +0000 (UTC) Cc: Reiner Steib , emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 04 17:20:03 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 1MN723-0006zV-AZ for ged-emacs-devel@m.gmane.org; Sat, 04 Jul 2009 17:20:03 +0200 Original-Received: from localhost ([127.0.0.1]:41987 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MN722-0000FH-Lv for ged-emacs-devel@m.gmane.org; Sat, 04 Jul 2009 11:20:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MN71z-0000FC-0r for emacs-devel@gnu.org; Sat, 04 Jul 2009 11:19:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MN71t-0000F0-Iu for emacs-devel@gnu.org; Sat, 04 Jul 2009 11:19:57 -0400 Original-Received: from [199.232.76.173] (port=54641 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MN71t-0000Ex-DH for emacs-devel@gnu.org; Sat, 04 Jul 2009 11:19:53 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.10]:55879) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MN71q-0000d6-Mg; Sat, 04 Jul 2009 11:19:51 -0400 Original-Received: from mail01.m-online.net (mail.m-online.net [192.168.3.149]) by mail-out.m-online.net (Postfix) with ESMTP id E84A91C00117; Sat, 4 Jul 2009 17:19:48 +0200 (CEST) Original-Received: from localhost (dynscan2.mnet-online.de [192.168.1.215]) by mail.m-online.net (Postfix) with ESMTP id D9EAF905EE; Sat, 4 Jul 2009 17:19:48 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.3.149]) by localhost (dynscan2.mnet-online.de [192.168.1.215]) (amavisd-new, port 10024) with ESMTP id 7RWOGqKFQaQJ; Sat, 4 Jul 2009 17:19:47 +0200 (CEST) Original-Received: from igel.home (DSL01.83.171.168.5.ip-pool.NEFkom.net [83.171.168.5]) by mail.mnet-online.de (Postfix) with ESMTP; Sat, 4 Jul 2009 17:19:47 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 501) id 5AA6B10C560; Sat, 4 Jul 2009 17:19:46 +0200 (CEST) X-Yow: SANTA CLAUS comes down a FIRE ESCAPE wearing bright blue LEG WARMERS.. He scrubs the POPE with a mild soap or detergent for 15 minutes, starring JANE FONDA!! In-Reply-To: (Richard Stallman's message of "Fri, 03 Jul 2009 18:52:36 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.95 (gnu/linux) 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:112012 Archived-At: Richard Stallman writes: > According to the documentation in "(emacs-mime)Composing", > one must put certain text in the buffer > which then gets converted to Mime parts, > > Maybe that is convenient for some cases, but what I would like > is a simpler command that just attaches a file. > > Has anyone written such a thing? C-c RET f runs the command mml-attach-file, which is an interactive compiled Lisp function in `mml.el'. It is bound to , C-c RET f, C-c C-a. (mml-attach-file file &optional type description disposition) Attach a file to the outgoing MIME message. The file is not inserted or encoded until you send the message with `C-c C-c' or `C-c C-s'. file is the name of the file to attach. type is its content-type, a string of the form "type/subtype". description is a one-line description of the attachment. The disposition specifies how the attachment is intended to be displayed. It can be either "inline" (displayed automatically within the message body) or "attachment" (separate from the body). Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."