Hi Agustin!

On Die, 08 Nov 2005, Agustin Martin wrote:
> > My .emacs now contains:
> > (custom-set-variables
> >  '(ispell-local-dictionary-alist (quote (("american8" "[A-ZÄÖÜäöüß]"
> >     "[^A-ZÄÖÜäöüß]" "[']" nil 
> >     ("-B" "-d" "american" "-w" "öÖäÄüÜß") "~latin1" iso-8859-1)))))
> > 
> > which works perfectly also with files containing "Gödel".
> 
> Fine, thanks for the suggestion. And even better, octal codes seem to work
> too (avoiding things be accidentally saved as utf-8) and to make things even

Idea: Would it be possible to use the regexp teaching emacs additional
word boundary chars (in my case the "[A-ZÄÖÜäöüß]") to automatically
create the -w option?

I guess, if you tell emacs that these chars are word components, ispell
should also (automatically) know about it. 

The problem of course is that the one thing is an regexp, while the
other is just a char list. But for many cases this could be done.

Just an idea.

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining AT logic DOT at>             Università di Siena
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
DUNBOYNE (n.)
The moment of realisation that the train you have just patiently
watched pulling out of the station was the one you were meant to be
on.
                        --- Douglas Adams, The Meaning of Liff


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to