Gnus development mailing list
 help / color / mirror / Atom feed
* Pruning attachments
@ 2020-02-19  8:56 Didier Verna
  2020-02-19 14:11 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Didier Verna @ 2020-02-19  8:56 UTC (permalink / raw)
  To: Gnus Beta Testers


   Hello,

now that I'm running short on Gmail storage, I figured there are many
emails with attachments that I would like to keep, but without the
attachments (for example because I saved them somewhere else).

Is there a way in Gnus/nnimap to save and email but get rid of the
attachments?

Thanks!

-- 
Resistance is futile. You will be jazzimilated.

Jazz site:   http://www.didierverna.com
Other sites: http://www.didierverna.info



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

* Re: Pruning attachments
  2020-02-19  8:56 Pruning attachments Didier Verna
@ 2020-02-19 14:11 ` Lars Ingebrigtsen
  2020-02-19 21:23   ` Dan Christensen
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Ingebrigtsen @ 2020-02-19 14:11 UTC (permalink / raw)
  To: Gnus Beta Testers

Didier Verna <didier@didierverna.net> writes:

> now that I'm running short on Gmail storage, I figured there are many
> emails with attachments that I would like to keep, but without the
> attachments (for example because I saved them somewhere else).
>
> Is there a way in Gnus/nnimap to save and email but get rid of the
> attachments?

If you hit `e' on an nnimap message containing attachments, you can then
edit it to delete the attachments.  This can probably be automated
pretty easily...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



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

* Re: Pruning attachments
  2020-02-19 14:11 ` Lars Ingebrigtsen
@ 2020-02-19 21:23   ` Dan Christensen
  0 siblings, 0 replies; 3+ messages in thread
From: Dan Christensen @ 2020-02-19 21:23 UTC (permalink / raw)
  To: ding

On Feb 19, 2020, Lars Ingebrigtsen <larsi@gnus.org> wrote:

> Didier Verna <didier@didierverna.net> writes:
>
>> now that I'm running short on Gmail storage, I figured there are many
>> emails with attachments that I would like to keep, but without the
>> attachments (for example because I saved them somewhere else).
>>
>> Is there a way in Gnus/nnimap to save and email but get rid of the
>> attachments?
>
> If you hit `e' on an nnimap message containing attachments, you can then
> edit it to delete the attachments.  This can probably be automated
> pretty easily...

I use `d' on an attachment button to delete it, `C-o' to save it and
replace it with a link to where you save it, `r' to delete it and
replace it with a link to a specified, already existing file, etc.

On nnimap groups, this works, but is a bit flakey, often leaving both
the edited message and the original message around.  When that happens,
I just delete the original message.

Dan




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

end of thread, other threads:[~2020-02-19 21:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-19  8:56 Pruning attachments Didier Verna
2020-02-19 14:11 ` Lars Ingebrigtsen
2020-02-19 21:23   ` Dan Christensen

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 NNTP newsgroup(s).