Article View: news.software.readers
Article #139774Re: [slrn] fixing tofu for display
From: Sven Guckes
Date: Wed, 24 Dec 2003 10:58
Date: Wed, 24 Dec 2003 10:58
32 lines
2993 bytes
2993 bytes
* Paul Boekholt <p.boekholt@hetnet.nl>: > On 24 Dec 2003 07:44:07 GMT, Sven Guckes <usenet@guckes.net>: >> so you want slrn to use an internal slang function >> which rearranges the text before it gets displayed? > Rather a slang script, colloquially known as library function, or user > defined function. It would probably use regexp functions also available > in JED, so I could adapt it. I've done that once with oe_quot.sl, see > <http://jedmodes.sourceforge.net/mode/email/last/download/email.sl> so - can you do it for slrn, too? >> but i'd prefer to write it like this: >> from "ntuf" (new text under fullquote) >> to "ntof" (new text over fullquote) > That may make more sense when you don't want to read the fullquote. > But when you reply to your rearranged message, you'll look funny. well, i guess there needs be two kinds of replies/followups: with and without the pre-formatting. >> by the way, i am using "sed" as the display_filter to make changes and >> deletions to the message's text, but i'm not sure how to "detect" a >> fullquote and how to move it to the start of the text. > > Does sed have psychic powers? When there's a single block of quoting, > it's very long, and ends in a signature, it's probably a fullquote. well, describing such things is not easy within sed as you don't have a language with if/then/else "branches". ok, there *is* such a thing, but it's not really readable. ;-) Sven
Technical Details
Message-ID:
<2003-12-24T10-54-38@guckes.net>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!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!news2.euro.net!news.cambrium.nl!news.cambrium.nl!news.cambrium.nl!news2.telebyte.nl!fu-berlin.de!uni-berlin.de!pima.hostsharing.NET!not-for-mailReferences:
<slrnbtv8su.e4o.usenet@pima.hostsharing.net> <slrnbu1mou.2j1.tststs@moonlight.tststs.ddns.org> <2003-12-18T19-33-21@guckes.net> <slrnbu6kmt.1cg.tststs@moonlight.tststs.ddns.org> <bs1is8$5ga$1@reader10.wxs.nl> <slrnbu9n9s.2hu.jbn@forestfield.org> <bs410m$qqt$1@reader11.wxs.nl> <slrnbucuqm.a6d.jbn@forestfield.org> <bs6ck7$l3e$1@reader10.wxs.nl> <slrnbuet82.bg4.jbn@forestfield.org> <bs9cni$oi3$1@reader10.wxs.nl> <2003-12-24T07-30-39@guckes.net> <bsbogt$hag$1@reader10.wxs.nl>Show Full Headers
Complete Article Headers
Message-ID: <2003-12-24T10-54-38@guckes.net> Subject: Re: [slrn] fixing tofu for display Date: Wed, 24 Dec 2003 10:58:47 +0000 From: Sven Guckes <usenet@guckes.net> References: <slrnbtv8su.e4o.usenet@pima.hostsharing.net> <slrnbu1mou.2j1.tststs@moonlight.tststs.ddns.org> <2003-12-18T19-33-21@guckes.net> <slrnbu6kmt.1cg.tststs@moonlight.tststs.ddns.org> <bs1is8$5ga$1@reader10.wxs.nl> <slrnbu9n9s.2hu.jbn@forestfield.org> <bs410m$qqt$1@reader11.wxs.nl> <slrnbucuqm.a6d.jbn@forestfield.org> <bs6ck7$l3e$1@reader10.wxs.nl> <slrnbuet82.bg4.jbn@forestfield.org> <bs9cni$oi3$1@reader10.wxs.nl> <2003-12-24T07-30-39@guckes.net> <bsbogt$hag$1@reader10.wxs.nl> 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!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!news2.euro.net!news.cambrium.nl!news.cambrium.nl!news.cambrium.nl!news2.telebyte.nl!fu-berlin.de!uni-berlin.de!pima.hostsharing.NET!not-for-mail Newsgroups: news.software.readers Lines: 32 Reply-To: Sven Guckes <usenet-reply@guckes.net> NNTP-Posting-Host: pima.hostsharing.net (212.42.230.40) X-Trace: news.uni-berlin.de 1072263527 11853892 212.42.230.40 ([44059]) Mail-Copies-To: guckes-usenet-cc@guckes.net User-Agent: slrn/0.9.8.0 (Linux)