Alexander Skwar wrote:
> So sprach Mr. Wade am Sun, May 20, 2001 at 06:47:44PM -0400:
> > You shouldn't need to do that.  Mutt should call whatever you
> > specify by the $ispell variable with the "-x" switch and the
> > temporary file name on the command line for you.
> 
> Yeah, and that works very fine, indeed.  I've set
> 
> ispell="aspell -d deutsch -x -c "
> 
> in my muttrc.  But, I'd also like to check english texts for spleing errors. 
> So I'd like to have a key which would invoke
> 
>       "aspell -d american -x -c "
> 
> How would I go about it?

Have you tried something like the following?

macro compose i '<enter-command>set ispell="aspell -d deutsch -c" \
<enter><ispell>' 'Deutsch'
macro compose I '<enter-command>set ispell="aspell -d american -c" \
<enter><ispell>' 'American'

Note that the "-x" switch ought not need to be specified.  Mutt
alreay includes it on the command line when it calls whatever you
specified by the $ispell variable.

Good luck!

        -- Mr. Wade

-- 
Linux: The Choice of the GNU Generation


Reply via email to