On Mon, Mar 28, 2005 at 03:06:53AM +0200, Reuben Thomas wrote: > >* Blind guess: Was the original code filed as latin1 or utf8? > > What exactly do you mean? I think this may be something to do with it.
I meant that .emacs might have been erroneously saved as utf8 (that sometimes happens, e.g., that recently happened to me with a .procmailrc that tried to exclude some >128 chars combinations, and was accidentally saved a utf8, so the strings were not correct and everything was messed up) > > I have just tried again. This time my .emacs file contained only the > following: > > --------------------- > (debian-ispell-add-dictionary-entry > '("british+accs" > "[A-Z\321\324a-z\361\364]" > "[^A-Z\321\324a-z\361\364]" > "[']" > nil > ("-B" "-d" "british-w_accents") > nil > iso-8859-1) > "aspell") > > (setq ispell-dictionary-alist debian-ispell-dictionary-alist) > ---------------------- > > and I tried to run ispell-buffer on a Latin1 encoded file containing > (shouldn't matter what the encoding of the file is, though, should it? > Emacs takes care of this...). Should not be a problem, as long as the encoding is known to emacs and can be fully converted to the ispell dict encoding (expect misalignment errors otherwise) > > ---------------------- > rôle > > Local Variables: > ispell-program-name: "aspell" > ispell-local-dictionary: "british+accs" > End: > ---------------------- > > and it gave the error I complained about before. I am completely puzzled by this, because is working like a charm here (in a woody box, but I am sure ?? I tested it also in a sid box before Easter). Can you please add to your .emacs file (setq debian-dict-common-debug "yes") and see what is the related information in the messages buffer? Some keys to what you will find there, bfcs: buffer-file-coding-system ecs: emacs coding system (mime charset of bfcs) ics: ispell dict coding system did: default Debian ispell dictionary dad: default Debian aspell dictionary ild: ispell local dictionary Here I have: did: nil dad: nil ild: british+accs bfcs: iso-latin-1-unix ecs: iso-8859-1 ics: iso-8859-1 I hope to have access tomorrow to my development sid box and retry everything again. Cheers, -- Agustin