Article View: news.software.readers
Article #60152Re: tin: Wrap (un)quoted text before quoting?
From: Jeroen Scheerder
Date: Tue, 04 Apr 2000 00:00
Date: Tue, 04 Apr 2000 00:00
29 lines
2124 bytes
2124 bytes
Frank Slootweg <franks@neth.hp.com>:
[snip]
> I realize the functions of tin and the editor (vi(1) in my case), but
> the problem is that *tin* quotes the old text when I do a f(ollowup) and
> *then* presents it to the editor, i.e. the 'harm' is already done when
> the editor is invoked.
>
> I could of course undo the quoting with an editor command, or not
> quote it in the first place (but that would be a pain for all normal
> (i.e. original line is not too long) responses), and then reformat/
> rewrap it with the editor or some external utility.
It's really rather trivial (in vi(1) too) to apply a quote-sensitive
rewrapper. Vim has one built in, but it's easy to use an external
filter that rewraps, keeping quotation intact, in classic vi.
You may want to have a look at the `par' text formatter, which is nice
and powerful; a more lightweight "proof of concept" hack (by John
Moreno, mainly) that includes a quote-sensitive rewrapper, can be
obtained at (whatever suits you best):
<http://www.newsreaders.com/gnksa/wrapping.tar.gz>
or <http://www.xs4all.nl/%7Ejs/gnksa/wrapping.tar.gz>.
-- J$
Technical Details
Message-ID:
<1e8kcat.15b4y0r1td7t6N@naka.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-mailReferences:
<8ca351$nve$1@news.neth.hp.com> <8cadkl$1hq$1@news.svengo.de> <8ccbhs$18r$1@news.neth.hp.com>Show Full Headers
Complete Article Headers
Message-ID: <1e8kcat.15b4y0r1td7t6N@naka.org> Subject: Re: tin: Wrap (un)quoted text before quoting? Date: Tue, 04 Apr 2000 00:00:00 +0000 From: js@cwi.nl (Jeroen Scheerder) References: <8ca351$nve$1@news.neth.hp.com> <8cadkl$1hq$1@news.svengo.de> <8ccbhs$18r$1@news.neth.hp.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.mbox.zip!not-for-mail X-Deja-AN: 606486916 Sender: js@20dyn167.utr.casema.net Mail-Copies-To: nobody X-Complaints-To: abuse@xs4all.nl X-Trace: news1.xs4all.nl 954843222 27359 213.17.11.167 (4 Apr 2000 10:13:42 GMT) X-Face: (u%,<Ek_K4]BW;*pmlV&,Ev+p0W0hHt,PZs7\2OV%HhTE5\$\MU79J|bQB_m3G"n ,Mz'Pb6*(Z~Wr\GkY`X<!RfA0%7R Organization: Al-Munqidh min-al-Dalaal User-Agent: MacSOUP/2.4.4 NNTP-Posting-Date: 4 Apr 2000 10:13:42 GMT Newsgroups: news.software.readers