From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/85174 Path: news.gmane.org!not-for-mail From: Igor Sosa Mayor Newsgroups: gmane.emacs.gnus.general Subject: Re: sort search output by date Date: Thu, 23 Oct 2014 08:09:33 +0200 Message-ID: <87h9yvgvvm.fsf@pedroche.home> References: <87mw8qds2z.fsf@pierrot.dokosmarshall.org> <87y4s7cpta.fsf@pierrot.dokosmarshall.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1414044529 17372 80.91.229.3 (23 Oct 2014 06:08:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Oct 2014 06:08:49 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M33418@lists.math.uh.edu Thu Oct 23 08:08:43 2014 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XhBZi-0005Xi-Nf for ding-account@gmane.org; Thu, 23 Oct 2014 08:08:43 +0200 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 1XhBZS-0001iz-D1; Thu, 23 Oct 2014 01:08:26 -0500 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 1XhBZJ-0001iP-Vk for ding@lists.math.uh.edu; Thu, 23 Oct 2014 01:08:18 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1XhBZI-0002uj-Ma for ding@lists.math.uh.edu; Thu, 23 Oct 2014 01:08:17 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1XhBZH-000422-82 for ding@gnus.org; Thu, 23 Oct 2014 08:08:15 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XhBZG-0005PZ-Ko for ding@gnus.org; Thu, 23 Oct 2014 08:08:14 +0200 Original-Received: from 95.91.217.151 ([95.91.217.151]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Oct 2014 08:08:14 +0200 Original-Received: from joseleopoldo1792 by 95.91.217.151 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Oct 2014 08:08:14 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 42 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 95.91.217.151 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Cancel-Lock: sha1:FakE6UFVQHt5aFhseHPo04/yj1E= X-Spam-Score: -2.3 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:85174 Archived-At: Nick Dokos writes: > Nick Dokos writes: > >> When I do a gmane nnir search with G G, the resulting nnir group is in >> some random(?) order. >> >> An imap search returned an almost sorted buffer: a sorted bunch at the >> beginning, a sorted bunch at the end, but a couple of messages between >> the two that were out of order - that was a single example though: I >> don't know how general this behavior is. >> >> How do I get the nnir summary buffer sorted by date? >> > > I didn't find a hook or option to do that, so in the end I added > gnus-summary-sort-by-date as an :after advice to > gnus-group-make-nnir-group. I have something like this... --8<---------------cut here---------------start------------->8--- (add-hook 'gnus-summary-mode-hook (lambda () (when (string-match "^gwene.*" gnus-newsgroup-name) (make-local-variable 'gnus-show-threads) (make-local-variable 'gnus-use-adaptive-scoring) (make-local-variable 'gnus-use-scoring) (make-local-variable 'gnus-score-find-score-files-function) (setq gnus-show-threads nil gnus-use-adaptive-scoring nil) ; gnus-use-scoring nil) (gnus-summary-sort-by-date)))) --8<---------------cut here---------------end--------------->8--- maybe you can adapt it... -- :: Igor Sosa Mayor :: joseleopoldo1792@gmail.com :: :: GnuPG: 0x1C1E2890 :: http://www.gnupg.org/ :: :: jabberid: rogorido :: ::