Gnus development mailing list
 help / color / mirror / Atom feed
From: pmlists@free.fr (Peter Münster)
To: ding@gnus.org
Subject: Re: sorting: wrong number of arguments
Date: Sat, 22 Jan 2011 19:32:04 +0100	[thread overview]
Message-ID: <87ipxgiycb.fsf@micropit.couberia.bzh> (raw)
In-Reply-To: <87y66cvmh6.fsf@gnus.org>

Lars Ingebrigtsen <larsi@gnus.org> writes:

>> 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)))

That's what I'd tried, but:
"error: Variable binding depth exceeds max-specpdl-size"

My setup:
(setq gnus-group-sort-function
      '(gnus-group-sort-by-real-name (not gnus-group-sort-by-unread)
              gnus-group-sort-by-method))

-- 
Peter Münster

Contact information: http://pmrb.free.fr/contact/




  reply	other threads:[~2011-01-22 18:32 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
2011-01-22 18:32       ` Peter Münster [this message]
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=87ipxgiycb.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).