From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Toon Claes Newsgroups: gmane.emacs.devel Subject: Re: Sparse threads in Gnus Date: Mon, 23 Jul 2018 07:31:56 +0200 Message-ID: <87lga2ikkz.fsf@iotcl.com> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1532323887 17519 195.159.176.226 (23 Jul 2018 05:31:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 23 Jul 2018 05:31:27 +0000 (UTC) Cc: Andreas Schwab , emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 23 07:31:23 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhTRK-0004RM-IY for ged-emacs-devel@m.gmane.org; Mon, 23 Jul 2018 07:31:22 +0200 Original-Received: from localhost ([::1]:32845 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhTTR-0002qu-93 for ged-emacs-devel@m.gmane.org; Mon, 23 Jul 2018 01:33:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47884) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhTS3-0002oQ-Al for emacs-devel@gnu.org; Mon, 23 Jul 2018 01:32:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fhTRw-0006bI-NI for emacs-devel@gnu.org; Mon, 23 Jul 2018 01:32:07 -0400 Original-Received: from smtp.soverin.net ([94.130.159.241]:52123 helo=g02sm02.soverin.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fhTRw-0006ao-8F for emacs-devel@gnu.org; Mon, 23 Jul 2018 01:32:00 -0400 Original-Received: from soverin.net by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=iotcl.com; s=default; t=1532323917; bh=bNB2sRXujFhVAzW53A5vgzXLZxe4py/jaC4K7Ykdelw=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=ZysZd5mjN3n4laT8KfxEOC5NFLpH0tfmc/DwKCs5Mu58UZjgcSM9ublTXqVBR0OfT gYidcqWE7esjz61LrtKozj2ipJ+9ERcDHHHIgkFWskLWMUx/qLD6G1l31m8o7iwXTk /7+smQcVKsXzkZBNvYT6O9tQ9umZOHxrGmqTc7bg= In-Reply-To: (Lars Ingebrigtsen's message of "Sun, 22 Jul 2018 15:59:52 +0200") X-Virus-Scanned: clamav-milter 0.99.2 at g02sm02 X-Virus-Status: Clean X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 94.130.159.241 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:227698 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Lars Ingebrigtsen 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.=20 Because, when I run (gnus-summary-limit-exclude-marks "Q"), the tree struct= ure 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: =20=20 =2D- Toon --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEqpqkV/lEuXKD1KF3MRQ6gtMrOJcFAltVaEwACgkQMRQ6gtMr OJd7JhAAphAFt+9moXXPwIuUUVKSNGwUJEAqly9vNOv31P93+dwpiouXyI/DCLVZ FzRnhVagfWhV2G3GWMz3hxMPAbtvOevGun4WqB5t6MvRjkmXAc7f9D3i5Sp4x5N3 yuWqqvGAa1yhdcyDSOmoeNhVtEnjWF36lxGzIwBQ0+QA+zRywf6DwKzoc7MB0MLm PbU/eTQckhw1tfGzblPYaOKlgshEabOgADpVfuuoZiSMWL2X5C/7OkBsU+FtDPjp QnBsGW1XuM/N9l2XlaY85iRebNCgsC0UHXbAO8xj1bIwfsejIbWDuhFpXfK7zfYY fT2PLg8+eyjpc4tj9RDMU2F2C3ypL8KwPW4YYxO9jZyMvnVW4PzUzL4gPYUJviTr v9SzFWr6rWwi4TWKj1ZaID5kyzW4dz5hPm7DGMA+wXrlZEdujsFRluCyfKk9t35L TH7G6ZBYelGzV13ORw8ZZJEJKNLX6e6SPx9hz/c5PoRyRP9o3nx/2YA/V9w2fdBl Hcjrurvf0JoPkb1WcdhzsIt2TvQ7LIb+EcyGRZiMlXUZjB2yWj1FTCT1mUyhKmAb HiuPJZv6aysgkuLBZOJQ7U3k7NYIYM5XRhxhWNoHNTjc08or3DsnCFHuA5vTQ34l /WfyXfvLAngvBumlcwTETR4RAHZwj6hwxElMa7PRuZkru50f1Iw= =gIH+ -----END PGP SIGNATURE----- --=-=-=--