From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/2052 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.user Subject: Re: better gnus-thread-score-function Date: Fri, 07 Feb 2003 12:59:54 +0100 Organization: Programmerer Ingebrigtsen Message-ID: References: <85bs1yy81y.fsf.Hubert.Canon@free.fr> <85adhdgwlc.fsf.Hubert.Canon@free.fr> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1138668622 13745 80.91.229.2 (31 Jan 2006 00:50:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 00:50:22 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:30:06 2006 Original-Path: quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: quimbies.gnus.org Original-X-Trace: quimby.gnus.org 1044619659 12931 80.91.231.2 (7 Feb 2003 12:07:39 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 7 Feb 2003 12:07:39 GMT Mail-Copies-To: never X-Now-Playing: ESG's _Step Off_: "Be Good To Me" Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEWHh4dDQ0MbGxsTExPA wMBkZGT////x8fEoKCgICAgnNF3mAAACb0lEQVR4nE2UsY7bMAyGGcBG1lN6BtxVWtLVWs6bBjde LaBC8wAHe80gWLMdHKDMnvS2JSknPQJZ+PmnfpJSYPwWoevC6EsnRIyQU1Og8AaKiy/tN+A7DgAo RlTUDAIKOG0ASgeXm/0OoKDPwTlXTGYHM1YCyJLSuaG/ZTAhMJDP6Expq+LT1lHy4ZPpQh8yOQjX +wOBmY6Y2S+RUlR/RlOvQJX8zI1kx7X4O1lUhJl9jTswYJfjjc4gszMBv7do45u5rgqoCs/JhwxE XKBeyZWf9wFmcI3Lm5UKQc+OX9O6yliVpJj65xCBw67nxXGpOdBIALvGSSFQKDlx50cCjgborPiy qjkvNYHpiLOCgxPOIjrbVTeRFVP/WQ4ABj+vKluLu1YrK8bZQwedP7jKiUosSkuZp0uOihHPHsA6 EVVq1JoVON5+MiWWQ2Mn3W5RPgE5RgFt8JrSE3DnwE2gbcuARjLxDt21GvJ1aNO2vgBeNZtB6R4J bT0BXQMxcN7dn2DkpbNbBlFtL+Avk2FXZKFeGYQZFxWCcdkVgagxcOce12fw6lcoocnXotGN2i+c 6/COV47ybiGg8xnmSKWE4xC1fIEugPsfJwRtLtUH3useSmq9g3n8ZEO4Eay0Sa1ewDMQwoofuA5S 9AE76T0MJeUxfibJpd7xCd/Yv8jxSJhHcB5wsXgPBL2vGBfxc8tAEcGnHeN6xl8Uj03rpBMo3XxB 53YBKh4NKRK0bdLNe0lgxWsTxa8k1YYgbR/CFTf8l5BSYjHR4s63lEB/CLFUgV4w5Zd7ygGYv7fN 5Tf9sSxxOaUnSI1sU3MxuY1XPv0DqudNZS8/p0UAAAAASUVORK5CYII= User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:o1f/5G0hOEN5ue7g/fyniTqhdPY= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:2192 Original-Lines: 35 X-Gnus-Article-Number: 2192 Tue Jan 17 17:30:06 2006 Xref: news.gmane.org gmane.emacs.gnus.user:2052 Archived-At: Hubert Canon writes: >> It sounds like a good idea, but do we really need the divisor? Could >> you get rid of that variable and submit a patch? > > I don't quite exactly understand what you propose : that I get rid of > that variable and that I put it inside the function ? You can compute the maximum number of articles in the threads and use that, perhaps. But if it doesn't make any difference what the number is, just hard-code it in the function. > As a matter of fact, I am not so easy with the internals of gnus yet ; > I need time to look into before I change anything. In order to debug > more efficiently, I would like to know what is exactly a "thread" for > gnus-thread-total-score : I would like to display the total score of a > (sub-)thread in the summary buffer. It's basically a tree on the form ([header] subthread subtread ...) where each subthread has the same structure. This is somewhat complicated by the presence of gathered threads, which look like ("subject" subthread subtread ...) That should be it, unless I've forgotten some complexities of the structure. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen