From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: Re: Gnus and local mirroring Date: Fri, 14 Sep 2018 11:03:42 -0700 Message-ID: <87ftycyn0h.fsf@ericabrahamsen.net> References: <86va7afpda.fsf@zoho.com> <83musmktmv.fsf@gnu.org> <87r2hxstkw.fsf@delle7240.chemeng.ucl.ac.uk> <837ejplc7p.fsf@gnu.org> <87zhwlzct5.fsf@gmail.com> <87d0tgh6rx.fsf@hornfels.zedat.fu-berlin.de> <87zhwko6uy.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1536948142 27321 195.159.176.226 (14 Sep 2018 18:02:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 14 Sep 2018 18:02:22 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 14 20:02:17 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g0sQ5-0006zp-DV for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Sep 2018 20:02:17 +0200 Original-Received: from localhost ([::1]:52809 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g0sSC-0003Ap-1y for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Sep 2018 14:04:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56325) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g0sRi-00038r-Of for help-gnu-emacs@gnu.org; Fri, 14 Sep 2018 14:03:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g0sRe-0000xL-NC for help-gnu-emacs@gnu.org; Fri, 14 Sep 2018 14:03:58 -0400 Original-Received: from [195.159.176.226] (port=51996 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g0sRe-0000uC-Fq for help-gnu-emacs@gnu.org; Fri, 14 Sep 2018 14:03:54 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1g0sPR-0006AY-QS for help-gnu-emacs@gnu.org; Fri, 14 Sep 2018 20:01:37 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 23 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:q6thaWmjvpLFYbqpgEOWhG9YveY= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:117922 Archived-At: Stefan Monnier writes: >> You could use the gnus agent to keep a local copy of your email and >> search that (or offlineimap, and probably others) > > This is the aspect that I think needs work in Gnus: the "normal" way to > work with IMAP should be to keep a local mirror, but the gnus-agent only > keeps a partial mirror (hence not good enough for search, for example), > and offline-imap requires significant extra manual work (and was not > even really well supported by Gnus last time I tried, because if your > local mirror uses maildir, Gnus didn't store the whole metadata in the > Maildir but keeps some in its .newsrc.eld or something like that, so > other clients connecting to the IMAP search aren't told the whole > story). Wouldn't this require writing an IMAP server in Elisp? Or I suppose Gnus could keep the messages in a local maildir, and then do double operations on the local maildir and the remote server? I don't know what this would look like, and it sounds fairly difficult. I agree that Gnus doesn't need to keep its own set of marks in .newsrc.eld for IMAP servers, it's mostly redundant and prone to sync errors.