Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <4.uce.03.r.s@nurfuerspam.de>
Subject: Re: sort by reverse date & bbdb
Date: Mon, 31 May 2004 18:54:31 +0200	[thread overview]
Message-ID: <v9k6ys8rlk.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <m34qpxsxi1.fsf@asfast.com>

On Sun, May 30 2004, Lloyd Zusman wrote:

> Ding Lei <dinglei@ipanel.cn> writes:
[...]
>   (defun my-gnus-summary-sort-by-date-rev ()
>     (interactive)
>     (gnus-summary-sort-by-date t))

Using (not gnus-summary-sort-by-date) in `gnus-article-sort-functions'
is easier.

>> And how do I customize default sorting methods for different groups?
>> Thank you!
>
> You can set up a `gnus-summary-generate-hook', as follows:
[...]
>       (cond
>        ((string-match "\\(foo\\|bar\\)" gnus-newsgroup-name)
>         (setq gnus-article-sort-functions '(my-gnus-article-sort-by-date-rev))
>         t)

You can set `gnus-article-sort-functions' in `gnus-parameters' ...

   ("foo"
    (gnus-article-sort-functions
     '(gnus-article-sort-by-subject gnus-article-sort-by-score)))

... or by customizing a group or a topic: `G c'.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/




      reply	other threads:[~2004-05-31 16:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-29  6:16 Ding Lei
2004-05-29 20:16 ` Danny Siu
2004-05-30 15:35   ` Ding Lei
2004-05-30 16:14     ` Lloyd Zusman
2004-05-31 16:54       ` Reiner Steib [this message]

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=v9k6ys8rlk.fsf@marauder.physik.uni-ulm.de \
    --to=4.uce.03.r.s@nurfuerspam.de \
    --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).