Re: [notmuch] Snippet to jump to message in Gnus from notmuch-show buffer
authorCarl Worth <cworth@cworth.org>
Wed, 2 Dec 2009 20:51:41 +0000 (12:51 +1600)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:35:48 +0000 (09:35 -0800)
03/7aa7c1a3d685ac74424e4b09305b903d75456f [new file with mode: 0644]

diff --git a/03/7aa7c1a3d685ac74424e4b09305b903d75456f b/03/7aa7c1a3d685ac74424e4b09305b903d75456f
new file mode 100644 (file)
index 0000000..4cf482b
--- /dev/null
@@ -0,0 +1,148 @@
+Return-Path: <cworth@cworth.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id BCD75431FBD;\r
+       Wed,  2 Dec 2009 12:51:42 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id 23-5ZX46JBcu; Wed,  2 Dec 2009 12:51:41 -0800 (PST)\r
+Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id D4B24431FAE;\r
+       Wed,  2 Dec 2009 12:51:41 -0800 (PST)\r
+Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
+       id 961852542A9; Wed,  2 Dec 2009 12:51:41 -0800 (PST)\r
+From: Carl Worth <cworth@cworth.org>\r
+To: Tassilo Horn <tassilo@member.fsf.org>\r
+In-Reply-To: <87r5rjk4a1.fsf@thinkpad.tsdh.de>\r
+References: <87zl6cl595.fsf@thinkpad.tsdh.de>\r
+       <87d434qek6.fsf@yoom.home.cworth.org> <87r5rjk4a1.fsf@thinkpad.tsdh.de>\r
+Date: Wed, 02 Dec 2009 12:51:41 -0800\r
+Message-ID: <87y6ll85gi.fsf@yoom.home.cworth.org>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha1; protocol="application/pgp-signature"\r
+Cc: notmuch@notmuchmail.org\r
+Subject: Re: [notmuch] Snippet to jump to message in Gnus from notmuch-show\r
+ buffer\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.12\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 02 Dec 2009 20:51:42 -0000\r
+\r
+--=-=-=\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Fri, 27 Nov 2009 23:10:30 +0100, Tassilo Horn <tassilo@member.fsf.org> w=\r
+rote:\r
+> Well, if you only want to have a look at a maildir or mbox, and don't\r
+> want to make the group permanent and let gnus fetch mail, then this\r
+> should do the trick.\r
+>=20\r
+>   M-x gnus RET ;; brings you into the *Group* buffer, and then\r
+...\r
+> | `G m'\r
+> |      Make a new group (`gnus-group-make-group').  Gnus will prompt you\r
+\r
+For viewing an mbox, I successfully used "C-u G f" that you mentioned\r
+earlier. So I've at least now seen gnus in action, thanks!\r
+\r
+What I'd really to view is a maildir though, but I haven't gotten "G m"\r
+to work with that yet. It prompts me for a "group name", (which I assume\r
+is just an arbitrary string), then a "from method" which offers tab\r
+completion for things that look promising (such as "nnmh" and\r
+"nnmaildir") but I can't get anything to work past that. I never see\r
+anything prompting for an actual directory, and it either ends up\r
+creating an empty directory, (such as ${HOME}/Mail/<groupname>), or\r
+complaining "Wrong type argument: stringp, nil".\r
+\r
+I even guessthat that maybe it wants "nnmaildir:/path/to/maildir" or\r
+maybe "nnmaildir+/path/to/maildir" but the prompt won't accept either of\r
+these (just says "[No match]").\r
+\r
+And now I've got an entry in the *Group* buffer for each of my attempts,\r
+which variously complain ("Couldn't open server" for nnmaildir:foo,\r
+"Group nnmh:bar contains no messages", and "Couldn't activate group\r
+test: No such group"---I can't remember how I created that one).\r
+\r
+Where are all of these groups stored now? (I couldn't find anything\r
+matching ~/.gnus* nor any changes to my .emacs file.) Yet I still see\r
+these broken groups even with "emacs -q -f gnus". And how do I delete\r
+these?\r
+\r
+Update: It looks like I've got stuff in ~/.newsrc, ~/.newsrc-dribble,\r
+and ~/.newsrc.eld from my various thrashing here. Still not clear how to\r
+delete things---.newsrc.eld says I shouldn't delete it but should touch\r
+~/.newsrc instead, but that doesn't seem to have any effect. I went\r
+ahead and deleted ~/.newsrc* and most of this stuff does seem to be\r
+nicely cleaned up. All that's left is that I now get a warning on\r
+starting gnus of "Gnus auto-save file exits.  Do you want to read it? (y\r
+or n)". If I do read it, then I get some of the junk groups back. I\r
+can't figure out where this auto-save file exists, (it's even hiding\r
+From=20my attempt with strace).\r
+\r
+> This does only work if the group already exists inside Gnus.  So you\r
+> might consider setting it up properly, although it's a bit first-time\r
+> effort.\r
+\r
+I'll keep trying...\r
+\r
+> (setq gnus-select-method '(nnnil))\r
+\r
+Thanks for this! This allows me to start gnus without the annoying "go\r
+offline?" errors. And what's more, when I put this in my .emacs, delete\r
+all of ~/.newsrc*, *and* answer "no" to the prompt to read the gnus\r
+auto-save file---if I do all of that then I *finally* get the\r
+"gnus-help" group that I'm certain I was supposed to get the first time\r
+I ran "M-x gnus".\r
+\r
+So maybe I'll be able to find something in there.\r
+\r
+Hrm... still seeing the same inscrutable stuff that I find every time I\r
+try to read gnus documentation. The "I want to read my mail!" post\r
+describes "nnml" as "a one-file-one-mail backend" but then the closest\r
+it gets to how to use it is:\r
+\r
+       So if you want to go with nnmbox, you can simply say:\r
+\r
+       (setq gnus-secondary-select-methods '((nnmbox "")))\r
+\r
+       (The same for the other methods, kind of.)\r
+\r
+And I'm lost. Besides the "kind of", which just makes me uneasy, how\r
+does it make sense to configure an mbox backend with just an empty\r
+string? Surely something needs to be told where to find an actual mbox\r
+file?\r
+\r
+Or is this just selecting a backend for how GNUS should store mail that\r
+it fetches?\r
+\r
+Is there any hope for someone like me that doesn't want GNUS involved in\r
+fetching mail, but just wants to use GNUS to read mail files that I have\r
+in a big hierarchy of directories? I keep feeling there must be a simple\r
+document somewhere that explains how to do that---but I just can't find\r
+it.\r
+\r
+=2DCarl (hoping that notmuch will eventually be more approachable than gnus)\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.10 (GNU/Linux)\r
+\r
+iD8DBQFLFtNd6JDdNq8qSWgRArHJAJ9C5rnHlIJb4V6kAULViomE57CwgwCfZx3r\r
+shUkDJwgpEH13a7el041bH0=\r
+=OPyn\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r