Re: Attaching (compressed) files to bug reports with M-x mail-attach-file?
On 2014-08-20 15:31 +0200, Axel Beckert wrote:
> Hi,
>
> for a bug report about a segfault I wanted to attach a huge backtrace
> (over 3 MB). I've compressed it with xz to a 33kb file. I wrote the
> bug report with M-x debian-bug as usual and then attached the
> compressed file with M-x mail-attache-file.
>
> The file showed up uncompressed in the buffer in which I was writing
> the bug report. I suspected that this is just a convenience view and
> sent the report. 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.
> 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).
Cheers,
Sven
Reply to: