Article View: news.software.readers
Article #136770Re: [slrn] ping: SINNER - long attrib lines
From: Blinky the Shark
Date: Mon, 03 Nov 2003 23:17
Date: Mon, 03 Nov 2003 23:17
77 lines
4032 bytes
4032 bytes
DC wrote:
> On 3 Nov 2003 22:23:26 GMT, Blinky the Shark <no.spam@box.invalid>
> wrote:
>> DC wrote:
>>> On 3 Nov 2003 19:45:22 GMT, Blinky the Shark <no.spam@box.invalid>
>>> wrote:
>>>> Here ya go. Stick this in your rc for the editor, and change the
>>>> keymapping as desired (F5, here). It will smart-reformat the whole
>>>> body of your post. Try it...you'll like it. :)
>>>> (Including my comments, from said file, for information value)
>>>> " keybinding: body only formatting keybinding for normal mode for
>>>> slrn - thanks " Tim Hammerquist. return cursor to place it was at
>>>> when insert mode last left " note: `^ is my add au
>>>> BufNewFile,BufRead ~/.article,~/.followup :nmap <F5> gg/^$<CR>V/^--
>>>> $<CR>{gq`^
>>>> I'm not using it with this post, to keep command from wrapping.
>>> OK, added to ~/.gvimrc but just get system bell when I hit F5. I
>>> suspect that it is a path issue(?)
>> That's where my rc is.
>> You're in command mode for this, right?
> Yup.
>> It "smart wraps" everything in the body (not the sig) to your margin
>> line length settings, correctly handling known quote-indicators
>> (i.e., it wraps old paragraphs while keeping their greater-thans
>> correct).
> Good. That's exactly what I want.
I knew that. ;)
>>> I'll play with it. Come back if you can confirm, tho'.
>> Dunno what's up. Yo! Other slrner-vimmers! Ideas?
>> Dr. Hammerquist -- you still out there? :)
> Could you explain ~/.article and ~/.followup entries? I don't have
> those files.
Those should be the names of the temp files you're editing in gvim, when
you make OP or a followup, respectively, from slrn. Limiting the macro
to those files keeps this keymapping from kicking in when you're editing
other stuff, where it would not be applicable (remember, it identifies
and skips the headers, and pulls up short of your valid sig). This is a
highly tuned formatting machine. :)
> Are they your tmp files? I just let slrn do the random name
> generation thingy...
Above. Slrn names them before passing them. And no, this doesn't
require any slrn setup, that I know of -- those should be the default
filenames.
IMO, this is a *must* for slrn-vimming. If nobody susses your problem,
here, it's *definitely* worth a dedicated OP. But let's give it a day,
and see if the slrn, alone, in the Subject header attracts an answer.
> FTR, >20K unread in aolm }:O((( The move just killed me, there...
> Have pity! }:O\
Kill, start afresh, carry on. :)
--
Blinky - - - - - - - - - - - - - - - - - - - - - - - Linux RU 297263
Microsoft, 23 Oct: "As a result of challenges to our business model,
sales of our products may decline, we may have to reduce the prices
we charge for our products..." http://snipurl.com/open_source
Technical Details
Message-ID:
<slrnbqdono.ep2.no.spam@thurston.blinkynet.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!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!cyclone-sf.pbi.net!129.250.175.17!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews4References:
<slrnbqd0hq.2um.dcmoose@moosemeat.ca.INVALID> <slrnbqdc9b.bpu.no.spam@thurston.blinkynet.net> <slrnbqdj3s.2mc.dcmoose@moosemeat.ca.INVALID> <slrnbqdlhn.ep2.no.spam@thurston.blinkynet.net> <slrnbqdnb2.2s7.dcmoose@moosemeat.ca.INVALID>Show Full Headers
Complete Article Headers
Message-ID: <slrnbqdono.ep2.no.spam@thurston.blinkynet.net> Subject: Re: [slrn] ping: SINNER - long attrib lines Date: Mon, 03 Nov 2003 23:17:52 +0000 From: Blinky the Shark <no.spam@box.invalid> References: <slrnbqd0hq.2um.dcmoose@moosemeat.ca.INVALID> <slrnbqdc9b.bpu.no.spam@thurston.blinkynet.net> <slrnbqdj3s.2mc.dcmoose@moosemeat.ca.INVALID> <slrnbqdlhn.ep2.no.spam@thurston.blinkynet.net> <slrnbqdnb2.2s7.dcmoose@moosemeat.ca.INVALID> 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!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!cyclone-sf.pbi.net!129.250.175.17!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews4 Newsgroups: news.software.readers Organization: http://blinkynet.net Lines: 77 NNTP-Posting-Host: p-015.newsdawg.com X-Face: Jb-wQ7r&vrN}~8MC5B09S4&.ieh!Q:Di/XN.xrd#CU%; )bPa`Hm^(,3o$n(s75[P+$F+Q^4~Owj`WzkBtZU/#gL2BvEBm/e=/1,R0}d@q@)E User-Agent: slrn/0.9.7.4 (Linux)