From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/5513 Path: main.gmane.org!not-for-mail From: larsi@ifi.uio.no (Lars Magne Ingebrigtsen) Newsgroups: gmane.emacs.gnus.general Subject: Re: Sorting summary - cached articles Date: 12 Mar 1996 07:08:18 +0100 Organization: Dept. of Informatics, University of Oslo, Norway Sender: larsi@ifi.uio.no Message-ID: References: <9603082052.AA29818@cheux.ecs.umass.edu> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035146108 609 80.91.224.250 (20 Oct 2002 20:35:08 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:35:08 +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 WAA01871 for ; Mon, 11 Mar 1996 22:49:16 -0800 Original-Received: from eistla.ifi.uio.no (4867@eistla.ifi.uio.no [129.240.94.29]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Tue, 12 Mar 1996 07:08:20 +0100 Original-Received: (from larsi@localhost) by eistla.ifi.uio.no ; Tue, 12 Mar 1996 07:08:19 +0100 Original-To: ding@ifi.uio.no In-Reply-To: hardaker@ece.ucdavis.edu's message of 11 Mar 1996 10:31:26 -0800 Original-Lines: 25 Xref: main.gmane.org gmane.emacs.gnus.general:5513 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:5513 hardaker@ece.ucdavis.edu (Wes Hardaker) writes: > You know, I've been wanting to have a sort function that checked to > see if something was ticked or cached or whatever (ie, sort based on > article marks). Well, that's not real problem -- but I don't think something like that would be generally useful. `gnus-thread-sort-by-{tick,cache,dormant,expirable,killed,unread} -- there are just too many marks. People should have no problem writing the functions on their own. For instance: (defun gnus-thread-sort-by-tick (h1 h2) (and (memq (mail-header-number (gnus-thread-header h1)) gnus-newsgroup-marked) (not (memq (mail-header-number (gnus-thread-header h2)) gnus-newsgroup-marked)))) This should make ticked articles come before unticked ones. I think. -- "Yes. The journey through the human heart would have to wait until some other time."