From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/5524 Path: main.gmane.org!not-for-mail From: jvinson@cheux.ecs.umass.edu (Jack Vinson) Newsgroups: gmane.emacs.gnus.general Subject: Re: Sorting some groups differently... Date: 13 Mar 1996 09:08:06 -0500 Organization: University of Massachusetts Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035146117 635 80.91.224.250 (20 Oct 2002 20:35:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:35:17 +0000 (UTC) Return-Path: ding-request@ifi.uio.no Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.7.3/8.6.9) with SMTP id HAA00170 for ; Wed, 13 Mar 1996 07:16:58 -0800 Original-Received: from cheux.ecs.umass.edu (cheux.ecs.umass.edu [128.119.82.11]) by ifi.uio.no with SMTP (8.6.11/ifi2.4) id for ; Wed, 13 Mar 1996 15:14:46 +0100 Original-Received: by cheux.ecs.umass.edu (5.65/DEC-Ultrix/4.3) id AA04546; Wed, 13 Mar 1996 09:08:11 -0500 Original-To: ding@ifi.uio.no In-Reply-To: Andy Eskilsson's message of 12 Mar 1996 21:49:24 +0100 Original-Lines: 40 Xref: main.gmane.org gmane.emacs.gnus.general:5524 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:5524 >>>>> "AE" == Andy Eskilsson writes: AE> I would like to sort the summary buffer of some groups differently AE> than the others, I seem to remember that the solution were in the AE> group parameters, but how? Nope. You need to change the gnus-thread-sort-functions variable on entry to the group. Read the docs on the variable. I do it in the gnus-summary-generate-hook. The basic set up look something like this: (defun jmv-gnus-prepare-groups () ;; My mail groups, sort by date and score (cond ((string-match "nnbabyl:mail" gnus-newsgroup-name) (setq gnus-thread-sort-functions '(gnus-thread-sort-by-date gnus-thread-sort-by-total-score) )) ;; My personal archives, sort by subject ((string-match "nnfolder:archive" gnus-newsgroup-name) (setq gnus-thread-sort-functions '(gnus-thread-sort-by-subject) )) ;; The Gnus outgoing mail/news archives, sort by date ((string-match "nnfolder+archive" gnus-newsgroup-name) (setq gnus-thread-sort-functions '(gnus-thread-sort-by-date) )) ;; Gnus draft group, sort by date ((string-match "nndraft" gnus-newsgroup-name) (setq gnus-thread-sort-functions '(gnus-thread-sort-by-date) )) ;; All the rest (nntp), sort by subject and score (t (setq gnus-thread-sort-functions '(gnus-thread-sort-by-subject gnus-thread-sort-by-total-score) )) ) ) -- Jack Vinson jvinson@cheux.ecs.umass.edu "Narf!" - Pinky