Thread View: news.software.readers
2 messages
2 total messages
Started by Simon Straison
Fri, 28 Oct 2011 21:13
[slrn] syntax highlighting of articles
Author: Simon Straison
Date: Fri, 28 Oct 2011 21:13
Date: Fri, 28 Oct 2011 21:13
10 lines
1418 bytes
1418 bytes
Hi, does anyone know how to do syntax highlighting of articles in slrn? It would be nice if I had some syntax highlighting (maybe explicitly activated with a key) when viewing articles of a programming newsgroup. Thanks in advance, Simon
Re: [slrn] syntax highlighting of articles
Author: Peter J Ross
Date: Fri, 28 Oct 2011 21:40
Date: Fri, 28 Oct 2011 21:40
27 lines
2089 bytes
2089 bytes
In news.software.readers on Fri, 28 Oct 2011 23:13:03 +0200, Simon Straison <arskus@arcor.de> wrote: > Hi, > > does anyone know how to do syntax highlighting of articles in slrn? > > It would be nice if I had some syntax highlighting (maybe explicitly > activated with a key) when viewing articles of a programming > newsgroup. Troy Piggins used to have a site with instructions for this kind of thing, but it (and he) seem to have gone AWOL, though fragments still exist in the Wayback Machine. You probably want a macro like this one: <http://web.archive.org/web/20081209051809/http://piggo.com/~troy/slrn.php#wordcolour> But you'll have to create your own patterns to be matched. You may be able to adapt them from the syntax highlighting rules of the jed editor. (Why jed, not emacs or vim? Because, like slrn, jed uses S-Lang regexes.) -- PJR :-)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads