🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #50021

[slrn] Patch: colors for different quote-levels

#50021
From: Thomas Schultz
Date: Wed, 21 Jul 1999 00:00
29 lines
1970 bytes
Hi,

I implemented one of the features that are most frequently requested
in de.comm.software.newsreader -- I wrote a patch that adds the
possibility to assign different colors to different quote-levels. It
introduces the new color objects quotes1 (for quote levels 1, 5, 9
etc.) to quotes4 (for quote levels 4, 8...). The color object "quotes"
remains valid and is now an alias for "quotes1".

The highlighting takes into account all regular expressions that are
defined using "ignore_quotes". To achieve this, I needed to change
S-Lang; any hints on how to implement the same functionality without
patching S-Lang are appreciated. Otherwise, I would be glad if it was
possible to add the needed feature to the official S-Lang release.

The two patches (one for S-Lang 1.3.8, the other one for slrn 0.9.5.7)
can be obtained from the following URLs:

http://home.knuut.de/svengo/patch_slang_regexp.diff
http://home.knuut.de/svengo/patch_slrn_quotes.diff

Please note that http://home.knuut.de/svengo/ is *not* my homepage,
but that its owner was so kind to upload my patches there. Please do
not bother him in case you should encounter problems with the patches.
-- 
Kind regards,
    Thomas Schultz

Technical Details
Message-ID: <slrn7pclmu.ia.tststs@starflower.tststs.ddns.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <slrn7pclmu.ia.tststs@starflower.tststs.ddns.org>
Subject: [slrn] Patch: colors for different quote-levels
Date: Wed, 21 Jul 1999 00:00:00 +0000
From: tststs@gmx.de (Thomas Schultz)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 503748818
X-Server-Date: 22 Jul 1999 00:25:31 GMT
X-Trace: news1.cityweb.de 932603308 62.52.148.118 (Thu, 22 Jul 1999 02:28:28 MET DST)
Organization: Pinguin online
User-Agent: slrn/0.9.5.7 (UNIX)
NNTP-Posting-Date: Thu, 22 Jul 1999 02:28:28 MET DST
Newsgroups: news.software.readers