* Sending HTML as Attachment in gnus
@ 2014-05-24 19:40 Esben Stien
2014-05-24 22:05 ` Igor Sosa Mayor
[not found] ` <mailman.2036.1400969160.1147.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 4+ messages in thread
From: Esben Stien @ 2014-05-24 19:40 UTC (permalink / raw)
To: help-gnu-emacs
I'm trying to attach an html file in a mail in gnus, but whenever I try
to do it, gnus inserts it inline and not as an attachment.
Any pointers as to how I can do that?
--
Esben Stien is b0ef@e s a
http://www. s t n m
irc://irc. b - i . e/%23contact
sip:b0ef@ e e
jid:b0ef@ n n
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Sending HTML as Attachment in gnus
[not found] <mailman.2024.1400960424.1147.help-gnu-emacs@gnu.org>
@ 2014-05-24 20:34 ` Emanuel Berg
0 siblings, 0 replies; 4+ messages in thread
From: Emanuel Berg @ 2014-05-24 20:34 UTC (permalink / raw)
To: help-gnu-emacs
Esben Stien <b0ef@esben-stien.name> writes:
> I'm trying to attach an html file in a mail in gnus,
> but whenever I try to do it, gnus inserts it inline
> and not as an attachment.
>
> Any pointers as to how I can do that?
Yes, if you by Gnus mean the Emacs message-mode, on
"disposition", type "attachment" instead of just
hitting RET (getting the default inline, as it says).
If you do this a lot, it make sense changing that,
which I can't help you with but I'm sure is possible
and not difficult to do.
Yeah, I think inline should never be default because
you might as well do that with `C-x i' (insert-file).
--
underground experts united:
http://user.it.uu.se/~embe8573
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Sending HTML as Attachment in gnus
2014-05-24 19:40 Sending HTML as Attachment in gnus Esben Stien
@ 2014-05-24 22:05 ` Igor Sosa Mayor
[not found] ` <mailman.2036.1400969160.1147.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 4+ messages in thread
From: Igor Sosa Mayor @ 2014-05-24 22:05 UTC (permalink / raw)
To: help-gnu-emacs
Esben Stien <b0ef@esben-stien.name> writes:
> I'm trying to attach an html file in a mail in gnus, but whenever I try
> to do it, gnus inserts it inline and not as an attachment.
>
> Any pointers as to how I can do that?
I'm not sure, but I think you should have a look at
,----[ C-h v mml-content-disposition-alist RET ]
| mml-content-disposition-alist is a variable defined in `mml.el'.
| Its value is ((text
| (rtf . "attachment")
| (t . "inline"))
| (t . "attachment"))
|
|
| Documentation:
| Alist of MIME types or regexps matching file names and default dispositions.
| Each element should be one of the following three forms:
|
| (REGEXP . DISPOSITION)
| (SUPERTYPE (SUBTYPE . DISPOSITION) (SUBTYPE . DISPOSITION)...)
| (TYPE . DISPOSITION)
|
| Where REGEXP is a string which matches the file name (if any) of an
| attachment, SUPERTYPE, SUBTYPE and TYPE should be symbols which are a
| MIME supertype (e.g., text), a MIME subtype (e.g., plain) and a MIME
| type (e.g., text/plain) respectively, and DISPOSITION should be either
| the string "attachment" or the string "inline". The value t for
| SUPERTYPE, SUBTYPE or TYPE matches any of those types. The first
| match found will be used.
`----
--
:: Igor Sosa Mayor :: joseleopoldo1792@gmail.com ::
:: GnuPG: 0x1C1E2890 :: http://www.gnupg.org/ ::
:: jabberid: rogorido :: ::
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Sending HTML as Attachment in gnus
[not found] ` <mailman.2036.1400969160.1147.help-gnu-emacs@gnu.org>
@ 2014-05-24 22:29 ` Emanuel Berg
0 siblings, 0 replies; 4+ messages in thread
From: Emanuel Berg @ 2014-05-24 22:29 UTC (permalink / raw)
To: help-gnu-emacs
Igor Sosa Mayor <joseleopoldo1792@gmail.com> writes:
> I'm not sure, but I think you should have a look at
> mml-content-disposition-alist
Yes, this
(setq mml-content-disposition-alist '((t . "attachment")))
should get you attachment as default (hit RET) no matter.
--
underground experts united:
http://user.it.uu.se/~embe8573
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-05-24 22:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-24 19:40 Sending HTML as Attachment in gnus Esben Stien
2014-05-24 22:05 ` Igor Sosa Mayor
[not found] ` <mailman.2036.1400969160.1147.help-gnu-emacs@gnu.org>
2014-05-24 22:29 ` Emanuel Berg
[not found] <mailman.2024.1400960424.1147.help-gnu-emacs@gnu.org>
2014-05-24 20:34 ` Emanuel Berg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).