Gnus development mailing list
 help / color / Atom feed
From: Dan Christensen <jdc@uwo.ca>
To: ding@gnus.org
Subject: Re: Pruning attachments
Date: Wed, 19 Feb 2020 16:23:47 -0500
Message-ID: <87imk2fezg.fsf@uwo.ca> (raw)
In-Reply-To: <87y2sy7jlt.fsf@gnus.org>

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




      reply index

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-19  8:56 Didier Verna
2020-02-19 14:11 ` Lars Ingebrigtsen
2020-02-19 21:23   ` Dan Christensen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87imk2fezg.fsf@uwo.ca \
    --to=jdc@uwo.ca \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Gnus development mailing list

Archives are clonable: git clone --mirror http://inbox.vuxu.org/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