info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gnus: How to save *all* attachments at once [gnus-summary-save-parts


From: Reiner Steib
Subject: Re: Gnus: How to save *all* attachments at once [gnus-summary-save-parts]?
Date: Mon, 28 Nov 2011 21:15:21 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

On Mon, Nov 28 2011, Marius Hofert wrote:

> If I use "X m" to save (all) email attachments, I am first asked
> "Save parts of type: image/.*" and then in which folder to save the
> attachments. I would like to adjust these settings to save some
> typing. My goal is to set the default so that attachments are saved
> in ~/Downloads and that _all_ attachments are saved on this single
> key combination (X m).
>
> I managed to set the directory to ~/Downloads via
> (setq gnus-summary-save-parts-last-directory "~/Downloads")

,----[ <f1> v mm-default-directory RET ]
| mm-default-directory is a variable defined in `mm-decode.el'.
| Its value is 
| "~/Mail/Attachments/"
| 
| Documentation:
| The default directory where mm will save files.
| If not set, `default-directory' will be used.
| 
| You can customize this variable.
`----

Hm, `X m' doesn't seem to honor this, but `K o' does.

> To save _all_ attachments by default, I put in .gnus.el:
> (setq gnus-summary-save-parts "*.*")
> However, I'm stil asked for image/.*. How can I specify to save all
> attachments at once [not only images]?

,----[ <f1> v gnus-summary-save-parts-default-mime RET ]
| gnus-summary-save-parts-default-mime is a variable defined in `gnus-sum.el'.
| Its value is "image/.*"
| 
| Documentation:
| *A regexp to match MIME parts when saving multiple parts of a
| message with `gnus-summary-save-parts' (X m).
| This regexp will be used by default when prompting the user for which
| type of files to save.
| 
| You can customize this variable.
`----

> Is there already a simpler key combination for saving all attachments? I found
> "K a" 

`K a' is undefined.

> (which is intuitive since "K o" saves particular attachments)

I guess "o" comes from "output".

> but it didn't save anything.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]