Re: Attaching (compressed) files to bug reports with M-x mail-attach-file?
Sven Joachim wrote:
> On 2014-08-20 15:31 +0200, Axel Beckert wrote:
> > Unfortunately and to my surprise this did not do much else then
> > M-x insert-file and the full 3 MB were sent in plain-text.
> Considering the command's description ("Insert a file at the end of the
> buffer, with separator lines around it.") that should not really come as
> a surprise.
Considering the command's name, this description comes as a surprise.
I now see even less why it needs that command, or why it has the word
"attach" in it's name.
> > Is there any sane way to attach deliberately compressed text files to
> > bug reports written with M-x debian-bug?
> Use mml-attach-file, bound to C-c C-a in message-mode (the default mail
> composing mode since Emacs 23.2).
Thanks. Initially that looked exactly what I looked for. But on the
receiver side I got just that in the body of the mail sent with "M-x
<#part type="application/octet-stream" filename="/tmp/4982-0-0-11-1408532991-c-cactus--sbin-dhcpcd5.backtrace.xz" disposition=attachment description="Some compressed file">
But maybe that's related to also having post-mode.el loaded, as I use
mutt by default as MUA -- with Emacs as editor. That's likely also the
reason why C-c C-a is bound to mail-abbrev-insert-alias for me.
Will investigate further. Thanks again for pointing me into the right
,''`. | Axel Beckert <firstname.lastname@example.org>, http://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
`- | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5