From: pmlists@free.fr (Peter Münster)
To: ding@gnus.org
Subject: Re: sorting: wrong number of arguments
Date: Sat, 22 Jan 2011 09:22:16 +0100 [thread overview]
Message-ID: <87y66d8i13.fsf@micropit.couberia.bzh> (raw)
In-Reply-To: <871v451u13.fsf@gnus.org>
Lars Ingebrigtsen <larsi@gnus.org> writes:
> pmlists@free.fr (Peter Münster) writes:
>
>> This:
>> (add-hook 'gnus-group-update-hook 'gnus-group-sort-groups)
>
> That function takes the real sorting function as a parameter.
>
> So it should be something like
>
> (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?
(Unfortunately I haven't learned lisp yet... :(
--
Peter Münster
Contact information: http://pmrb.free.fr/contact/
next prev parent reply other threads:[~2011-01-22 8:22 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 [this message]
2011-01-22 18:09 ` Lars Ingebrigtsen
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=87y66d8i13.fsf@micropit.couberia.bzh \
--to=pmlists@free.fr \
--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).