all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "H. Dieter Wilhelm" <dieter@duenenhof-wilhelm.de>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 19202@debbugs.gnu.org
Subject: bug#19202: Suggestions for mml-attach-file
Date: Thu, 26 Jan 2017 06:03:16 +0100	[thread overview]
Message-ID: <9E7ADEAE-A915-4916-89D6-1A68C6B7539F@duenenhof-wilhelm.de> (raw)
In-Reply-To: <87bmuug8uk.fsf@gnus.org>

[-- Attachment #1: Type: text/plain, Size: 2001 bytes --]


On 25 January 2017 21:53:07 CET, Lars Ingebrigtsen <larsi@gnus.org> wrote:
>dieter@duenenhof-wilhelm.de (H. Dieter Wilhelm) writes:
>
>> would you mind to enhance the mml-attach-file command so that it
>doesn't
>> ask interactively for Type, Description and Disposition?  I'm mostly
>> happy with your defaults for them and it is becoming annoying to
>type,
>> especially for multiple attachments, RET RET RET all the time.
>
>Yes, I agree.  In almost all the cases it guesses correctly, and if
>there's anything I want to change (say "inline" to "attachment"), then
>I
>can just edit the MML tags inserted.  That requires some expert
>knowledge, though, so I'm not quite sure that everybody would be happy
>with such a change...

Ok

>> What do you think of an optional prefix argument of C-c C-a for
>> triggering the queries?  Or making two distinct commands: C-c C-a and
>> C-c RET f where the latter is querying by default and the former not?
>
>Hm...  Or perhaps `C-u C-c C-a' would avoid all the prompts?  That
>would
>be backwards-compatible...

Nice

>> It might also be helpful if the disposition could be guessed somehow.
>> For example for well know image file suffixes as inline MIME.
>
>I think it already guesses the disposition?
>
>(mml-content-disposition "image/png")
>=> "attachment"

I see,  thanks

>But it defaults images to attachment.  I'm not sure...  do people
>usually want images to be inline or attachments?  I'm not attached (heh
>heh) to the current defaults...
>
>Does anybody have opinions here?

I'd prefer inline images. Because one can't put multiple images into the message with above commands. So it seems more natural to scatter them between text.

And when we are at it. The only way I know to attach multiple documents in Gnus is with dired. It would be nice if one could trigger such a functionality within Gnus...
--
Thanks

  Dieter

Sent from my Android device with K-9 Mail. Please excuse my brevity.

[-- Attachment #2: Type: text/html, Size: 2431 bytes --]

  reply	other threads:[~2017-01-26  5:03 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87lhmxawy6.fsf@vsl28t2g.ww011>
2017-01-25 20:53 ` bug#19202: Suggestions for mml-attach-file Lars Ingebrigtsen
2017-01-26  5:03   ` H. Dieter Wilhelm [this message]
2017-01-26 17:19     ` Lars Ingebrigtsen
2017-01-26 17:22     ` Lars Ingebrigtsen
2017-01-26 20:37       ` Marcin Borkowski
2017-01-26 20:40         ` Lars Ingebrigtsen
2017-01-26 21:26           ` Noam Postavsky
2017-01-26 21:30             ` Lars Ingebrigtsen
2017-01-26 21:44               ` Noam Postavsky
2017-01-26 14:08   ` Rasmus
2017-01-26 14:12     ` 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=9E7ADEAE-A915-4916-89D6-1A68C6B7539F@duenenhof-wilhelm.de \
    --to=dieter@duenenhof-wilhelm.de \
    --cc=19202@debbugs.gnu.org \
    --cc=larsi@gnus.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.