help-gnu-emacs
[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: Memnon Anon
Subject: Re: Gnus: How to save *all* attachments at once [gnus-summary-save-parts]?
Date: Sun, 27 Nov 2011 23:58:12 +0000 (UTC)

BTW: There is a separate gnus group.

Marius Hofert <marius.hofert@math.ethz.ch> writes:

> If I use X m to save (all) email attachments, I am first asked "Save
> parts of type: image/.*" and then in which folder. I would like to
> adjust these default settings. I managed to set the directory to
> ~/Downloads via (setq gnus-summary-save-parts-last-directory
> "~/Downloads")

Mhh.
Thats an "internal variable". Not sure if you should fiddle with that...

> I would like to save _all_ attachments as default, so 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]?

Mhh.
The docstring of function (!) `gnus-summary-save-parts' does not explain
N... 

I just did a quick try with 

  (gnus-summary-save-parts ".*" "/home/memnon/tmp/" current-prefix-arg) 

which kind of did what you want, but I don't really want to recommend
that. Better to ask on the gnus list.

And there is also:
,----
| 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.
`----

Memnon





reply via email to

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