From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/89003 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Dan Christensen Newsgroups: gmane.emacs.gnus.general Subject: Re: Pruning attachments Date: Wed, 19 Feb 2020 16:23:47 -0500 Message-ID: <87imk2fezg.fsf@uwo.ca> References: <87y2sy7jlt.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="50550"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) To: ding@gnus.org Cancel-Lock: sha1:q56DtXFtNdemyfsvgnqXhBvp1Tg= Original-X-From: ding-owner+M37206@lists.math.uh.edu Thu Feb 20 17:29:14 2020 Return-path: Envelope-to: ding-account@m.gmane-mx.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j4ohO-000D35-A0 for ding-account@m.gmane-mx.org; Thu, 20 Feb 2020 17:29:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.92.3) (envelope-from ) id 1j4ogX-0000gl-W7; Thu, 20 Feb 2020 10:28:22 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1j4WpD-0000Tb-UC for ding@lists.math.uh.edu; Wed, 19 Feb 2020 15:24:07 -0600 Original-Received: from quimby.gnus.org ([95.216.78.240]) by mx2.math.uh.edu with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1j4WpC-0005YW-B4 for ding@lists.math.uh.edu; Wed, 19 Feb 2020 15:24:07 -0600 Original-Received: from ciao.gmane.io ([159.69.161.202]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j4Wp5-0002p4-Ux for ding@gnus.org; Wed, 19 Feb 2020 22:24:02 +0100 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1j4Wp2-0005Tx-M2 for ding@gnus.org; Wed, 19 Feb 2020 22:23:56 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Mail-Copies-To: never List-ID: Precedence: bulk Xref: news.gmane.io gmane.emacs.gnus.general:89003 Archived-At: On Feb 19, 2020, Lars Ingebrigtsen wrote: > Didier Verna 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