From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/20006 Path: main.gmane.org!not-for-mail From: Jack Vinson Newsgroups: gmane.emacs.gnus.general Subject: Re: Help - specialities entering a group Date: Tue, 22 Dec 1998 14:29:09 -0600 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7BIT X-Trace: main.gmane.org 1035158296 14827 80.91.224.250 (20 Oct 2002 23:58:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:58:16 +0000 (UTC) Return-Path: Original-Received: from karazm.math.uh.edu (karazm.math.uh.edu [129.7.128.1]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id PAA11956 for ; Tue, 22 Dec 1998 15:43:13 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by karazm.math.uh.edu (8.9.1/8.9.1) with ESMTP id OAB28252; Tue, 22 Dec 1998 14:42:56 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 22 Dec 1998 14:40:38 -0600 (CST) Original-Received: from Post-Office.UH.EDU (pmdf@Post-Office.UH.EDU [129.7.1.20]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id OAA18654 for ; Tue, 22 Dec 1998 14:40:20 -0600 (CST) Original-Received: from sclp3.sclp.com by Post-Office.UH.EDU (PMDF V5.1-12 #U2811) with ESMTP id <0F4D0083JVQWVQ@Post-Office.UH.EDU> for ding@hpc.uh.edu; Tue, 22 Dec 1998 14:32:58 -0600 (CST) Original-Received: from gatekeeper2.monsanto.com (firewall-user@gatekeeper2.monsanto.com [199.89.234.124]) by sclp3.sclp.com (8.8.5/8.8.5) with SMTP id PAA11673 for ; Tue, 22 Dec 1998 15:33:00 -0500 (EST) Original-Received: by gatekeeper2.monsanto.com; id OAA08863; Tue, 22 Dec 1998 14:28:00 -0600 Original-Received: from mhstl1.monsanto.com(10.135.250.82) by gatekeeper2.monsanto.com via smap (4.1) id xma003233; Tue, 22 Dec 1998 14:24:30 -0600 Original-Received: from [137.35.49.136] by mhstl1.monsanto.com; (5.65v3.2/1.1.8.2/02Sep98-1041AM) id AA12018; Tue, 22 Dec 1998 14:29:08 -0600 In-reply-to: Frangois Pinard's message of "Tue, 22 Dec 1998 08:53:30 -0500" Original-To: ding@gnus.org X-Zippy: I demand IMPUNITY! User-Agent: Gnus/5.070068 (Pterodactyl Gnus v0.68) Emacs/20.3 Precedence: list X-Majordomo: 1.94.jlt7 Original-Lines: 55 Xref: main.gmane.org gmane.emacs.gnus.general:20006 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:20006 >>>>> "FP" == Frangois Pinard writes: FP> I usually read my mailgroups threaded. I would like that, when FP> entering the `i18n.incoming' mailgroup, and only that one, threading be FP> automatically suspended, and the equivalent of `C-u C-c C-s C-d' done, FP> so messages be sorted most recent first. You can do this in your gnus-select-group-hook as Dave Goldberg indicated. Or in the group parameters as Jason Tibbitts indicated. I don't like the latter because I have to remember to do this for each group where the gnus-select-group-hook and gnus-group-generate-hook can let me do things based on regexps and the like. I use something like this (below) as my gnus-group-generate-hook. This hook is specifically used just before generating the *Summary* buffer and is perfect for setting gnus-thread variables. (defun jmv-gnus-prepare-groups () ;; My mail groups (cond ;; My personal archives and ;; The Gnus outgoing mail/news archives ((string-match "^nnfolder\\+archive" gnus-newsgroup-name) (setq gnus-thread-hide-subtree t) (setq gnus-thread-sort-functions '(gnus-thread-sort-by-number gnus-thread-sort-by-date))) ;; Tandem or ntemacs mailing lists ;; Ding mailing list. Treat as a newsgroup with scores. ((string-match "tandem\\|ntemacs\\|ding" gnus-newsgroup-name) (setq gnus-thread-hide-subtree t) (setq gnus-thread-sort-functions '(gnus-thread-sort-by-number gnus-thread-sort-by-subject gnus-thread-sort-by-total-score))) ;; Any other nnml mail groups ((string-match "nnml" gnus-newsgroup-name) (setq gnus-thread-hide-subtree t) (setq gnus-thread-sort-functions '(gnus-thread-sort-by-number gnus-thread-sort-by-date gnus-thread-sort-by-total-score))) ;; Gnus draft group ((string-match "nndraft" gnus-newsgroup-name) (setq gnus-thread-hide-subtree t) (setq gnus-thread-sort-functions '(gnus-thread-sort-by-date))) ;; All the rest (nntp) (t (setq gnus-thread-hide-subtree t) (setq gnus-thread-sort-functions '(gnus-thread-sort-by-number gnus-thread-sort-by-subject gnus-thread-sort-by-total-score))) ) ) -- Jack Vinson http://www.cis.upenn.edu/~vinson/ Zippy: .. are the STEWED PRUNES still in the HAIR DRYER?