From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/61347 Path: news.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: Group parameters and `(not gnus-article-sort-by-date)' Date: Thu, 10 Nov 2005 00:25:30 +0100 Message-ID: References: <20051029073128.PUFY9722.fep32-app.kolumbus.fi@cante.net> <87ek5zkbtj.fsf@uwo.ca> <45943.80.217.219.208.1130921646.squirrel@yxa.extundo.com> <87u0enjg7e.fsf@pacem.orebokech.com> <87ek5r6ka4.fsf@pacem.orebokech.com> <87u0emxrp6.fsf@pacem.orebokech.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1131579001 1164 80.91.229.2 (9 Nov 2005 23:30:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 9 Nov 2005 23:30:01 +0000 (UTC) Original-X-From: ding-owner+m9879@lists.math.uh.edu Thu Nov 10 00:29:53 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EZzN1-0000KT-PC for ding-account@gmane.org; Thu, 10 Nov 2005 00:28:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1EZzMx-0002TG-00; Wed, 09 Nov 2005 17:28:43 -0600 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1EZzKD-0002TB-00 for ding@lists.math.uh.edu; Wed, 09 Nov 2005 17:25:53 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1EZzK4-0004Ca-QB for ding@lists.math.uh.edu; Wed, 09 Nov 2005 17:25:52 -0600 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net ([217.13.230.178] helo=yxa.extundo.com) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1EZzJy-0000uu-00 for ; Thu, 10 Nov 2005 00:25:38 +0100 Original-Received: from latte.josefsson.org (c494102a.s-bi.bostream.se [217.215.27.65]) (authenticated bits=0) by yxa.extundo.com (8.13.4/8.13.4/Debian-3) with ESMTP id jA9NPZa1010531 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 10 Nov 2005 00:25:36 +0100 Original-To: ding@gnus.org OpenPGP: id=B565716F; url=http://josefsson.org/key.txt X-Hashcash: 1:21:051109:ding@gnus.org::YaNWN0YIJfRQhgYw:1akX In-Reply-To: (Reiner Steib's message of "Wed, 09 Nov 2005 18:17:59 +0100") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Spam-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on yxa-iv X-Virus-Scanned: ClamAV version 0.84, clamav-milter version 0.84e on yxa.extundo.com X-Virus-Status: Clean X-Spam-Score: -2.5 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:61347 Archived-At: Reiner Steib writes: > On Wed, Nov 09 2005, Simon Josefsson wrote: > > [ `gnus-article-sort-by-date-reverse' ] >> I removed it. > > Thanks. > > It's also mentioned in the patch to gnus.texi: Could you propose a patch? Should we simply revert the patch, or can we improve it somehow. > ,---- > | @lisp > | (require 'cl) > | (defun my-gnus-summary-mode-hook-group-select () > | (flet ((lsetq (x val) ;; Local setq > | (set (make-local-variable x) val))) > | (cond > | ;; In Group buffer to make Debian daily news group press: G m > | ;; and point it to nntp server news.gmane.org and > | ;; group gmane.linux.debian.user.news > | ((string-match "nntp.*debian.user.news" gnus-newsgroup-name) > | (lsetq 'gnus-show-threads nil) > | (lsetq 'gnus-article-sort-functions 'gnus-article-sort-by-date-reverse) > | (lsetq 'gnus-use-adaptive-scoring nil) > | (lsetq 'gnus-use-scoring nil)) > | ;; In Group buffer to read Debian weekly news RSS feed press: G R > | ;; and point it to url: > | ;; http://packages.debian.org/unstable/newpkg_main.en.rdf > | ((string-match "nnrss.*debian" gnus-newsgroup-name) > | (lsetq 'gnus-show-threads nil) > | (lsetq 'gnus-article-sort-functions 'gnus-article-sort-by-subject) > | (lsetq 'gnus-use-adaptive-scoring nil) > | (lsetq 'gnus-use-scoring t) > | (lsetq 'gnus-score-find-score-files-function 'gnus-score-find-single) > | (lsetq 'gnus-summary-line-format "%U%R%z%d %I%(%[ %s %]%)\n"))))) > | (defun my-gnus-summary-mode-hook () > | (my-gnus-summary-mode-hook-group-select)) > | @end lisp > `---- > > If I understand this code correctly, it could be replaced by an > example in (info "(gnus)Group Parameters"): > > ("nntp.*debian.user.news" > (gnus-show-threads nil) > (gnus-article-sort-functions '((not gnus-article-sort-by-date))) > (gnus-use-adaptive-scoring nil) > (gnus-use-scoring nil)) > ("nnrss.*debian" > (gnus-show-threads nil) > (gnus-article-sort-functions 'gnus-article-sort-by-subject) > (gnus-use-adaptive-scoring nil) > (gnus-use-scoring t) > (gnus-score-find-score-files-function 'gnus-score-find-single) > (gnus-summary-line-format "%U%R%z%d %I%(%[ %s %]%)\n") > > Bye, Reiner. > -- > ,,, > (o o) > ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/