From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/8519 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.user Subject: Re: Simple thread sorting question Date: Fri, 12 Jan 2007 11:43:58 +0100 Organization: Dept. of Theoretical Physics, University of Ulm Message-ID: References: Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1168602101 14876 80.91.229.12 (12 Jan 2007 11:41:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 12 Jan 2007 11:41:41 +0000 (UTC) Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Fri Jan 12 12:41:38 2007 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1H5Kmv-0003jA-Ng for gegu-info-gnus-english@m.gmane.org; Fri, 12 Jan 2007 12:41:38 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H5Kmv-0000EG-Ir for gegu-info-gnus-english@m.gmane.org; Fri, 12 Jan 2007 06:41:37 -0500 Original-Newsgroups: gnu.emacs.gnus X-Face: 3Phac&+dw=IZHjhua]bp}LH<*p{qzj8u+ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:8519 Archived-At: On Fri, Jan 12 2007, Jarmo Hurri wrote: >>> (setq gnus-thread-sort-functions >>> '((not gnus-thread-sort-by-most-recent-number))) >>> >>> However, this does not happen: in the latter case, the threads seem >>> to be sorted by the default (number-based) ordering. > > Reiner> Works for me. I tried again. With both Gnus 5.11 and current No Gnus (CVS, trunk), the threads are sorted ascending (WRT the most recent number of a posting in each thread). I checked the article numbers in summary buffer mode line. But you may prepend `gnus-summary-line-format' with "%N" for debugging. ,---- | ELISP> gnus-summary-line-format | "%N %U%R%z%I%(%[%4L: %-23,23f%]%) %s\n" | ELISP> gnus-thread-sort-functions | ((not gnus-thread-sort-by-most-recent-number)) | | ELISP> gnus-version | "Gnus v5.11" `---- This is what I get with this (minimal .emacs / .gnus.el files): ,---- | 1538 [ 45: Glyn Millington ] Can't send mail with Em | 1550 [ 32: Glyn Millington ] | 1551 [ 57: Reiner Steib ] | 1553 [ 10: Bastien ] gnus-topic-line-format | 1558 [ 27: Leo ] Re: A few questions on | 1560 [ 12: Daiki Ueno ] | 1561 [ 31: Leo ] | 1562 [ 27: Daiki Ueno ] | 1564 [ 32: Jarmo Hurri ] Simple thread sorting q | 1565 [ 24: Reiner Steib ] | 1557 [ 38: Slackrat ] Gnus Gurus? X-Guarantee | 1566 [ 25: Reiner Steib ] | 1567 [ 10: Hadron Quark ] w3m-search | 1568 [ 16: Katsumi Yamaoka ] | 1569 [ 8: Hadron Quark ] customizing w3m-weather `---- Gnus 5.11 is very similar to your Gnus 5.10.8 (is it the release or from the v5-10 CVS branch?). The only major difference is the you use XEmacs. But I hope that we don't have an incompatibility in sorting here. > Really?! Great... Sounds like some weirder configuration problem? Please re-check the value of `gnus-thread-sort-functions' in the summary buffer. > Reiner> Do you really have threading turned on? See > Reiner> `gnus-show-threads' and... > > The value of gnus-show-threads is t. Also, as I mentioned in my > original post, sorting the threads works in the non-reverse case for > gnus-thread-sort-by-most-recent-number, which suggests that threading > is working ok. > > Any ideas on how to approach this? Try to reproduce it with a minimal configuration. See ... ----------------- »» Could you try to reproduce with a minimal Gnus setup and/or check »» for any relevant customizations? » » Hm... how do I create a minimal Gnus setup, without messing up my » current setup? Create a different user account? That's option 1. Option 2 is to create a new home directory for this Emacs session: --8<---------------cut here---------------start------------->8--- emacs_test=~/path/to/my/emacs_test mkdir -p $emacs_test cd $emacs_test ln -s ~/.Xauthority . HOME=$PWD emacs & --8<---------------cut here---------------end--------------->8--- The .emacs and .gnus.el files in $emacs_test should only contain minimal settings (e.g. `load-path' for Gnus, `gnus-select-method'). Option 3 is to set `gnus-home-directory' to the value of $emacs_test within Emacs before loading ~/.gnus.el or maybe better start from "emacs -q". ----------------- Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/