all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Welsh Duggan <mwd@cert.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 21462@debbugs.gnu.org
Subject: bug#21462: 25.0.50; Gnus thread gathering and sorting inverted
Date: Mon, 08 Feb 2016 12:08:45 -0500	[thread overview]
Message-ID: <tntd1s7f7tu.fsf@watermonitor.yellow.cert.org> (raw)
In-Reply-To: <878u2vhkjp.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 08 Feb 2016 15:51:06 +1100")

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Michael Welsh Duggan <mwd@md5i.com> writes:
>
>> 1) gnus-make-threads -> gathers articles into threads by ref
>> 2) gnus-cut-threads  -> removes "uninteresting" articles from the
>>    threads
>> 3) gnus-sort-threads -> sorts the threads (with respect to each other thread)
>> 4) gnus-summary-thread-gathering-function -> gathers threads with
>>    similar characteristics (subject, reference) into a single thread
>> 5) gnus-sort-gathered-threads -> sorts the articles within each thread
>>
>> My argument is that steps 3 and 4 are backwards.  Step 4 is the place
>> where the final thread groupings are decided, and sorting these threads
>> with respect to each other should happen afterward.
>
> Yes, but can't you just sort the gathered threads in the way you would
> have wanted to have them sorted if they had been sorted before
> gathering?  I think I vaguely think that should kinda work...

If I understand correctly, that would (in my case) require writing my
own version of gnus-gather-threads-by-subject.  All I can say to that
is, ugh.  If this sorting and gathering were done in what I consider to
be the more logical order, I have to write a two line function to do
what I want.  Instead I would have to mimic most of the functionality of
gnus-gather-threads-by-subject with the added restriction that I want to
maintain thread order by the latest gathered thread.  Complicated and
ugly.  Not that I wouldn't do it, if needed.  Is there a good reason for
step 3 and 4 above to be in the given order instead of the reverse?

-- 
Michael Welsh Duggan
(mwd@cert.org)





  reply	other threads:[~2016-02-08 17:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-11 17:34 bug#21462: 25.0.50; Gnus thread gathering and sorting inverted Michael Welsh Duggan
2016-02-07  5:53 ` Lars Ingebrigtsen
2016-02-07  7:40   ` Michael Welsh Duggan
2016-02-08  4:51     ` Lars Ingebrigtsen
2016-02-08 17:08       ` Michael Welsh Duggan [this message]
2016-02-09  0:50         ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tntd1s7f7tu.fsf@watermonitor.yellow.cert.org \
    --to=mwd@cert.org \
    --cc=21462@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.