unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Abdo Haji-Ali <abdo.haji.ali@gmail.com>
Cc: 34654@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	[thread overview]
Message-ID: <87tvdyru3y.fsf@mouse.gnus.org> (raw)
In-Reply-To: <CAAhfW2xGEXtHhKVBGL83qFC09CGgcYteM_82EVNSTOM3XE4WXw@mail.gmail.com> (Abdo Haji-Ali's message of "Mon, 25 Feb 2019 18:42:05 +0000")

Abdo Haji-Ali <abdo.haji.ali@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





      parent reply	other threads:[~2019-05-13 20:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-25 18:42 bug#34654: Attaching a file with a new name in a message Abdo Haji-Ali
2019-03-31  1:23 ` Federico Tedin
2019-05-13 20:13 ` Lars Ingebrigtsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tvdyru3y.fsf@mouse.gnus.org \
    --to=larsi@gnus.org \
    --cc=34654@debbugs.gnu.org \
    --cc=abdo.haji.ali@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).