🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #183681

Re: [slrn]Spellchecking in slrn

#183681
From: Neil Woods
Date: Sat, 15 Apr 2006 13:50
34 lines
2583 bytes
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.

> Thanks anyhow.

You're welcome.
-- 
Neil.
Delta: We're Amtrak with wings.    -- David Letterman
Technical Details
Message-ID: <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!postnews.google.com!news1.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
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>

Show Full Headers
Complete Article Headers
Message-ID: <8764lbc5ib.fsf@phun.phasmic.org>
Subject: Re: [slrn]Spellchecking in slrn
Date: Sat, 15 Apr 2006 14:50:20 +0100
From: Neil Woods <cnw+usenet-0604@pobox.com>
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>
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!postnews.google.com!news1.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: (TINO)
Lines: 34
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: individual.net fXFUdPKN0bZnXTI/Zuv2ngd7fXSbEel+9iUe0t7/plJ8tHSJTy
Keywords: slrn,editor,spellcheck,hooks
X-Face: #GiKd+5>RME~ArGEqHB=50)RDFBW?TcLw4Le!l?hPr=9KQ3iGbB5,
 ':&A5dZKAQbVa7H>}a
 H2]G$+dWFwZE13%f1_<, ^gwmYbK`q=J9$SjNRM7Vke#95ux8mD}vVJq8lF4rbh6~e5#-s)]3C]uz2.
 4:EFk11#8&O\p69p";qB;6SHHGx%pB>&8Jw_z
Mail-Copies-To: nobody
User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)
Cancel-Lock: sha1:LfkJIzrhsaksL/x9jFRJwqO9mwo=