From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/51525 Path: main.gmane.org!not-for-mail From: Mike Woolley Newsgroups: gmane.emacs.gnus.general Subject: Re: Bug in %B summary format? Date: Wed, 16 Apr 2003 10:01:09 +0100 Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: main.gmane.org 1050483712 16247 80.91.224.249 (16 Apr 2003 09:01:52 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 16 Apr 2003 09:01:52 +0000 (UTC) Original-X-From: ding-owner+M69=gmane.org=ding+2Daccount@lists.math.uh.edu Wed Apr 16 11:01:50 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 195in4-0004Bb-00 for ; Wed, 16 Apr 2003 11:01:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 195ink-0008Gl-03 for ding-account@gmane.org; Wed, 16 Apr 2003 04:01:56 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 195inb-0008Gb-00 for ding@lists.math.uh.edu; Wed, 16 Apr 2003 04:01:47 -0500 Original-Received: (qmail 53516 invoked by alias); 16 Apr 2003 09:01:46 -0000 Original-Received: (qmail 53511 invoked from network); 16 Apr 2003 09:01:46 -0000 Original-Received: from ip125.ariel.co.uk (HELO server30.ariel.co.uk) (195.112.22.125) by sclp3.sclp.com with SMTP; 16 Apr 2003 09:01:46 -0000 Original-Received: from MIKE.ariel.co.uk (MIKE [192.168.0.18]) by server30.ariel.co.uk with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id 26HPF7KT; Wed, 16 Apr 2003 10:04:22 +0100 Original-To: ding@gnus.org X-Face: zo(d<$!]|W?eo}y<{;HoizqV&U?7R$0qo5~D*B#d;,TPAY0iB 5+2ka2zR3R&I"H-CBVq.jykC$]rfsY-fb%I0$=/3(yTesXxy#g In-Reply-To: (Mike Woolley's message of "Tue, 01 Apr 2003 13:16:45 +0100") User-Agent: Gnus/5.090018 (Oort Gnus v0.18) Emacs/21.3.50 (windows-nt) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:51525 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:51525 --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Mike Woolley writes: > bojohan+news@dd.chalmers.se (Johan Bockg=E5rd) writes: > >> The appearance I would like is the above with the actual dummy line >> removed (and preferably a gnus-sum-thread-tree-false-root variable >> to allow me to make the false root start ",---" or something along >> that line). > > I like your suggestion better than mine :-) I'll see if I can > implement it that way... Patch attached. What I've done is make a small change so that false roots are now indicated by `gnus-sum-thread-tree-false-root'. I've defaulted this to "> " (ie the same as `gnus-sum-thread-tree-root'). Cheers, Mike --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=gnus-sum.el.patch --- gnus-sum.el.orig 2003-04-12 22:47:24.000000000 +0100 +++ gnus-sum.el 2003-04-16 09:35:21.000000000 +0100 @@ -4567,6 +4567,11 @@ If nil, use subject instead." :type 'string :group 'gnus-thread) +(defcustom gnus-sum-thread-tree-false-root "> " + "With %B spec, used for a false root of a thread. +If nil, use subject instead." + :type 'string + :group 'gnus-thread) (defcustom gnus-sum-thread-tree-single-indent "" "With %B spec, used for a thread with just one message. If nil, use subject instead." @@ -4837,9 +4842,12 @@ (cond ((not gnus-show-threads) "") ((zerop gnus-tmp-level) - (if (cdar thread) - (or gnus-sum-thread-tree-root subject) - (or gnus-sum-thread-tree-single-indent subject))) + (cond ((cdar thread) + (or gnus-sum-thread-tree-root subject)) + (gnus-tmp-new-adopts + (or gnus-sum-thread-tree-false-root subject)) + (t + (or gnus-sum-thread-tree-single-indent subject)))) (t (concat (apply 'concat (mapcar (lambda (item) --=-=-=--