GNU bug report logs - #36572
Proposal: mm-default-filename-template

Previous Next

Packages: emacs, gnus;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Wed, 10 Jul 2019 07:24:01 UTC

Severity: wishlist

Tags: wontfix

Found in version 5.13

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 36572 in the body.
You can then email your comments to 36572 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#36572; Package emacs,gnus. (Wed, 10 Jul 2019 07:24:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org. (Wed, 10 Jul 2019 07:24:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: submit <at> debbugs.gnu.org (The Gnus Bugfixing Girls + Boys)
Subject: Proposal: mm-default-filename-template
Date: Wed, 10 Jul 2019 05:54:24 +0800
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




Information forwarded to bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#36572; Package emacs,gnus. (Wed, 10 Jul 2019 12:21:01 GMT) Full text and rfc822 format available.

Message #8 received at 36572 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 36572 <at> debbugs.gnu.org
Subject: Re: bug#36572: Proposal: mm-default-filename-template
Date: Wed, 10 Jul 2019 14:20:23 +0200
積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:

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

If the MIME part doesn't have a specified file name, then I don't think
Emacs can usefully suggest anything as a default name, and it's kinda
un-emacsey.  If you've opened a buffer and activated html-mode, `C-x
C-w' doesn't suggest "Untitled.html" as a file name, but leaves that up
to the user.

Closing.

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




Added tag(s) wontfix. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 10 Jul 2019 12:21:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 36572 <at> debbugs.gnu.org and 積丹尼 Dan Jacobson <jidanni <at> jidanni.org> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 10 Jul 2019 12:21:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 08 Aug 2019 11:24:05 GMT) Full text and rfc822 format available.

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

Previous Next


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