From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/16978 Path: news.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.gnus.user Subject: Re: archiving threads one contributes to Date: Wed, 23 Jul 2014 16:25:04 +0200 Organization: Aioe.org NNTP Server Message-ID: <878unk9mpr.fsf@debian.uxu> References: <8761ipnuxe.fsf@thumper.dhh.gt.org> <878unljfiu.fsf@debian.uxu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1406125951 21642 80.91.229.3 (23 Jul 2014 14:32:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Jul 2014 14:32:31 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Wed Jul 23 16:32:25 2014 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X9xaf-0002pt-Eq for gegu-info-gnus-english@m.gmane.org; Wed, 23 Jul 2014 16:32:21 +0200 Original-Received: from localhost ([::1]:45396 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9xae-000106-Id for gegu-info-gnus-english@m.gmane.org; Wed, 23 Jul 2014 10:32:20 -0400 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!news.stack.nl!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 51 Original-NNTP-Posting-Host: SIvZRMPqRkkTHAHL6NkRuw.user.speranza.aioe.org Original-X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-Notice: Filtered by postfilter v. 0.8.2 Cancel-Lock: sha1:AF/Xgp5hUlFOgwJB+g71UpmGw8o= Mail-Copies-To: never Original-Xref: usenet.stanford.edu gnu.emacs.gnus:88108 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:16978 Archived-At: Alan Schmitt writes: > My problem is twofolds: how do I make sure that the > files corresponding to threads I've replied to remain > on my hard drive, while other files may be cleared at > some point You mean, you will delete the other files manually? > and how do I integrate these file to my mail search > infrastructure (which is using notmuch). I have no experience of notmuch, but perhaps it can sort your mails in directories based on threads? > Copying the articles into a mailbox seems to be the > most straightforward way to solve both issues, I just > don't know how to do it automatically. Well, I don't see why you would want to delete any files to begin with - just lots of extra work, it seems to me, for no obvious advantage (?). If there isn't any Gnus library or other software that will help you with this, you'll have to record the subjects and message IDs of the posts you send. As in: (defun save-sent-msg-data () ; save Message ID and Subject to a file ; (I don't know if the Message ID is available at ; this point - ?) ) (add-hook 'message-sent-hook 'save-sent-msg-data) Then, when you delete the unwanted messages, don't delete any that has a Subject that is listed in that file, or if any of your Message IDs is in the References header. Or, when you receive a post, do a corresponding check and, as you say, send it to a group. But this seems a bit sketchy so I recommend looking around if there isn't a time tested solution around... again, if you really feel you must delete the other files that is! -- underground experts united