From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: mail-add-attachment Date: Sat, 03 Sep 2011 14:38:11 +0300 Message-ID: <8362l926vw.fsf@gnu.org> References: <838vq60wm6.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1315050007 22866 80.91.229.12 (3 Sep 2011 11:40:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 3 Sep 2011 11:40:07 +0000 (UTC) Cc: emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 03 13:40:01 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 1QzoZq-0004KP-FU for ged-emacs-devel@m.gmane.org; Sat, 03 Sep 2011 13:39:58 +0200 Original-Received: from localhost ([::1]:42814 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzoZp-0002RW-B3 for ged-emacs-devel@m.gmane.org; Sat, 03 Sep 2011 07:39:57 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:51874) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzoZm-0002RA-Ol for emacs-devel@gnu.org; Sat, 03 Sep 2011 07:39:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QzoZk-00015U-SM for emacs-devel@gnu.org; Sat, 03 Sep 2011 07:39:54 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:61885) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzoZk-000159-L8 for emacs-devel@gnu.org; Sat, 03 Sep 2011 07:39:52 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LQY00D001NNUA00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Sat, 03 Sep 2011 14:38:13 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.229.83.44]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LQY00DQ42ZKU940@a-mtaout22.012.net.il>; Sat, 03 Sep 2011 14:38:09 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.172 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:143740 Archived-At: > From: Andreas Schwab > Cc: emacs-devel@gnu.org > Date: Sat, 03 Sep 2011 12:33:48 +0200 > > 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? Yep, can do.