🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #242050

Re: Quotelength with slrn and vim

#242050
From: Bastian Erdnuess
Date: Mon, 09 Aug 2010 03:50
40 lines
2286 bytes
houghi wrote:

> Bastian Erdnuess wrote:
>> I don't think that fmt is the right tool for your needs.
>>
>> Here is another one:
>>
>>   set editor "vim '%s' +':norm 1G/^$^MjV/^-- $^Mkgw' +':nohl' +%c"
>>
>> where the two '^M' behind the dollar signs are keyed in by
>> '[ctrl]-[v],[return]'.
>>
>> Works only if you have a sig.
>
> That gives an error, saying there is an editor error and I can't edit
> anything.
>
>> What happens when you just use
>>
>>   set editor "vim '%s' +%c"
>
> That also gives the same error.

Oops, should be %d instead of %c.  (Same above and everywhere.)

I don't understand why

  set editor "vim '%s' +%d +':norm gwap'"

could mess up your sig, when you have this

> set signoff_string "\nhoughi"

signoff string.

If it does, can you try to reproduce the error and post an example where
it does?

Cheers
Bastian
Technical Details
Message-ID: <slrni5uuoc.10p.earthnut@wh36-e604.wh36.uni-karlsruhe.de>
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!border1.nntp.ams.giganews.com!nntp.giganews.com!news.musoftware.de!wum.musoftware.de!newsfeed.straub-nv.de!news-2.dfn.de!news.dfn.de!news.uni-stuttgart.de!news.belwue.de!rz.uni-karlsruhe.de!news.rz.uni-karlsruhe.de!not-for-mail
References: <slrni5qtcf.d1a.houghi@penne.houghi> <8c65hsFn65U1@mid.individual.net> <slrni5rt0a.bl5.houghi@penne.houghi> <8c6c4cFnl3U1@mid.individual.net> <slrni5t5ah.14a.houghi@penne.houghi> <slrni5tsvk.bi9.earthnut@wh36-e604.wh36.uni-karlsruhe.de> <slrni5umar.tp0.houghi@penne.houghi>

Show Full Headers
Complete Article Headers
Message-ID: <slrni5uuoc.10p.earthnut@wh36-e604.wh36.uni-karlsruhe.de>
Subject: Re: Quotelength with slrn and vim
Date: Mon, 09 Aug 2010 03:50:36 +0000
From: Bastian Erdnuess <earthnut@web.de>
References: <slrni5qtcf.d1a.houghi@penne.houghi> <8c65hsFn65U1@mid.individual.net> <slrni5rt0a.bl5.houghi@penne.houghi> <8c6c4cFnl3U1@mid.individual.net> <slrni5t5ah.14a.houghi@penne.houghi> <slrni5tsvk.bi9.earthnut@wh36-e604.wh36.uni-karlsruhe.de> <slrni5umar.tp0.houghi@penne.houghi>
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!border1.nntp.ams.giganews.com!nntp.giganews.com!news.musoftware.de!wum.musoftware.de!newsfeed.straub-nv.de!news-2.dfn.de!news.dfn.de!news.uni-stuttgart.de!news.belwue.de!rz.uni-karlsruhe.de!news.rz.uni-karlsruhe.de!not-for-mail
Newsgroups: news.software.readers
Organization: University of Karlsruhe, Germany
Lines: 40
NNTP-Posting-Host: wh36-e604.wh36.uni-karlsruhe.de
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: news2.rz.uni-karlsruhe.de 1281325836 10348 172.20.230.220 (9 Aug 2010
X-Complaints-To: abuse@uni-karlsruhe.de
NNTP-Posting-Date: Mon, 9 Aug 2010 03:50:36 +0000 (UTC)
User-Agent: slrn/0.9.9p1 (Darwin)