Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: supermiri123@gmail.com
To: gnu.emacs.gnus@googlegroups.com
Cc: info-gnus-english@gnu.org
Subject: Re: Setting up gnus: read on local, store remote (but not on mailserver)
Date: Tue, 26 Feb 2013 23:56:34 -0800 (PST)	[thread overview]
Message-ID: <857b9155-899d-4161-878b-c653877457b4@googlegroups.com> (raw)
In-Reply-To: <mailman.20848.1361833630.855.info-gnus-english@gnu.org>

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

  parent reply	other threads:[~2013-02-27  7:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-25 13:24 supermiri123
2013-02-25 15:03 ` W. Greenhouse
     [not found] ` <mailman.20803.1361804622.855.info-gnus-english@gnu.org>
2013-02-25 18:04   ` supermiri123
2013-02-25 19:36     ` W. Greenhouse
     [not found]     ` <mailman.20819.1361821041.855.info-gnus-english@gnu.org>
2013-02-25 20:34       ` supermiri123
2013-02-25 23:06         ` W. Greenhouse
     [not found]         ` <mailman.20848.1361833630.855.info-gnus-english@gnu.org>
2013-02-27  7:56           ` supermiri123 [this message]
2013-02-27  9:17             ` supermiri123
2013-02-28 17:30             ` W. Greenhouse

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=857b9155-899d-4161-878b-c653877457b4@googlegroups.com \
    --to=supermiri123@gmail.com \
    --cc=gnu.emacs.gnus@googlegroups.com \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).