Article View: news.software.readers
Article #205402Re: Ping OHMSTER
From: Ohmster
Date: Fri, 07 Sep 2007 03:17
Date: Fri, 07 Sep 2007 03:17
42 lines
2747 bytes
2747 bytes
Blinky the Shark <no.spam@box.invalid> wrote in
news:slrnfdn62k.6jj.no.spam@thurston.blinkynet.net:
> Hey, plug this into your vimrc and see if it reformats the way you
> want after you've edited a bunch of a reply. (I saw your req in c.e.)
>
> au BufNewFile,BufRead ~/.article,~/.followup :nmap <F5> gg/^$<CR>V/^--
> $<CR>{gq^
>
> Do a bunch of editing; more than one para; make lines lengths ugly.
>
> Then press F5.
Blinky,
When I use vim as my editor in slrn, the lines wrap by themselves so the F5
macro is not essential. I did want to use it though for a different news
posting program, newspost which is a command line program that calls my
EDITOR, vim in my case, for doing the text preface file. I tried to use F5
in that and it did not do anything. I was able to use upper case Q <enter>
instead of gq <enter> and that did work to reformat and give me line wraps.
How come your macro won't work in newspost as in:
newspost -E -c juki.sfv -s "Juki 586" *
" Use newspost to post to default newsgroup
"alt.binaries.multimedia.pantyhose", -E open vim editor for preceding
message, -c create sfv file and specify sfv filename, -s use subject in
quotes, * all files in current directory"
I would like to use this macro for that because newspost does not offer any
auto-wrapping feature like slrn does with vim, any idea of how to make it
work?
Kewl macro, thanks!
--
~Ohmster | ohmster /a/t/ ohmster dot com
Put "messageforohmster" in message body
(That is Message Body, not Subject!)
to pass my spam filter.
Technical Details
Message-ID:
<Xns99A3ECD65831FMyBigKitty@194.177.96.26>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!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.karotte.org!news2.arglkargh.de!feeder.erje.net!aioe.org!not-for-mailReferences:
<slrnfdn62k.6jj.no.spam@thurston.blinkynet.net>Show Full Headers
Complete Article Headers
Message-ID: <Xns99A3ECD65831FMyBigKitty@194.177.96.26>
Subject: Re: Ping OHMSTER
Date: Fri, 07 Sep 2007 03:17:12 +0000
From: Ohmster <root@dev.nul.invalid>
References: <slrnfdn62k.6jj.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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.karotte.org!news2.arglkargh.de!feeder.erje.net!aioe.org!not-for-mail
Newsgroups: news.software.readers
Organization: Ohm's Fish Market
Lines: 42
NNTP-Posting-Host: O/RjhamsI9EKzsYUTMrueA.user.aioe.org
X-Complaints-To: abuse@aioe.org
User-Agent: Xnews/2006.08.24
X-Face: .XlXp$frDJgk"+lb;
#RRo7mu{1=_.HV?RtB}%$JLN.!>>|\CPyQIi3/aBRW#(.dd8zlF9N]k8{xh03zVf=zG1G6{.bb%H8Vs%|7l'1YWAw+A)x'S"-}(Y`#ZN`#04OktRpU*!NdugZh(o%w5K,?/WqZ(qWs}K)Req:&D'|lkj%*a[N0bMk^Tr<PY{Sz6YcFm'[*2fkS/RV>}L.;
=6evum0C,LE}%s@g; ]-DhWu4J"DbcJ*+fIo,l8cH@ZxF|dm~; Vg;
XxV@K!Wp|SV+3HPyIOS,Z'j]jz]i=/5*!J&hVOQ[