From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/75815 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: sorting: wrong number of arguments Date: Sat, 22 Jan 2011 21:52:30 +0100 Organization: Programmerer Ingebrigtsen Message-ID: <87tyh0lkz5.fsf@gnus.org> References: <871v4gu7qj.fsf@micropit.couberia.bzh> <871v451u13.fsf@gnus.org> <87y66d8i13.fsf@micropit.couberia.bzh> <87y66cvmh6.fsf@gnus.org> <87ipxgiycb.fsf@micropit.couberia.bzh> <874o90vkqe.fsf@gnus.org> <87k4hwad82.fsf@micropit.couberia.bzh> <878vycoesg.fsf@gnus.org> <87fwsku0l3.fsf@micropit.couberia.bzh> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1295729590 26432 80.91.229.12 (22 Jan 2011 20:53:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 22 Jan 2011 20:53:10 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M24166@lists.math.uh.edu Sat Jan 22 21:53:03 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PgkSF-0003nv-4W for ding-account@gmane.org; Sat, 22 Jan 2011 21:53:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1PgkS0-0002sU-Ty; Sat, 22 Jan 2011 14:52:48 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PgkRz-0002sJ-Sb for ding@lists.math.uh.edu; Sat, 22 Jan 2011 14:52:47 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PgkRv-0003Dx-NA for ding@lists.math.uh.edu; Sat, 22 Jan 2011 14:52:47 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PgkRv-0007mN-0z for ding@gnus.org; Sat, 22 Jan 2011 21:52:43 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PgkRu-0003h4-R1 for ding@gnus.org; Sat, 22 Jan 2011 21:52:42 +0100 Original-Received: from baybryj.net ([198.144.208.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 22 Jan 2011 21:52:42 +0100 Original-Received: from larsi by baybryj.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 22 Jan 2011 21:52:42 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 10 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: baybryj.net Mail-Copies-To: never User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:XIravOeXTt4kKhntNoTVrjh2f/A= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:75815 Archived-At: The problem here is that gnus-group-update-hook is called from -list-groups, and -sort-groups calls -list-groups, so it recurses endlessly. So you have to do it from a different hook. For instance, `gnus-after-getting-new-news-hook'. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen