Gnus development mailing list
 help / color / mirror / Atom feed
* download all attachments in one go
@ 2021-05-21  6:30 Uwe Brauer
  2021-05-21  6:39 ` [gnus-summary-save-parts does NOT respect file names] (was: download all attachments in one go) Uwe Brauer
  0 siblings, 1 reply; 8+ messages in thread
From: Uwe Brauer @ 2021-05-21  6:30 UTC (permalink / raw)
  To: ding

Hi

Recently I receive message that contains around 7 attachments (all text
files)

How can I save them in one go and not select them individually?

Regards

Uwe Brauer 



^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gnus-summary-save-parts does NOT respect file names] (was: download all attachments in one go)
  2021-05-21  6:30 download all attachments in one go Uwe Brauer
@ 2021-05-21  6:39 ` Uwe Brauer
  2021-05-21  9:19   ` [gnus-summary-save-parts does NOT respect file names] Pankaj Jangid
  0 siblings, 1 reply; 8+ messages in thread
From: Uwe Brauer @ 2021-05-21  6:39 UTC (permalink / raw)
  To: ding

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

>>> "UB" == Uwe Brauer <oub@mat.ucm.es> writes:

> Hi
> Recently I receive message that contains around 7 attachments (all text
> files)

> How can I save them in one go and not select them individually?

I tried out gnus-summary-save-parts
for a couple of text files that were sent as attachments. They were
saved as

nnimap+UCMgmail:INBOX.92889.1
nnimap+UCMgmail:INBOX.92889.2
nnimap+UCMgmail:INBOX.92889.3
nnimap+UCMgmail:INBOX.92889.4

Which make them useless. How can I configure that command to conserve
its original file name or is this a BUG?

Regards


[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gnus-summary-save-parts does NOT respect file names]
  2021-05-21  6:39 ` [gnus-summary-save-parts does NOT respect file names] (was: download all attachments in one go) Uwe Brauer
@ 2021-05-21  9:19   ` Pankaj Jangid
  2021-05-21 11:05     ` Uwe Brauer
  0 siblings, 1 reply; 8+ messages in thread
From: Pankaj Jangid @ 2021-05-21  9:19 UTC (permalink / raw)
  To: ding

Uwe Brauer <oub@mat.ucm.es> writes:

> I tried out gnus-summary-save-parts
> for a couple of text files that were sent as attachments. They were
> saved as
>
> nnimap+UCMgmail:INBOX.92889.1
> nnimap+UCMgmail:INBOX.92889.2
> nnimap+UCMgmail:INBOX.92889.3
> nnimap+UCMgmail:INBOX.92889.4
>
> Which make them useless. How can I configure that command to conserve
> its original file name or is this a BUG?

I just tried it using the ‘X m’ shortcut. It saved all attachments with
the original names. I am using Emacs-28 from the ‘master’ branch.




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gnus-summary-save-parts does NOT respect file names]
  2021-05-21  9:19   ` [gnus-summary-save-parts does NOT respect file names] Pankaj Jangid
@ 2021-05-21 11:05     ` Uwe Brauer
  2021-05-21 15:46       ` Pankaj Jangid
  0 siblings, 1 reply; 8+ messages in thread
From: Uwe Brauer @ 2021-05-21 11:05 UTC (permalink / raw)
  To: ding

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

>>> "PJ" == Pankaj Jangid <pankaj@codeisgreat.org> writes:

> Uwe Brauer <oub@mat.ucm.es> writes:
>> I tried out gnus-summary-save-parts
>> for a couple of text files that were sent as attachments. They were
>> saved as
>> 
>> nnimap+UCMgmail:INBOX.92889.1
>> nnimap+UCMgmail:INBOX.92889.2
>> nnimap+UCMgmail:INBOX.92889.3
>> nnimap+UCMgmail:INBOX.92889.4
>> 
>> Which make them useless. How can I configure that command to conserve
>> its original file name or is this a BUG?

> I just tried it using the ‘X m’ shortcut. It saved all attachments with
> the original names. I am using Emacs-28 from the ‘master’ branch.

So do I! Emacs28 master. Where do you use this function in the message
or in the summary buffer?

Do you use the imap backend?



[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gnus-summary-save-parts does NOT respect file names]
  2021-05-21 11:05     ` Uwe Brauer
@ 2021-05-21 15:46       ` Pankaj Jangid
  2021-05-22  5:32         ` Pankaj Jangid
  0 siblings, 1 reply; 8+ messages in thread
From: Pankaj Jangid @ 2021-05-21 15:46 UTC (permalink / raw)
  To: ding

Uwe Brauer <oub@mat.ucm.es> writes:

>> I just tried it using the ‘X m’ shortcut. It saved all attachments with
>> the original names. I am using Emacs-28 from the ‘master’ branch.
>
> So do I! Emacs28 master. Where do you use this function in the message
> or in the summary buffer?
>
> Do you use the imap backend?

