Alexander Skwar wrote:
> So sprach Wilhelm Wienemann am Sun, May 20, 2001 at 07:38:53PM +0200:
> > Maybe this will also work for you:
> >
> > macro compose i ":set ispell=ispell -T latin1 -p $HOME/.ispell_english"
> > macro compose I ":set ispell=/<path_to_your_aspell>\n" "aspell-american"
>
> Hmm, I don't understand - what should I put in for 'path_to_your_aspell'?
> I was looking for a way to give mutt some kind of 'special character', which
> it would replace by the name of the temporary file. Like (made up):
>
> aspell -d deutsch -x -c $1
>
> And when this is executed, mutt would run:
>
> aspell -d deutsch -x -c /home/askwar/tmp/mutt-teich-1928-2
>
> so, it would replace '$1' by '/home/askwar/tmp/mutt-teich-1928-2', if
> '/home/askwar/tmp/mutt-teich-1928-2' is the name of the temporary file with
> the message body.
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.
--
Linux: The Choice of the GNU Generation