From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/16138 Path: news.gmane.org!not-for-mail From: wgreenhouse-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org (W. Greenhouse) Newsgroups: gmane.emacs.gnus.user Subject: Re: Setting up gnus: read on local, store remote (but not on mailserver) Date: Thu, 28 Feb 2013 17:30:04 +0000 Message-ID: <87lia8bb37.fsf@riseup.net> References: <5896e2dc-a264-4ea7-b250-9e95cfaf01a2@googlegroups.com> <0afcb7dc-9d2d-45cd-96a1-60ae6ae00bd5@googlegroups.com> <857b9155-899d-4161-878b-c653877457b4@googlegroups.com> 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 1362072655 1553 80.91.229.3 (28 Feb 2013 17:30:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Feb 2013 17:30:55 +0000 (UTC) To: info-gnus-english-mXXj517/zsQ@public.gmane.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org-mXXj517/zsQ@public.gmane.org Thu Feb 28 18:31:18 2013 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 1UB7K8-0005eu-H5 for gegu-info-gnus-english@m.gmane.org; Thu, 28 Feb 2013 18:31:16 +0100 Original-Received: from localhost ([::1]:34590 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UB7Jn-0005gp-Hn for gegu-info-gnus-english@m.gmane.org; Thu, 28 Feb 2013 12:30:55 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:51838) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UB7JZ-0005g9-Pk for info-gnus-english-mXXj517/zsQ@public.gmane.org; Thu, 28 Feb 2013 12:30:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UB7JN-0005xI-Vy for info-gnus-english-mXXj517/zsQ@public.gmane.org; Thu, 28 Feb 2013 12:30:41 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:41630) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UB7JN-0005v4-Ml for info-gnus-english-mXXj517/zsQ@public.gmane.org; Thu, 28 Feb 2013 12:30:29 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UB7Jf-00054i-V3 for info-gnus-english-mXXj517/zsQ@public.gmane.org; Thu, 28 Feb 2013 18:30:47 +0100 Original-Received: from assk.torservers.net ([78.108.63.46]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 28 Feb 2013 18:30:47 +0100 Original-Received: from wgreenhouse by assk.torservers.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 28 Feb 2013 18:30:47 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 63 Original-X-Complaints-To: usenet-dbVV3NMTNubNLxjTenLetw@public.gmane.org X-Gmane-NNTP-Posting-Host: assk.torservers.net X-Archive: encrypt User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) Cancel-Lock: sha1:pQEkvyuRKr1EdcFMhdYyHR6TGUU= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: info-gnus-english-mXXj517/zsQ@public.gmane.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-mXXj517/zsQ@public.gmane.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org-mXXj517/zsQ@public.gmane.org Xref: news.gmane.org gmane.emacs.gnus.user:16138 Archived-At: Hi Martin, supermiri123-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org writes: > OK, I've *almost* got it working. I did the following via customize: > > (gnus-home-directory "/scpc:YYY-UAZjL2UjQio@public.gmane.org:~") > (message-directory "/scpc:YYY-UAZjL2UjQio@public.gmane.org:~/Mail/") > (gnus-secondary-select-methods (quote ((nnml "" (nnml-marks-is-evil t))))) > > This let me read my old mail which is stored with nnml. I had to set > nnml-marks-is-evil because otherwise tramp would encode and decode > every .marks file, which was annoying. > > However, the above does not let me read the archived mail stored with > nnfolder. For these, the path is explicitely in my .newsrc.eld file. > I tried to do > > (setq gnus-message-archive-method > '(nnfolder "archive" > (nnfolder-directory "/scpc:YYY-UAZjL2UjQio@public.gmane.org:~/Mail/archive") > (nnfolder-active-file "/scpc:YYY-UAZjL2UjQio@public.gmane.org:~/Mail/archive/active") > (nnfolder-get-new-mail nil) > (nnfolder-inhibit-expiry t) > (nnfolder-marks-is-evil t))) > > but this had no effect (I guess it will only affect newly created > archive folders). I would say (despite the warnings in the ~/.newsrc.eld file) that you can safely delete the line in your ~/.newsrc.eld where the nnfolder group is defined. For me it is a (setq gnus-server-alist ...) cell. The new nnfolder hierarchy should be detected from your settings. Also, you might want to make sure that those old archive folders aren't present but inactive. Enter A A to see your entire list of available groups from all backends (including nnfolder). You might want to do that to check before you try my idea above. > In fact, I'd rather have no explicit paths in .newsrc.eld at all, > because I do want to be able to use gnus by just taking the .emacs > with me. > > Any ideas? The mail-type backends including nnml and nnmaildir are *reasonably* portable in that the NOV and marks are always included within the folder itself, so that's all you really need to back up when changing systems. But you can't eliminate .newsrc.eld completely, AFAIK, as it holds both your group subscriptions and your marks for news-type backends (including some mail systems that Gnus implements in a net-news-esque way, like nnimap). One idea you might think about is that all Gnus directory variables inherit the `gnus-home-directory' variables, and most backends inherit `gnus-directory'. By setting these, you could just move everything to the rsync/scpc address and hopefully everything would just work. I'm excited to here that remote nnml is mostly workable, though. :) Is the performance acceptable? -- Regards, WGG