I use 'nnmail-split-methods' to split my incoming mail. But frequently, different messages in the same thread will be split to different groups. For example, sender Foo starts a topic ("Subject: XYZ"), and gets filtered into my group for sender Foo. Then sender Bar (who was CC'd) follows up. Maybe I have a different group for Bar, or maybe that reply goes into my "misc" group... in any case, it ends up in a different place than the original mail from sender Foo. What I'm looking for is a way to keep threads together, hanging under the first received mail, whatever group that happens to be in. Any ideas? I've been reading the (endlessly entertaining) Gnus manual, but haven't spotted how to do this yet. FWIW, my ~/.gnus file is at http://svn.red-bean.com/repos/kfogel/trunk/.gnus (it loads some non-public .el files, though). There, that's what I meant to say. here's roughly what I do (setq nnimap-split-fancy '(| (: nnmail-split-fancy-with-parent) ...)) basically, `nnmail-split-fancy-with-parent' does what you'd like I think. hober: thank you, I'll take a look. I've always been a little confused about nnmail-* versus nnimap-*. I use the same .gnus file for two GNUS instances, one of which fetches mail via IMAP and one of which gets mail from local spool (work is the IMAP one, home is local spool, the local spool having been populated by fetchmail of course). I set 'nnmail-split-methods' and that works for both of them. Oh, it may be relevant that the work GNUS just uses IMAP as a mail source -- the mai l is still stored locally, *not* on the server. ahh, right. I use `nnimap-split-fancy' in this case because I leave IMAP mail on the server. So I'm not sure what all these "nnimap-" variables mean for me. My mail is always stored on local disk. I presume that means the "nnimap-" variables are pointless for me, right? hober: okay, yeah, your answer seems to indicate that. Thanks. A lot is getting cleared up for me now. :-) Oh, I already have this in my gnus: (setq nnmail-split-fancy '(| (: nnmail-split-fancy-with-parent))) It doesn't seem to be having the desired effect, though. hmm (setq nnmail-split-methods 'nnmail-split-fancy) * hroptatyr has quit (Read error: 104 (Connection reset by peer)) hober: but, right now I set nnmail-split-methods to a huge list of all my filters. If I just set it to 'nnmail-split-fancy', where does that list go? you'd move that list into your setq nnmail-split-fancy oh! That's the "..." in your example? e.g., (setq nnimap-split-fancy '(| (: nnmail-split-fancy-with-parent) (any "calatom-adhoc-l@calconnect\\.org" "INBOX.calatom") ...)) aaaaaaaaaaah I don't recognize that 'any', but maybe the docs explain that. Here's what the start of my nnmail-split-methods looks like right now: (setq nnmail-split-methods (list ;;; Spam for breakfast, spam for lunch, spam for dinner. (list "notspam" "\\(^Subject:.*\\[KNOTSPAM\\]\\|^X-Knot-Spam: .*\\)") (list "spam" "\\(^X-Spam-Status: Yes\\|\\(^From\\|^To\\):.*cyclic\\.com\\)") (list "spamprobe" "^X-SpamProbe: SPAM") ;;; Catch known commit mails early: (list "red-bean.cvsroot.commits" "^To:.*CVSROOT-cvs@.*red-bean") (list "roadmail.commits" "^To:.*RoadMail-cvs@.*red-bean") (list "red-bean.apache.commits" "^To:.*apache-cvs@.*red-bean") etc etc right the fancy format is a little different, but transforming one to the other shouldn't be all that difficult For instance, take (list "red-bean.apache.commits" "^To:.*apache-cvs@.*red-bean") * kfogel listens I think that might be (to ".*apache-cvs@.*read-bean" "read-bean.apache.commits") ok I'll read up the docs. Thank you! But frankly I don't remember much of anything about Gnus configuration. My ~/.gnus is a message from my past self, who actually knew about this. np If you ever need Subversion help, I'm at your service (kfogel@red-bean.com). Awesome. Thanks! :) Hey, if you can paste your entire 'nnmail-split-fancy' variable at (say) pastebin.ca, as an example, that would be a huge help. I understand if it's private and you can't, though. here you go: http://edward.oconnor.cx/tmp/nnimap-split-fancy .-----------------------------------------------------------------------. | (setq nnimap-split-crosspost nil | | nnimap-split-inbox '("INBOX")) | | | | (setq nnimap-split-rule | | '(("mail.evdb.com" ("INBOX" nnimap-split-fancy)))) | | | | (setq nnimap-split-fancy | | '(| (: nnmail-split-fancy-with-parent) | | (any "calatom-adhoc-l@calconnect\\.org" "INBOX.calatom") | | (any "calconnect-l@calconnect\\.org" "INBOX.calconnect") | | (any "feedback@evdb\\.com" "INBOX.feedback") | | (any "sandlewood.evdb.com" "INBOX.nagios") | | (any "bugs@evdb\\.com" "INBOX.bugs") | | (any "tech@evdb\\.com" "INBOX.tech") | | (any "staff@evdb\\.com" "INBOX.staff") | | "INBOX.misc")) | `-----------------------------------------------------------------------' it's quite simple I used to have a much more complicated one, when I did personal mail and work mail in the same Gnus instance but I've given into gmail for non-work use eek :) * johnsu01 is in the process of scrubbing out the traces of the failed gmail experiment :) I haven't managed to make Gnus and gmail play well together, despite other peoples' success at it. I still use Gnus to post to mailing lists, assuming they're on gmane. :) hober, johnsu01. what are your problems with gmail? * hroptatyr (n=asathor@sxemacs/devel/hroptatyr) has joined #gnus rstandy: My most basic problem is that I don't someone else storing and accumulating my mail. don't want oh yes, I too. I just have an account when my first one is broken I was archiving all of my mail there for a while for backup, so I'm in the process of deleting all of those messages and then asking to have the account deleted. Heh. If we are lucky, and humanity will survive for enough time, Our point in history will be probably called the googlization era rstandy: I'm perfectly fine with someone else storing my mail, since I don't bother to back up my own machines. :) My only problam with gmail is that I haven't gotten it to play well with Gnus yet. Not that I've tried in a few months hober: do you have problems with smtp or pop3s? I don't remember what the problem was last time I tried it. hober: anyway I had problems only with downloading my mails ie with pop3s and I resolved by downloading a different pop3.el ,gmail rstandy: gmail -- [0] at mail.google.com [1] Try it with emacs-w3m uhm hober: http://www.pvv.ntnu.no/~terjeros/wiki/GnusGmail yeah, I know. oh well * deego` has quit (Remote closed the connection)