Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: ding@gnus.org
Subject: Re: sorting: wrong number of arguments
Date: Sat, 22 Jan 2011 19:09:57 +0100	[thread overview]
Message-ID: <87y66cvmh6.fsf@gnus.org> (raw)
In-Reply-To: <87y66d8i13.fsf@micropit.couberia.bzh>

>> (add-hook 'gnus-group-update-hook
>>           (lambda ()
>>             (gnus-group-sort-groups 'gnus-group-sort-by-alphabet)))
>
> Thanks! I didn't see, that gnus-group-sort-function is only used
> interactively...
>
> How can I tell gnus-group-sort-groups to use gnus-group-sort-function
> (which is a list of functions in my case) even in the update-hook?

(add-hook 'gnus-group-update-hook
          (lambda ()
            (gnus-group-sort-groups gnus-group-sort-function)))

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




  reply	other threads:[~2011-01-22 18:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-13 15:46 Peter Münster
2011-01-22  3:44 ` Lars Ingebrigtsen
2011-01-22  8:22   ` Peter Münster
2011-01-22 18:09     ` Lars Ingebrigtsen [this message]
2011-01-22 18:32       ` Peter Münster
2011-01-22 18:47         ` Lars Ingebrigtsen
2011-01-22 20:35           ` Peter Münster
2011-01-22 20:37             ` Lars Ingebrigtsen
2011-01-22 20:48               ` Peter Münster
2011-01-22 20:52                 ` Lars Ingebrigtsen

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=87y66cvmh6.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=ding@gnus.org \
    /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).