Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
Subject: Re: Group parameters and `(not gnus-article-sort-by-date)'
Date: Wed, 09 Nov 2005 18:17:59 +0100	[thread overview]
Message-ID: <v9br0tviyg.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <ilumzkdbwzw.fsf@latte.josefsson.org>

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:

,----
| @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/




  reply	other threads:[~2005-11-09 17:17 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-29  7:31 [PATCH] cvs 2005-10-29 score-mode.el::defvar gnus-score-edit-done-hook Jari Aalto
2005-10-29  9:13 ` Simon Josefsson
2005-10-30 22:27   ` [PATCH] cvs 2005-10-29 score-mode.el::defvar Dan Christensen
2005-10-31  9:59   ` Jari Aalto
2005-11-02  2:44     ` Dan Christensen
2005-11-02  8:54       ` Simon Josefsson
2005-11-08 15:14         ` gnus-article-sort-*-reverse (was: [PATCH] cvs 2005-10-29 score-mode.el::defvar) Reiner Steib
2005-11-08 15:45           ` gnus-article-sort-*-reverse Romain Francoise
2005-11-08 17:03             ` gnus-article-sort-*-reverse Reiner Steib
2005-11-08 18:56               ` gnus-article-sort-*-reverse Romain Francoise
2005-11-08 19:43                 ` Group parameters and `(not gnus-article-sort-by-date)' (was: gnus-article-sort-*-reverse) Reiner Steib
2005-11-09  6:26                   ` Group parameters and `(not gnus-article-sort-by-date)' Romain Francoise
2005-11-09 16:34                     ` Simon Josefsson
2005-11-09 17:17                       ` Reiner Steib [this message]
2005-11-09 18:05                         ` Henrik Enberg
2005-11-09 20:37                           ` Reiner Steib
2005-11-09 23:25                         ` Simon Josefsson
2005-11-10  8:47                           ` Reiner Steib
2005-11-10 18:10                             ` Reiner Steib

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=v9br0tviyg.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    /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).