Article View: news.software.readers
Article #183692Re: [slrn]Spellchecking in slrn
From: Steven Schneider
Date: Sat, 15 Apr 2006 15:51
Date: Sat, 15 Apr 2006 15:51
48 lines
3163 bytes
3163 bytes
* Neil Woods <cnw+usenet-0604@pobox.com> [2006-04-15]: > Steven Schneider <steven_schneider@telus.net> writes: > >> * Whiskers <catwheezel@operamail.com> [2006-04-14]: >>> >>> Spelling is an editor thing; what editor are you using with slrn? >>> Configure the editor to use a spelling checker, if it doesn't already. >>> >> Ok, I was afraid that that was the answer. >> >> I'm using vim, and what I currently have in my .vimrc is: >> >> :autocmd FileType mail :nmap <F8> :w<CR>:!aspell -e -c %<CR>:e<CR> >> >> But I don't use it too often because I have a macro that I call from >> mutt automatically when sending off an e-mail. So I've been toying >> around with this for the past hour or so. >> >> If this is solely an editor issue, and has nothing to do with slrn >> then I'll go bug the appropriate people. I was just hoping that >> there was a macro that I could call automatically from inside slrn >> after saying yes to posting an article. :-) > > There is. You need to make use of the post_filter_hook, which gets > called just before slrn posts an article. > > There's an example in the macros directory in the slrn source (and also > here in Debian in /usr/share/slrn/macros/ispell.sl. > For the archives, using the macro /usr/local/share/slrn/macros/ispell.sl (OpenBSD) with the following modification: %variable cmd = "ispell -x"; variable cmd = "aspell -e -c"; In ~/.slrnrc I added: interpret "ispell.sl" It's working well, on both original postings and followup posts. Spell checking isn't run on the quoted text on followups, but that's probably for the best anyhow. :-) Thanks, and thanks some more. :-) -- W. Steven Schneider <steven_schneider@telus.net>
Technical Details
Message-ID:
<slrne425kv.6i8.steven_schneider@gemini.wss-ds.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.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newscon06.news.prodigy.com!prodigy.net!news-feed01.roc.ny.frontiernet.net!nntp.frontiernet.net!newsfeed2.telusplanet.net!newsfeed.telus.net!edtnps82.POSTED!53ab2750!not-for-mailReferences:
<slrne401v1.p42.steven_schneider@gemini.wss-ds.org> <8si5h3-3f9.ln1@ID-107770.user.individual.net> <slrne408t7.p42.steven_schneider@gemini.wss-ds.org> <8764lbc5ib.fsf@phun.phasmic.org>Show Full Headers
Complete Article Headers
Message-ID: <slrne425kv.6i8.steven_schneider@gemini.wss-ds.org> Subject: Re: [slrn]Spellchecking in slrn Date: Sat, 15 Apr 2006 15:51:59 GMT From: Steven Schneider <steven_schneider@telus.net> References: <slrne401v1.p42.steven_schneider@gemini.wss-ds.org> <8si5h3-3f9.ln1@ID-107770.user.individual.net> <slrne408t7.p42.steven_schneider@gemini.wss-ds.org> <8764lbc5ib.fsf@phun.phasmic.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.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newscon06.news.prodigy.com!prodigy.net!news-feed01.roc.ny.frontiernet.net!nntp.frontiernet.net!newsfeed2.telusplanet.net!newsfeed.telus.net!edtnps82.POSTED!53ab2750!not-for-mail Newsgroups: news.software.readers Organization: Just a Guy and His Family X-No-Alan-Connor: Yes X-Operating-System: OpenBSD 3.9 X-Crypto: GnuPG http://www.gnupg.org/ X-Key-Expiry-Date: 09 October 2007 X-Key-ID: 0x4A330D06 X-Key-Fingerprint: 4AB5 8738 DC7B AAE8 3795 6285 D549 80A2 4A33 0D06 X-Signature-Color: magenta black User-Agent: slrn/0.9.8.1 (OpenBSD) Lines: 48 NNTP-Posting-Host: 198.166.227.91 X-Trace: edtnps82 1145116319 198.166.227.91 (Sat, 15 Apr 2006 09:51:59 MDT) NNTP-Posting-Date: Sat, 15 Apr 2006 09:51:59 MDT