Re: RFC/PATCH emacs attachment handling

Subject: Re: RFC/PATCH emacs attachment handling

Date: Wed, 07 Sep 2011 10:06:36 +0300

To: Mark Walters

Cc: Notmuch Mail

From: Tomi Ollila


On Wed 07 Sep 2011 04:20, Mark Walters <markwalters1009@gmail.com> writes:

> Hello
>
> I have modified the emacs interface for handling attachments by adding
> a keymap to the attachment button. For example pressing v when on an
> attachment button views the attachment (using the mailcap method) and
> pressing s saves the attachment. I find this makes it a lot easier
> when dealing with message with lots of attachments.

In my gnus (haven't got rid the latest one, yet ;) :

Pressing ENTER (RET) on top of text/html content: w3m-safe-view-this-url
Pressing ENTER (RET) on top of text content: widget-button-press
Pressing ENTER (RET) on top of an attachment: gnus-article-press-button

Pressing 'o' on top of text executes: gnus-summary-save-article
Pressing 'o' on top of an attachment: gnus-mime-save-part

To user that is:

Pressing Enter on top of an attachment will either show the attachment on
buffer (in case there is 'converter' defined) or offer to save the
attachment. Pressing 'o' on top of an attachment will always offer to save
the attachment.

Therefore I'd check rmail / gnus / vm / mh-e to check what keybindings those
use and if there are some commonalities, align with those.

>
> Best wishes
>
> Mark
>

Tomi

Thread: