* Gnus: How to save *all* attachments at once [gnus-summary-save-parts]?
@ 2011-11-27 22:21 Marius Hofert
2011-11-27 23:58 ` Memnon Anon
0 siblings, 1 reply; 2+ messages in thread
From: Marius Hofert @ 2011-11-27 22:21 UTC (permalink / raw)
To: Emacs help
Hi,
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")
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]?
Cheers,
Marius
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Gnus: How to save *all* attachments at once [gnus-summary-save-parts]?
2011-11-27 22:21 Gnus: How to save *all* attachments at once [gnus-summary-save-parts]? Marius Hofert
@ 2011-11-27 23:58 ` Memnon Anon
0 siblings, 0 replies; 2+ messages in thread
From: Memnon Anon @ 2011-11-27 23:58 UTC (permalink / raw)
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-11-27 23:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-27 22:21 Gnus: How to save *all* attachments at once [gnus-summary-save-parts]? Marius Hofert
2011-11-27 23:58 ` Memnon Anon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).