From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/16136 Path: news.gmane.org!not-for-mail From: supermiri123@gmail.com Newsgroups: gmane.emacs.gnus.user Subject: Re: Setting up gnus: read on local, store remote (but not on mailserver) Date: Tue, 26 Feb 2013 23:56:34 -0800 (PST) Message-ID: <857b9155-899d-4161-878b-c653877457b4@googlegroups.com> References: <5896e2dc-a264-4ea7-b250-9e95cfaf01a2@googlegroups.com> <0afcb7dc-9d2d-45cd-96a1-60ae6ae00bd5@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 1361951804 18360 80.91.229.3 (27 Feb 2013 07:56:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Feb 2013 07:56:44 +0000 (UTC) Cc: info-gnus-english@gnu.org To: gnu.emacs.gnus@googlegroups.com Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Wed Feb 27 08:57:04 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 1UAbss-0007Jf-Rw for gegu-info-gnus-english@m.gmane.org; Wed, 27 Feb 2013 08:57:02 +0100 Original-Received: from localhost ([::1]:57847 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAbsX-0005Ti-PX for gegu-info-gnus-english@m.gmane.org; Wed, 27 Feb 2013 02:56:41 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:38641) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAbsU-0005T8-5E for info-gnus-english@gnu.org; Wed, 27 Feb 2013 02:56:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UAbsR-0006LB-FR for info-gnus-english@gnu.org; Wed, 27 Feb 2013 02:56:38 -0500 Original-Received: from mail-oa0-f62.google.com ([209.85.219.62]:64907) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAbsR-0006L4-Ao for info-gnus-english@gnu.org; Wed, 27 Feb 2013 02:56:35 -0500 Original-Received: by mail-oa0-f62.google.com with SMTP id l10so132047oag.27 for ; Tue, 26 Feb 2013 23:56:34 -0800 (PST) X-Received: by 10.49.120.67 with SMTP id la3mr78225qeb.12.1361951794324; Tue, 26 Feb 2013 23:56:34 -0800 (PST) Original-Path: glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.gnus In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=128.131.43.31; posting-account=nQgpAgoAAAAHPO8s4-iuK5qphr8H79NA Original-NNTP-Posting-Host: 128.131.43.31 User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-IP: 128.131.43.31 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.219.62 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:16136 Archived-At: OK, I've *almost* got it working. I did the following via customize: (gnus-home-directory "/scpc:YYY@XXX.ZZ:~") (message-directory "/scpc:YYY@XXX.ZZ:~/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@XXX.ZZ:~/Mail/archive") (nnfolder-active-file "/scpc:YYY@XXX.ZZ:~/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). 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? Martin