unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: asjo@koldfront.dk (Adam Sjøgren)
To: notmuch@notmuchmail.org
Subject: Re: Snippet to jump to message in Gnus from notmuch-show buffer
Date: Wed, 02 Dec 2009 22:12:28 +0100	[thread overview]
Message-ID: <87pr6xt70j.fsf@topper.koldfront.dk> (raw)
In-Reply-To: 87y6ll85gi.fsf@yoom.home.cworth.org

On Wed, 02 Dec 2009 12:51:41 -0800, Carl wrote:

> Hrm... still seeing the same inscrutable stuff that I find every time I
> try to read gnus documentation. The "I want to read my mail!" post
> describes "nnml" as "a one-file-one-mail backend" but then the closest
> it gets to how to use it is:

> 	So if you want to go with nnmbox, you can simply say:

> 	(setq gnus-secondary-select-methods '((nnmbox "")))

> 	(The same for the other methods, kind of.)

> And I'm lost. Besides the "kind of", which just makes me uneasy, how
> does it make sense to configure an mbox backend with just an empty
> string? Surely something needs to be told where to find an actual mbox
> file?

It uses its defaults.

I use nnml to store my email (I like the one-file per email, indexed).
To do that, I've simply added:

  ; Get email, and store in nnml:
  (setq gnus-secondary-select-methods '((nnml "")))

to my .gnus. Note that this makes Gnus fetch your email and store it in
nnml-"format" under ~/Mail/

I would expect that setting mail-sources to an empty list will make Gnus
not fetch your email for you.

If you store your maildirs somewhere Gnus doesn't expect, you can
configure the select-method further - see the nnmaildir node in the
manual for instance, you can set 'directory' etc.

> Or is this just selecting a backend for how GNUS should store mail that
> it fetches?

Yes, exactly.

> Is there any hope for someone like me that doesn't want GNUS involved in
> fetching mail, but just wants to use GNUS to read mail files that I have
> in a big hierarchy of directories?

Mail files in what format?

I think the quickest way to do that is using foreign groups (but I've
usually only used that to view mbox and RMAIL-files, maybe configuring a
secondary select method is better with maildir).

(It's "Gnus" by the way - "GNUS" was the predecessor of Gnus).

> I keep feeling there must be a simple document somewhere that explains
> how to do that---but I just can't find it.

Simple and Gnus isn't always compatible :-)


  Best regards,

   Adam

-- 
 "Favours for the ungrateful                                  Adam Sjøgren
  Unqualified & hateful"                                 asjo@koldfront.dk

  reply	other threads:[~2009-12-02 21:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-24  8:02 Snippet to jump to message in Gnus from notmuch-show buffer Tassilo Horn
2009-11-27 12:54 ` Carl Worth
2009-11-27 17:29   ` Kan-Ru Chen
2009-11-27 13:31 ` Carl Worth
2009-11-27 22:10   ` Tassilo Horn
2009-11-28 14:55     ` Adam Sjøgren
2009-12-02 20:51     ` Carl Worth
2009-12-02 21:12       ` Adam Sjøgren [this message]
2010-11-21  1:12 ` Brett Viren

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

  List information: https://notmuchmail.org/

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

  git send-email \
    --in-reply-to=87pr6xt70j.fsf@topper.koldfront.dk \
    --to=asjo@koldfront.dk \
    --cc=notmuch@notmuchmail.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.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

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 read-only IMAP folder(s) and NNTP newsgroup(s).