Re: How to set ispell to different languages - mutt 1.3.27i

2002-08-01 Thread Michael Tatge

Oliver Fuchs ([EMAIL PROTECTED]) muttered:
 e.g. some mails are written in English some in German ... how can I
 change ispell within mutt to change the dictionary before checking the
 mail?

ispell has the -d option which sets the dictionary to use. So all you
need is to write a macro that changes mutt's $ispell var accordingly.
The following macro runs a german ispell and then restores the default
english one.

# German ispell
macro compose I 'enter-commandset ispell=/usr/bin/ispell -x -d
deutschenterispellenter-commandset ispell=/usr/bin/ispelenter

HTH,

Michael
-- 
But what can you do with it?  -- ubiquitous cry from Linux-user partner.
(Submitted by Andy Pearce, [EMAIL PROTECTED])

PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key



Re: How to set ispell to different languages - mutt 1.3.27i

2002-08-01 Thread Sven Guckes

* Oliver Fuchs [EMAIL PROTECTED] [2002-08-01 13:10]:
 Only one thing ... after I used the command I for german
 ispell I am not able to use i for using ispell-english anymore ...
 only after closing and starting mutt again.

do you want the spelling checker to
check both for German and English?
in the same document?
make up yer mind!

Sven



Re: How to set ispell to different languages - mutt 1.3.27i

2002-08-01 Thread Oliver Fuchs

On Thu, 01 Aug 2002, Sven Guckes wrote:

 do you want the spelling checker to
 check both for German and English?
 in the same document?
 make up yer mind!
 
 Sven

No, of course not ... I write an email in english and ispell with 'i'
... I send the mail ... afterwards I send an email in german and ispell
it with 'I' (the macro for german spelling) ... I send it ... know at
last I want to send an email in english again ... but I cannot use the
'i' command anymore ... only after shutting mutt down and restarting it.

Oliver
-- 
... don't touch the bang-bang fruit



Re: How to set ispell to different languages - mutt 1.3.27i

2002-08-01 Thread Michael Tatge

Oliver Fuchs ([EMAIL PROTECTED]) muttered:
 Great ... thank you very much. Only one thing ... after I used the
 command I for German ispell I am not able to use i for using
 ispell-english anymore ... only after closing and starting mutt again.

Well, if you just copypasted what I wrote - there was a typo.

macro compose I 'enter-commandset ispell=/usr/bin/ispell -x -d 
deutschenterispellenter-commandset ispell=/usr/bin/ispellenter'

This should work.

Michael
-- 
MSDOS didn't get as bad as it is overnight -- it took over ten years
of careful development.
(By [EMAIL PROTECTED])

PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key



Re: How to set ispell to different languages - mutt 1.3.27i

2002-08-01 Thread Oliver Fuchs

Great ... thank you very much. Only one thing ... after I used the
command I for german ispell I am not able to use i for using
ispell-english anymore ... only after closing and starting mutt again.

Oliver
-- 
... don't touch the bang-bang fruit



How to set ispell to different languages - mutt 1.3.27i

2002-07-31 Thread Oliver Fuchs

Hi,

how can I set in muttrc or in mutt itself at runtime the dictionary of ispell ...
e.g. some mails are written in English some in German ... how can I
change ispell within mutt to change the dictionary before checking the
mail?

Thanks in advance
-- 
... don't touch the bang-bang fruit