From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/49177 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: A solution that's better than my ugly hack? Date: Mon, 13 Jan 2003 20:18:16 +0100 Organization: Programmerer Ingebrigtsen Sender: owner-ding@hpc.uh.edu Message-ID: References: <86fzsc4ii2.fsf@asfast.com> <84k7hnjxqi.fsf@lucy.cs.uni-dortmund.de> <86y9638l7i.fsf@asfast.com> <86ptrfc6oy.fsf@asfast.com> <86hecrc56e.fsf@asfast.com> <86el7vc4xw.fsf@asfast.com> <8665t6de1c.fsf@asfast.com> <8665t4bwp2.fsf@asfast.com> <8665ssevka.fsf_-_@asfast.com> <861y3geuyx.fsf@asfast.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1042485553 30765 80.91.224.249 (13 Jan 2003 19:19:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 13 Jan 2003 19:19:13 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18YA74-0007zu-00 for ; Mon, 13 Jan 2003 20:19:10 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18YA6Z-0000hu-00; Mon, 13 Jan 2003 13:18:39 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 13 Jan 2003 13:19:35 -0600 (CST) Original-Received: from sclp3.sclp.com (sclp3.sclp.com [66.230.238.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id NAA02582 for ; Mon, 13 Jan 2003 13:19:18 -0600 (CST) Original-Received: (qmail 64556 invoked by alias); 13 Jan 2003 19:18:17 -0000 Original-Received: (qmail 64551 invoked from network); 13 Jan 2003 19:18:16 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by 66.230.238.6 with SMTP; 13 Jan 2003 19:18:16 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 18YACZ-0003MI-00 for ; Mon, 13 Jan 2003 20:24:51 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 42 Original-NNTP-Posting-Host: quimbies.gnus.org Original-X-Trace: quimby.gnus.org 1042485891 12897 80.91.231.2 (13 Jan 2003 19:24:51 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 13 Jan 2003 19:24:51 GMT Mail-Copies-To: never X-Now-Playing: Ambitious Lovers's _Lust_: "Monster" Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEUnERu/sLD9/fn6+faa XGz////+/v1MR0urCqbXAAACKklEQVR4nHWTTY/bIBCGx5IrX6FG9R2rnANss1fcWvI9rfkBtHB2 Je/y9ztjHDvRqiNFJjy88wlg0TorhLCb7R9rQc3RsyhYl6JPIbKgVJBSWoBxySxOi2NVVcEXxqo6 A3MN1CvuxYkxttZ1851Na40biwOxOsfsDiqDoEHABgACTQEVkKJxwF4BXSGfdtARWJxgmj2BEmNh jl3c/wEQ2GLUUGMMVzkG7ALAOdeafrrlLTf00bSDlc8+oakkE1aMKypcSvg6k/k5pkAgzmkOJ/Bp TgR6i4t509wVHtdBj+2V/qUDRB+sGKyDwcRHgP3uO4AF4K9V3s8UjYDHwBo2a1qjtuyKIt2swK7l BqfTSnmki57QfbOiKwLpBBIFTUbNtCJQ4R7c97bLOXcjF+vADRa/g5vleHTgfHQ159d0BL9p4ZYt qaXmVp3gpx5EyRbQ0x1gdwO23W379dAaqY5ehV5zMVF5IzfmdBVv0mqRR7LWogCHc9Rh9IRkwip8 2S8tkcb2dH5aWzp/9uq3Mb3YXH2W19L1Am62l2IiYPrk0znBmzXyZakRSEuP4RxtsOZlyev4A2c+ PygitlGTKxx52uZ3XIZQ3peJnub2cEtwWNu129YpPYB5pOvx620/9QAyHk9/Pn0APjPWZVadQN0V +BCWqYD5yRWCrnvbo6fwBNbX9+JKPSs66D5mRcH55RF8OwFqCsCuBLg+gfdUklLpDkLGR4yAOoqe VPgHRIAJyPOQYNwAAAAASUVORK5CYII= User-Agent: Gnus/5.090013 (Oort Gnus v0.13) Emacs/21.2.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:yq1/soytECbX+U07ZxIr4lq7v2o= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:49177 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:49177 Lloyd Zusman writes: > But unless I'm missing something, it looks like this function only gets > applied to the list of unread articles. Is that correct? I think that > I would need a similar function that would get applied to the list of > already-read articles. Yes, and that doesn't quite line up with the documentation of the variable. I'll apply the following patch: *** gnus-sum.el.~6.283.~ Mon Jan 13 19:35:35 2003 --- gnus-sum.el Mon Jan 13 20:17:27 2003 *************** *** 5212,5221 **** (setq gnus-newsgroup-unselected (gnus-sorted-difference gnus-newsgroup-unreads articles)) (when gnus-alter-articles-to-read-function ! (setq gnus-newsgroup-unreads (sort (funcall gnus-alter-articles-to-read-function ! gnus-newsgroup-name gnus-newsgroup-unreads) '<))) articles))) --- 5212,5221 ---- (setq gnus-newsgroup-unselected (gnus-sorted-difference gnus-newsgroup-unreads articles)) (when gnus-alter-articles-to-read-function ! (setq articles (sort (funcall gnus-alter-articles-to-read-function ! gnus-newsgroup-name articles) '<))) articles))) -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen