GNU bug report logs - #34654
Attaching a file with a new name in a message

Previous Next

Package: emacs;

Reported by: Abdo Haji-Ali <abdo.haji.ali <at> gmail.com>

Date: Mon, 25 Feb 2019 20:40:01 UTC

Severity: normal

Tags: fixed

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Abdo Haji-Ali <abdo.haji.ali <at> gmail.com>
Cc: 34654 <at> debbugs.gnu.org
Subject: bug#34654: Attaching a file with a new name in a message
Date: Mon, 13 May 2019 16:13:05 -0400
Abdo Haji-Ali <abdo.haji.ali <at> gmail.com> writes:

> Content-Disposition: attachment; filename="old-name.pdf"
>
> Even when I set the 'recipient-filename' and 'name' properties.
> Looking through the source, it seems that line 904 in mml.el always
> sets the Content-Disposition filename to the original filename,
> disregarding the 'recipient-filename' and 'name' properties.
>
> Is this intentional? Is there another to achieve what I want?

It looks like the documented recipient-filename functionality was never
actually implemented?  I grepped through the sources for
"recipient-filename" and found nothing.  Weird.

Anyway, I've now added the functionality to Emacs 27.1.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 6 years and 6 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.