On Thursday 04 April 2002 17:25, Mads Martin Jørgensen wrote:
'ispell -d dansk' is the way to invoke with a danish language.
Is this a more general command line invoking of the Danish language dictionary for iSpell?
1. While editing (in vi) save the file then invoke ispell. Here are the vi commands: :w :!ispell %
So here you would say :!ispell -d dansk %
OK, this would be for vi. Would the command "ispell -d dansk" be used for emacs, if I decided to change the default editor?
2. After you are finished editing your email, save and quit the editor. Then, before typing "y" to send the email, simply type "i".
What I did with a french guy who had similar problems way back was to create a small shellscript (ispellda.sh) that just invokes ispell as above. Then create a mutt macro that does
:set ispell=/path/to/ispellda.sh
To switch to danish, and just do
:set ispell=/usr/bin/ispell to switch back.
With some shellscripts etc. it can be automated further, but this should give you the ideas needed.
Unfortunately, I know absolutely nothing about shell scripts and their implementation. I am still a Linux/Mutt newbie. I'm just trying to learn by making things work the way I want them to and to automate as much as possible ;-) Cheers, Brian