> Uwe Brauer writes: > I think now understand the misunderstanding. > gnus-article-sort-functions is only used when threading is off, > whereas gnus-thread-sort-functions is only used if threading is on. > Hence, the problem must be in the latter. Agreed. > Now when you use threading and have gnus-thread-sort-functions set to > gnus-thread-sort-by-number, it'll sort by the number of the article that > started the thread, and that article might even not be visible. > Is it possible that this causes the confusion? You could find out by > checking if at least the complete threads are sorted correctly. At threads > which seem to appear at the wrong position, hit ^ repeatedly until the > root article is visible. Are they sorted according to number then? I think the source of the problem is my setting gnus-thread-ignore-subject to nil. What I did was to answer a message in the thread, but changed the subject. Then gnus considered my answer not as part of the treat, so far so good. However gnus decided to place this message, right after the thread, because it was somehow connected to that thread. That is a valid design decision. However I would prefer if gnus would just sort according to its number idependently whether the message has its orgin in a thread. I can of course get this behavior by changing the subject and remove all the references manually. However that is quite inconvenient. > Anyway, you might want to try setting both gnus-thread-sort-functions to > '(gnus-article-sort-by-number), too. That would sort according to the > current article's number, not the root article's number. I tried (setq gnus-thread-sort-functions '(gnus-thread-sort-by-number) gnus-subthread-sort-functions '(gnus-thread-sort-by-number) gnus-article-sort-functions '(gnus-article-sort-by-number)) But the behavior does not change I still see. 57606 [ Uwe Braue] Uwe Brauer [[CV] (was: [Amnu 19]) ] Sun, 28 Apr 2019 11:30:41 +0200 8.8k 6 57609 [ +henar de ] Uwe Brauer [ ] Sun, 28 Apr 2019 09:35:45 +0000 10k 13 57621 [ Uwe Braue] Uwe Brauer [[stuff] (was: [CV]) ] Sun, 28 Apr 2019 16:04:34 +0200 9.4k 16 57585 [ tex-d-l-r] tex-d-l@li [tex-d-l Nachrichtenkompil] Sun, 28 Apr 2019 00:00:07 +0200 13k 165 Again message 57621 was somehow in the thread but I changed the subject.