Gnus development mailing list
 help / color / mirror / Atom feed
From: bojohan+news@dd.chalmers.se (Johan Bockgård)
Subject: Re: Bug in %B summary format?
Date: Tue, 01 Apr 2003 23:34:31 +0200	[thread overview]
Message-ID: <yoijsmt1dhqw.fsf@helm.dd.chalmers.se> (raw)
In-Reply-To: <uisty2z0y.fsf@ariel.co.uk>

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...

I've been thinking about this. For it to look good there should be a
way to change the look of the summary line of a root when the subtree
under it is hidden (could be handy in general, if you want something
else then ...), to prevent something like this:

     Re: Gnus "beeping" constantly
     ,---Re: nnfolder always shows no new mails...
     Re: nnfolder/save problem...

I discovered that I could make the dummy line go away already (without
hacking gnus internals) by abusing gnus-summary-dummy-line-format (I
always wondered why you should have to end *-line-format in a "\n" in
the first place).

I have
 
(setq
   gnus-summary-make-false-root   'dummy
   gnus-summary-dummy-line-format " "
   ;; note tabulator at front
   gnus-summary-line-format
   "%1=%ua%U%R%4N %d %1{%[%z%}%* %2{%(%-20,20f%)%} %1{%]%2t %B%}%0{%S%}\n"
   )

which makes the dummy line disappear, leaving me with

     Re: Gnus "beeping" constantly
     |-->Re: nnfolder always shows no new mails
     | `-->Re: nnfolder always shows no new mails
     |   `-->Re: nnfolder always shows no new mails
     `-->Re: nnfolder always shows no new mails
     Re: nnfolder/save problem
        
But as said, that looks ugly when hiding threads, and the |--> makes
the thread look like it belongs to the previous one.

I'd be cool if you found the right way to do this.

/Johan



  reply	other threads:[~2003-04-01 21:34 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 [this message]
2003-04-16 15:23             ` Mike Woolley
2003-04-16  9:01           ` Mike Woolley
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=yoijsmt1dhqw.fsf@helm.dd.chalmers.se \
    --to=bojohan+news@dd.chalmers.se \
    /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).