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:54:39 +0300 Message-ID: <8339gd264g.fsf@gnu.org> References: <838vq60wm6.fsf@gnu.org> <8362l926vw.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1315050911 27750 80.91.229.12 (3 Sep 2011 11:55:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 3 Sep 2011 11:55:11 +0000 (UTC) Cc: emacs-devel@gnu.org To: schwab@linux-m68k.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 03 13:55:07 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 1QzooV-0001oh-IV for ged-emacs-devel@m.gmane.org; Sat, 03 Sep 2011 13:55:07 +0200 Original-Received: from localhost ([::1]:47084 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzooV-0005Kt-3n for ged-emacs-devel@m.gmane.org; Sat, 03 Sep 2011 07:55:07 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:58828) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzooS-0005JI-86 for emacs-devel@gnu.org; Sat, 03 Sep 2011 07:55:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QzooR-0003jY-65 for emacs-devel@gnu.org; Sat, 03 Sep 2011 07:55:04 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:64836) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzooQ-0003jR-TP for emacs-devel@gnu.org; Sat, 03 Sep 2011 07:55:03 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LQY00E003OTCT00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Sat, 03 Sep 2011 14:54:38 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.229.83.44]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LQY00DFP3R0U960@a-mtaout22.012.net.il>; Sat, 03 Sep 2011 14:54:37 +0300 (IDT) In-reply-to: <8362l926vw.fsf@gnu.org> 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:143741 Archived-At: > Date: Sat, 03 Sep 2011 14:38:11 +0300 > From: Eli Zaretskii > Cc: emacs-devel@gnu.org > > > 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. Btw, do we have any guidelines when to add an autoload form and when to load an autoload cookie? Because it seems we do both...