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:32:10 +0200 Message-ID: <87k1pmikkl.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 1532323894 18164 195.159.176.226 (23 Jul 2018 05:31:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 23 Jul 2018 05:31:34 +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:30 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 1fhTRR-0004Zp-0T for ged-emacs-devel@m.gmane.org; Mon, 23 Jul 2018 07:31:29 +0200 Original-Received: from localhost ([::1]:32847 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhTTY-0002tj-0H for ged-emacs-devel@m.gmane.org; Mon, 23 Jul 2018 01:33:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47951) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhTSY-0002qi-Qm for emacs-devel@gnu.org; Mon, 23 Jul 2018 01:32:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fhTS9-0006dM-2U for emacs-devel@gnu.org; Mon, 23 Jul 2018 01:32:38 -0400 Original-Received: from smtp.soverin.net ([94.130.159.241]:34291 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 1fhTS8-0006d8-OB for emacs-devel@gnu.org; Mon, 23 Jul 2018 01:32:12 -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=1532323931; bh=StAWvGyKxP81XfUe9TPUEMaY99Ypmkt8o/PlvvPsweA=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=F0i/J3B5GRF5sCgiNolLM0C9rJKV3nWsO3m5OER2ii5bYLFZqB71k0+ATtdnHRJYF 5CQob/yDejnpD4TArkPma9a8X8IEiPqVMa2ZoaEzoxb+yTX6Lb+r0Pql+zgE7bx2fC JQKn4fF0K9bi7lpiMy8dwH3iELhKIt+WeN/NGHVY= 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:227699 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/lEuXKD1KF3MRQ6gtMrOJcFAltVaFoACgkQMRQ6gtMr OJe77RAAjLBhHvgQZDzcdUIkKn/BHOIIOFrg+ZDsSHGJOymD3b1xlczxdD9Uq0gX Z669Il/EN1mE2ZkEq26AxYEBk8QJ23Yu95vA1clbovzqN0IJ4xKQKxbxDcFTqGha M1isFeLCNzU0PSz35pul6fpvjk8qbZBR9qrZNisIJVc8hxGN8HwLSHsD6fYrCqrK BLyRSw7iggfo9RW+9TN/9D1psrW6TjZH6p4aKpCcaKdMfilYy7onRc1m8fIZgmyc hbA5iyGxhfqoGg2PfwUE0iQCaiycPOSsf/v5vm/Bohz6MvKi+itaJWr2YuSnh8qt Afip3ivtOiW0DVee06U75T74WyGTNp2O49mF2zuXdav8xbT5XyfnkUpxzIGwzUO7 i1rhbiJtW103M1LDK8A+debR3qwcoj3SK7p2HYM3ahu7Wq8hC2ER2GB9YFed5EEZ uTR8fU+dFpURAiX2fsVw5m2Tc6aeEXtQbnislEdiVc2gT6TTwGS0jB3wMCWHRHRi O2mzLzr3BpAoG2rKxOk6YPsPwbtMAUCdmb3gne5Oha6sgUsYfqehAHcCNyTLxIgP 3Qsjh7yunpXDOdxzRPJDPXmQEExI7v/cbB+Ku304n90UhT6zJb8mDIscRJGAf5mC 0IO/VqeLEPl6KxijZJSua0GuGdPkNWEzaQnij88mnC11XGqcKDo= =nBZi -----END PGP SIGNATURE----- --=-=-=--