all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
To: 36572@debbugs.gnu.org
Subject: bug#36572: Proposal: mm-default-filename-template
Date: Wed, 10 Jul 2019 05:54:24 +0800	[thread overview]
Message-ID: <87a7dmx4a7.5.fsf@jidanni.org> (raw)

Don't you hate when you have to fill in the blank to an empty
Save MIME part to: ~/
prompt?

Sure one can set mm-default-directory, but what about the filename?

(Yes, one can cheat a little (setq mm-default-directory "/tmp/vvv-"))

So there should be some filename template variable, nil by default, that
will prompt to save to xyz-%d.%s e.g., xyz-001.html depending if that
file doesn't exist yet.

Even GIMP prompts with Untitled.jpg.
Even  ... prompts with ...

Let's take a look at a typical HTML mail,

! MIME-Version: 1.0
! Content-Type: text/html; charset=utf-8
! Content-Transfer-Encoding: base64

So here we can already know we can help the user put an .html at the end
of the proposed target filename.

Gnus v5.13
GNU Emacs 26.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.4)
 of 2019-02-03, modified by Debian





             reply	other threads:[~2019-07-09 21:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-09 21:54 積丹尼 Dan Jacobson [this message]
2019-07-10 12:20 ` bug#36572: Proposal: mm-default-filename-template Lars Ingebrigtsen

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

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

  git send-email \
    --in-reply-to=87a7dmx4a7.5.fsf@jidanni.org \
    --to=jidanni@jidanni.org \
    --cc=36572@debbugs.gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.