From: larsi@ifi.uio.no (Lars Magne Ingebrigtsen)
Subject: Re: Sorting summary - cached articles
Date: 12 Mar 1996 07:08:18 +0100 [thread overview]
Message-ID: <x6vikbmiuc.fsf@eyesore.no> (raw)
In-Reply-To: hardaker@ece.ucdavis.edu's message of 11 Mar 1996 10:31:26 -0800
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."
next prev parent reply other threads:[~1996-03-12 6:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-03-08 20:52 Jack Vinson
1996-03-09 22:56 ` Lars Magne Ingebrigtsen
1996-03-11 18:31 ` Wes Hardaker
1996-03-12 6:08 ` Lars Magne Ingebrigtsen [this message]
1996-03-12 16:52 ` Wes Hardaker
1996-03-18 13:24 ` Albrecht Kadlec
1996-03-25 19:23 ` Wes Hardaker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=x6vikbmiuc.fsf@eyesore.no \
--to=larsi@ifi.uio.no \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).