I used it from summary buffer and I am using IMAP backend.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gnus-summary-save-parts does NOT respect file names]
  2021-05-21 15:46       ` Pankaj Jangid
@ 2021-05-22  5:32         ` Pankaj Jangid
  2021-05-22  5:39           ` Emanuel Berg
  0 siblings, 1 reply; 8+ messages in thread
From: Pankaj Jangid @ 2021-05-22  5:32 UTC (permalink / raw)
  To: ding

Pankaj Jangid <pankaj@codeisgreat.org> writes:

>>> I just tried it using the ‘X m’ shortcut. It saved all attachments with
>>> the original names. I am using Emacs-28 from the ‘master’ branch.
>>
>> So do I! Emacs28 master. Where do you use this function in the message
>> or in the summary buffer?
>>
>> Do you use the imap backend?
>
> I used it from summary buffer and I am using IMAP backend.

Sorry for my ignorance. I have just now tried ‘X m’ on a newly received
email with some invoices. I got following output:

AIN2122000504948.pdf
AIN2122000504950.pdf
AIN2122000504953.pdf
nnimap+gml:INBOX.153434.1
nnimap+gml:INBOX.153434.2

Last two files are actually the text and HTML parts from the
email. First three are the attachments.




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gnus-summary-save-parts does NOT respect file names]
  2021-05-22  5:32         ` Pankaj Jangid
@ 2021-05-22  5:39           ` Emanuel Berg
  2021-05-22 17:15             ` Uwe Brauer
  0 siblings, 1 reply; 8+ messages in thread
From: Emanuel Berg @ 2021-05-22  5:39 UTC (permalink / raw)
  To: ding

Pankaj Jangid wrote:

> Sorry for my ignorance. I have just now tried ‘X m’ on a newly received
> email with some invoices. I got following output:
>
> AIN2122000504948.pdf
> AIN2122000504950.pdf
> AIN2122000504953.pdf
> nnimap+gml:INBOX.153434.1
> nnimap+gml:INBOX.153434.2
>
> Last two files are actually the text and HTML parts from the
> email. First three are the attachments.

gnus-summary-save-parts

;; mm
(setq gnus-inhibit-mime-unbuttonizing  nil)
(setq mm-attachment-file-modes         420)
(setq mm-body-charset-encoding-alist  '((utf-8 . 8bit)))
(setq mm-discouraged-alternatives     '("text/html" "text/richtext"))
(setq mm-text-html-renderer           'w3m)

-- 
underground experts united
https://dataswamp.org/~incal



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gnus-summary-save-parts does NOT respect file names]
  2021-05-22  5:39           ` Emanuel Berg
@ 2021-05-22 17:15             ` Uwe Brauer
  0 siblings, 0 replies; 8+ messages in thread
From: Uwe Brauer @ 2021-05-22 17:15 UTC (permalink / raw)
  To: ding

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

>>> "EB" == Emanuel Berg <moasenwood@zoho.eu> writes:

> Pankaj Jangid wrote:
>> Sorry for my ignorance. I have just now tried ‘X m’ on a newly received
>> email with some invoices. I got following output:
>> 
>> AIN2122000504948.pdf
>> AIN2122000504950.pdf
>> AIN2122000504953.pdf
>> nnimap+gml:INBOX.153434.1
>> nnimap+gml:INBOX.153434.2
>> 
>> Last two files are actually the text and HTML parts from the
>> email. First three are the attachments.

> gnus-summary-save-parts

> ;; mm
> (setq gnus-inhibit-mime-unbuttonizing  nil)
> (setq mm-attachment-file-modes         420)
> (setq mm-body-charset-encoding-alist  '((utf-8 . 8bit)))
> (setq mm-discouraged-alternatives     '("text/html" "text/richtext"))
> (setq mm-text-html-renderer           'w3m)

Thanks that seems to help

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-05-22 17:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-21  6:30 download all attachments in one go Uwe Brauer
2021-05-21  6:39 ` [gnus-summary-save-parts does NOT respect file names] (was: download all attachments in one go) Uwe Brauer
2021-05-21  9:19   ` [gnus-summary-save-parts does NOT respect file names] Pankaj Jangid
2021-05-21 11:05     ` Uwe Brauer
2021-05-21 15:46       ` Pankaj Jangid
2021-05-22  5:32         ` Pankaj Jangid
2021-05-22  5:39           ` Emanuel Berg
2021-05-22 17:15             ` Uwe Brauer

Gnus development mailing list

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/ding

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 ding ding/ http://inbox.vuxu.org/ding \
		ding@inbox.vuxu.org
	public-inbox-index ding

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.emacs.gnus.general


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git