From: Eli Zaretskii <eliz@gnu.org>
To: schwab@linux-m68k.org
Cc: emacs-devel@gnu.org
Subject: Re: mail-add-attachment
Date: Sat, 03 Sep 2011 14:54:39 +0300 [thread overview]
Message-ID: <8339gd264g.fsf@gnu.org> (raw)
In-Reply-To: <8362l926vw.fsf@gnu.org>
> Date: Sat, 03 Sep 2011 14:38:11 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: emacs-devel@gnu.org
>
> > From: Andreas Schwab <schwab@linux-m68k.org>
> > Cc: emacs-devel@gnu.org
> > Date: Sat, 03 Sep 2011 12:33:48 +0200
> >
> > Eli Zaretskii <eliz@gnu.org> 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...
next prev parent reply other threads:[~2011-09-03 11:54 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-03 10:05 mail-add-attachment Eli Zaretskii
2011-09-03 10:33 ` mail-add-attachment Andreas Schwab
2011-09-03 11:38 ` mail-add-attachment Eli Zaretskii
2011-09-03 11:54 ` Eli Zaretskii [this message]
2011-09-03 18:36 ` mail-add-attachment Chong Yidong
2011-09-08 16:38 ` mail-add-attachment Eli Zaretskii
2011-09-09 14:32 ` mail-add-attachment Stefan Monnier
2011-09-09 15:04 ` mail-add-attachment Eli Zaretskii
2011-09-09 16:15 ` mail-add-attachment Lars Magne Ingebrigtsen
2011-09-09 21:49 ` mail-add-attachment Stefan Monnier
2011-09-10 0:02 ` mail-add-attachment Lars Magne Ingebrigtsen
2011-09-10 1:40 ` mail-add-attachment Stefan Monnier
2011-09-10 8:32 ` mail-add-attachment Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8339gd264g.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=schwab@linux-m68k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.