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: mail-add-attachment Date: Sat, 03 Sep 2011 12:33:48 +0200 Message-ID: References: <838vq60wm6.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1315046047 32321 80.91.229.12 (3 Sep 2011 10:34:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 3 Sep 2011 10:34:07 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 03 12:34:03 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QznXz-0004bM-6g for ged-emacs-devel@m.gmane.org; Sat, 03 Sep 2011 12:33:59 +0200 Original-Received: from localhost ([::1]:43155 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QznXy-0004eg-BE for ged-emacs-devel@m.gmane.org; Sat, 03 Sep 2011 06:33:58 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:37913) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QznXv-0004eF-20 for emacs-devel@gnu.org; Sat, 03 Sep 2011 06:33:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QznXt-00059r-KH for emacs-devel@gnu.org; Sat, 03 Sep 2011 06:33:54 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.9]:33677) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QznXr-00059C-W9; Sat, 03 Sep 2011 06:33:52 -0400 Original-Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id F405D1C0F572; Sat, 3 Sep 2011 12:33:49 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id AD63F1C00050; Sat, 3 Sep 2011 12:33:49 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.8.164]) (amavisd-new, port 10024) with ESMTP id GBwKmgAEgkNX; Sat, 3 Sep 2011 12:33:49 +0200 (CEST) Original-Received: from igel.home (ppp-93-104-133-17.dynamic.mnet-online.de [93.104.133.17]) by mail.mnet-online.de (Postfix) with ESMTP; Sat, 3 Sep 2011 12:33:49 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 501) id 8BF25CA296; Sat, 3 Sep 2011 12:33:48 +0200 (CEST) X-Yow: LIFE is a never-ending INFORMERCIAL! In-Reply-To: <838vq60wm6.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 03 Sep 2011 13:05:21 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Received-From: 212.18.0.9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:143739 Archived-At: Eli Zaretskii writes: > +(autoload 'mml-attach-file "mml" > + "Attach a file to the outgoing MIME message. > +The file is not inserted or encoded until you send the message with > +`\\[message-send-and-exit]' or `\\[message-send]'. > + > +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).") > + > +(autoload 'mm-default-file-encoding "mm-encode" > + "Return the default encoding for FILE.") Why not just adding autoload cookies instead of this duplication? 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."