Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Reiner Steib <4uce.02.r.steib@gmx.net>
Subject: Re: Reverse group sort by rank
Date: Thu, 07 Nov 2002 14:06:15 +0100	[thread overview]
Message-ID: <v9znslzfzs.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <y1zn0olg2m4.fsf@ask.diku.dk>

On Thu, Nov 07 2002, Jonas Nielsen wrote:

> (add-hook 'gnus-summary-exit-hook 'gnus-group-sort-groups-by-rank)
>
> in .gnus if you want the groups to always be sorted by rank. This
> works fine but the groups with the highest rank are at the
> bottom. Obviously I want them to be at the top. How do I do that ?

,----[ C-h f gnus-group-sort-groups-by-rank RET ]
| gnus-group-sort-groups-by-rank is an interactive compiled Lisp
| function in `gnus-group'.
| (gnus-group-sort-groups-by-rank &optional REVERSE)
| 
| Sort the group buffer by group rank.
| If REVERSE, sort in reverse order.
`----

(add-hook 'gnus-summary-exit-hook 
	  '(lambda ()
	     (gnus-group-sort-groups-by-rank t)))

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


           reply	other threads:[~2002-11-07 13:06 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <y1zn0olg2m4.fsf@ask.diku.dk>]

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=v9znslzfzs.fsf@marauder.physik.uni-ulm.de \
    --to=4uce.02.r.steib@gmx.net \
    --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).