all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Toon Claes <toon@iotcl.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: Andreas Schwab <schwab@suse.de>, emacs-devel@gnu.org
Subject: Re: Sparse threads in Gnus
Date: Mon, 23 Jul 2018 07:32:10 +0200	[thread overview]
Message-ID: <87k1pmikkl.fsf@iotcl.com> (raw)
In-Reply-To: <m3in57pe07.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 22 Jul 2018 15:59:52 +0200")

[-- Attachment #1: Type: text/plain, Size: 1308 bytes --]

Lars Ingebrigtsen <larsi@gnus.org> writes:

> I'm not sure I understand the question -- if you set
> `gnus-build-sparse-threads', does Gnus not do that?

Cool, I didn't know about this setting!

This helps! Although, is it possible to hide the sparse messages (with Q
mark)? So the tree would be similar, but the gaps wouldn't be visible. 

Because, when I run (gnus-summary-limit-exclude-marks "Q"), the tree structure
seems to be flattened again.

I've been taking a peek at the code and it doesn't seem easy to me to
achieve this, because the way the gnus-build-sparse-threads function
works, is to just create the missing messages, so all the other code can
just rely on "all messages being there".

That was I meant in my original question: There are multiple message ids
in the References header, but Gnus only uses the last message in that
list to build the threads. I'd like Gnus to build threads using the
"closest grandparent" algorithm.

E.g. a tree like this:

<Message-ID: A@example.com>
  <Message-ID: C@example.com; References: A@example.com, B@example.com>
    <Message-ID: D@example.com; References: A@example.com, B@example.com, C@example.com>
  <Message-ID: E@example.com; References: A@example.com, B@example.com, non-existing@example.com>
  



-- Toon

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

      parent reply	other threads:[~2018-07-23  5:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-16 13:02 Sparse threads in Gnus Toon Claes
2018-05-16 13:20 ` Andreas Schwab
2018-05-18 12:35   ` Toon Claes
2018-07-22 13:59     ` Lars Ingebrigtsen
2018-07-23  5:31       ` Toon Claes
2018-07-23  5:32       ` Toon Claes [this message]

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=87k1pmikkl.fsf@iotcl.com \
    --to=toon@iotcl.com \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.org \
    --cc=schwab@suse.de \
    /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.