Article View: news.software.readers
Article #174825Re: Dialog: colorizing header list
From: Kristi
Date: Fri, 07 Oct 2005 23:07
Date: Fri, 07 Oct 2005 23:07
67 lines
4294 bytes
4294 bytes
On Thu, 6 Oct 2005 19:39:48 +0200, Korbinian Abenthum wrote:
> wyzwyz wrote:
>> On Wed, 5 Oct 2005 09:53:38 -0400, Kristi wrote:
>
>>>> !setcolor(default;$00FFFF) references {dlg@krististuf\.com>( <\S*@\S*>){4,4}$} #brt yellow
>>>> !setcolor(default;$FFCCFF) references {dlg@krististuf\.com>( <\S*@\S*>){3,3}$} #lt lavender
>>>> !setcolor(default;$99CCFF) references {dlg@krististuf\.com>( <\S*@\S*>){2,2}$} #orange
>>>> !setcolor(default;$33CCFF) references {dlg@krististuf\.com>( <\S*@\S*>){1,1}$} #yellow
>>>> !setcolor(default;$FFDDDD) references {dlg@krististuf\.com>$} #lt purple
>>>> !setcolor(default;$FF99FF) Message-ID dlg@krististuf.com> #lavender
>
>>> yeah! pretty colors! (I changed them somewhat.) Thanks wyzwyz!!! Seems
>>> to work great!
>
> I'd recommend changing that a bit. Although it apparently works, the regular
> expression is somewhat ambiguous¹.
> Use
>
>| !setcolor(default;$00FFFF) references {@krististuf\.com>(\s+<[^>]*>){4}\s*$} #brt yellow
>| !setcolor(default;$FFCCFF) references {@krististuf\.com>(\s+<[^>]*>){3}\s*$} #lt lavender
>| !setcolor(default;$99CCFF) references {@krististuf\.com>(\s+<[^>]*>){2}\s*$} #orange
>| !setcolor(default;$33CCFF) references {@krististuf\.com>(\s+<[^>]*>){1}\s*$} #yellow
>| !setcolor(default;$FFDDDD) references {@krististuf\.com>\s*$} #lt purple
>| !setcolor(default;$FF99FF) Message-ID "@krististuf.com>" #lavender
>
>
>>> Is there any way to get it to highlight the first item in a collapsed
>>> thread if one of the items of the thread is highlighted?
>
>> i think that needs a script
>
> Not even with a script I fear.
> I'm doing it like wyzwyz suggested:
>
>> =+9999 Message-ID "dlg@krististuf.com>"
>
> Score on your own messages. If a thread is collapsed, the first item will
> show the highest score of the thread. That'll show you all the threads you
> participated in on one glance.
>
>> which will make all the threads you participate jump to the top.
>
> ... if you sort your headers by score.
>
>> oh, and when i added a !setcolor(default;default) header {.}
>> my log file started crashing ...
>
> Your log file crashed?
> Hmm, I'm doing something like that frequently, whenever I finish
> experimenting with colors.
> How about
>
>| !setcolor(default;default) message-id *
>
> __
> ¹) a "\S" matches a ">" character. Apparently the "*" in DIALOG's RegEx
> engine is lazy at the moment, since it works, but still. Furthermore, I'm
> not quite sure if the regex as it was will match on a folded References
> header. It probably will, since DIALOG unfolds it in the header-view, too,
> but it should be safer with a "\s+" instead of a " ".
yes, that works! Thanks!
Kristi
--
Shuttle AN35N Ultra, GeF4Ti4200, XP2600+Barton, 786mb
XPSP2+
Technical Details
Message-ID:
<6znmdy56wozq.dlg@krististuf.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news3.google.com!news.glorb.com!news.astraweb.com!news-router1.astraweb.com!not-for-mailReferences:
<p10h3lx7i5eq$.dlg@krististuf.com> <4342dfe8$0$19785$5a62ac22@per-qv1-newsreader-01.iinet.net.au> <14l0vx2gnfvjr.dlg@krististuf.com> <43432e86$0$19786$5a62ac22@per-qv1-newsreader-01.iinet.net.au> <43433e4f$0$19795$5a62ac22@per-qv1-newsreader-01.iinet.net.au> <8p3ias3f1nof$.dlg@krististuf.com> <eesuq97ruqky$.dlg@krististuf.com> <434419e8$0$19774$5a62ac22@per-qv1-newsreader-01.iinet.net.au> <061005.193948.nsr.58@news.abenthum.de>Show Full Headers
Complete Article Headers
Message-ID: <6znmdy56wozq.dlg@krististuf.com> Subject: Re: Dialog: colorizing header list Date: Fri, 7 Oct 2005 19:07:05 -0400 From: Kristi <a@b.net> References: <p10h3lx7i5eq$.dlg@krististuf.com> <4342dfe8$0$19785$5a62ac22@per-qv1-newsreader-01.iinet.net.au> <14l0vx2gnfvjr.dlg@krististuf.com> <43432e86$0$19786$5a62ac22@per-qv1-newsreader-01.iinet.net.au> <43433e4f$0$19795$5a62ac22@per-qv1-newsreader-01.iinet.net.au> <8p3ias3f1nof$.dlg@krististuf.com> <eesuq97ruqky$.dlg@krististuf.com> <434419e8$0$19774$5a62ac22@per-qv1-newsreader-01.iinet.net.au> <061005.193948.nsr.58@news.abenthum.de> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news3.google.com!news.glorb.com!news.astraweb.com!news-router1.astraweb.com!not-for-mail Newsgroups: news.software.readers User-Agent: 40tude_Dialog/2.0.15.1 (6640d206.485.477) MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Lines: 67 Organization: Unlimited download news at news.astraweb.com NNTP-Posting-Host: c885ed58.news.astraweb.com X-Trace: DXC=IYc=?[gI^GPZio4aKR`fh\L?0kYOcDh@Z1I; RlOV<?X]8H_Cj:E?90[I8iQjEDQ\`Y277BXXR3j=]S9ChNXgQTi]