[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mail-add-attachment
From: |
Eli Zaretskii |
Subject: |
Re: mail-add-attachment |
Date: |
Sat, 03 Sep 2011 14:54:39 +0300 |
> Date: Sat, 03 Sep 2011 14:38:11 +0300
> From: Eli Zaretskii <address@hidden>
> Cc: address@hidden
>
> > From: Andreas Schwab <address@hidden>
> > Cc: address@hidden
> > Date: Sat, 03 Sep 2011 12:33:48 +0200
> >
> > Eli Zaretskii <address@hidden> 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...
Re: mail-add-attachment, Eli Zaretskii, 2011/09/10