info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple thread sorting question


From: Reiner Steib
Subject: Re: Simple thread sorting question
Date: Fri, 12 Jan 2007 11:43:58 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.92 (gnu/linux)

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
<http://mid.gmane.org/v9d564kp8q.fsf%40marauder.physik.uni-ulm.de> ...

-----------------
»» 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/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]