🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #180937

Re: [slrn in VT] reply quoting only selection

#180937
From: paf the dog
Date: Fri, 24 Feb 2006 03:31
83 lines
3198 bytes
SINNER grumbled:
> Of course I would love to be proven wrong as it would be quite useful. I
> miss this feature from Xnews.

it is almost done

only remains one bug: one *must* select whole lines

it works if your selection contains part of the first line, but the last
line *must* be a line selection

I just used it to reply to you :)

if you select only part of last line, it is not included in the
selection, which is not a big deal, but it is sent to stdin of the tty
and then one can get into big troubles :D

unless the line starts with i and your editor is vim, in which case you
will exceptionnally be lucky to get your piece of line, unquoted and
truncated of its leading i. If it's a Q, you get into visual mode and
the remaining line is sent as commands and wow it can hurt a bit ;)

and since I miss xnews too, I just finished a plugin that makes quotes
be replaced by quotation marks -1 + space + [...]

it works in a cycle. pressing your associated keystroke makes first the
most quoted text to be replaced, then the level below and so forth until
the > level, and then back to the full article

seems to work smoothly but I am tired and cannot do all and every bug
trackings right now. But it seems to work.

Did another one, for vim this time, that makes you change quoted lines
above cursor into a quoted [...]. It does it either to all quoted text
of the same or upper level, crecending (is this english?) or all quoted
text of same or upper level, whatever the disposition

erm, say, you have such text:

blee:
> blah:
>> blo:
>>> dsfsdf
>>> dfggfdg
>>
>> erm yes
>>
>>> trerertr
>>
>> but then, no
>>
>
> glglglgl
> pouet pouet
> tralala

in one case you'll get, in case your cursor is on > pouet pouet first
character:

blee:
> blah:
>> blo:
>>> dsfsdf
>>> dfggfdg
>>
>> erm yes
>>
> [...]
> pouet pouet
> tralala

and in the other case:

blee:
> [...]
> pouet pouet
> tralala

now I need some sleep 8-|

-- 
paf the dog
remove primate to reply
Technical Details
Message-ID: <slrndvsvfo.906.pafbaboonlechien@jeannot.frigo.gla>
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!border2.nntp.dca.giganews.com!nntp.giganews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!news-lond.gip.net!news-raspail.gip.net!news.gsl.net!gip.net!grolier!usenet-fr.net!gegeweb.org!not-for-mail
References: <slrndvs4mt.6cp.pafbaboonlechien@jeannot.frigo.gla> <d192d3x2it.ln2@news.gates-of-hell.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrndvsvfo.906.pafbaboonlechien@jeannot.frigo.gla>
Subject: Re: [slrn in VT] reply quoting only selection
Date: Fri, 24 Feb 2006 03:31:05 +0000
From: paf the dog <pafbaboonlechien@neuf.fr>
References: <slrndvs4mt.6cp.pafbaboonlechien@jeannot.frigo.gla> <d192d3x2it.ln2@news.gates-of-hell.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!border2.nntp.dca.giganews.com!nntp.giganews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!news-lond.gip.net!news-raspail.gip.net!news.gsl.net!gip.net!grolier!usenet-fr.net!gegeweb.org!not-for-mail
Newsgroups: news.software.readers
Organization: Crashed Dogs
Lines: 83
NNTP-Posting-Host: 102.110.119-80.rev.gaoland.net
X-Trace: freebee.gegeweb.org 1140751865 61581 80.119.110.102 (24 Feb 2006
X-Complaints-To: abuse@gegeweb.org
NNTP-Posting-Date: Fri, 24 Feb 2006 03:31:05 +0000 (UTC)
X-No-Archive: yes
User-Agent: slrn/0.9.8.1/rt (Linux)