From: Mike Woolley <mike@ariel.co.uk>
Subject: Re: Bug in %B summary format?
Date: Wed, 16 Apr 2003 10:01:09 +0100 [thread overview]
Message-ID: <uptnmzui2.fsf@ariel.co.uk> (raw)
In-Reply-To: <uisty2z0y.fsf@ariel.co.uk> (Mike Woolley's message of "Tue, 01 Apr 2003 13:16:45 +0100")
[-- Attachment #1: Type: text/plain, Size: 659 bytes --]
Mike Woolley <mike@ariel.co.uk> writes:
> bojohan+news@dd.chalmers.se (Johan Bockgård) 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
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: gnus-sum.el.patch --]
[-- Type: text/x-patch, Size: 1059 bytes --]
--- 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)
next prev parent reply other threads:[~2003-04-16 9:01 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-18 10:33 Mike Woolley
2003-03-30 14:29 ` Lars Magne Ingebrigtsen
2003-03-31 11:31 ` Mike Woolley
2003-03-31 16:44 ` Lars Magne Ingebrigtsen
2003-03-31 17:46 ` Johan Bockgård
2003-04-01 12:16 ` Mike Woolley
2003-04-01 21:34 ` Johan Bockgård
2003-04-16 15:23 ` Mike Woolley
2003-04-16 9:01 ` Mike Woolley [this message]
2003-04-16 22:31 ` Lars Magne Ingebrigtsen
2003-04-17 15:12 ` Mike Woolley
2003-04-27 3:06 ` Lars Magne Ingebrigtsen
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=uptnmzui2.fsf@ariel.co.uk \
--to=mike@ariel.co.uk \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).