emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Latin-1 chars not recognized for default french flyspell dict


From: Stefan Monnier
Subject: Latin-1 chars not recognized for default french flyspell dict
Date: Thu, 17 Mar 2005 17:03:33 -0500 (EST)

Symptoms:

On the machines here, the default ispell dictionary is French.
This confuses flyspell as the example below shows:

   % emacs -q ~/tmp/foo.txt
   M-x flyspell-mode RET
   chocolat
   chocolate
   problème

the first word is accepted as correct while the second is highlighted
as a typo (this is just to show that it's indeed using the French
dictionary), but the third also gets highlighted, tho in a messed up
way: only the "probl" part gets highlighted, because flyspell
obviously didn't consider the accented char as being part of the word.

If I explicitly do M-x ispell-change-dictionary RET francais RET,
things work just fine (the third word is accepted as correct).


        Stefan


In GNU Emacs 22.0.50.1 (x86_64-unknown-linux-gnu, Motif Version 2.2.3)
 of 2005-03-17 on asado.iro.umontreal.ca
Distributor `The X.Org Foundation', version 11.0.60700000
configured using `configure '--with-x-toolkit=motif' 'CFLAGS=-pg -Wall 
-Wpointer-arith -Wcast-align -g -DSYNC_INPUT -DUSE_LISP_UNION_TYPE 
-DGC_CHECK_MARKED_OBJECTS -DDEBUG_GCPRO -DENABLE_CHECKING -DCHECK_FRAME_FONT 
-DGLYPH_DEBUG -DPROFILING=1 -DSPLAY_INTERVAL''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: fr_CA
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: fr_CH.ISO8859-1
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: nil

Major mode: Text

Minor modes in effect:
  display-time-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  line-number-mode: t
  flyspell-mode: t

Recent input:
<left> <left> <left> <left> <left> <left> <left> <left> 
<left> <left> <left> <down> <left> <right> <right> 
M-x r e p o t <backspace> r t - e m <tab> <return> 
C-g C-g s e n <backspace> <backspace> <backspace> v 
o i t u r e <left> <left> <left> <right> <right> <right> 
<right> <return> c h o l o a t e <left> <left> <right> 
<right> <backspace> <left> <left> <left> <left> <right> 
<left> c o <right> C-d <left> <right> <right> <right> 
e <left> <left> <left> <right> <right> <right> <backspace> 
<left> <left> <right> <right> <right> <right> <return> 
M-x r e p M-p <return>

Recent messages:
Loading jka-compr...done
Loading time...done
(New file)
Loading flyspell...done
Starting new Ispell process...
call-interactively: Beginning of buffer [2 times]
call-interactively: End of buffer
Loading emacsbug...done
Quit [2 times]
call-interactively: End of buffer [2 times]
call-interactively: End of buffer




reply via email to

[Prev in Thread] Current Thread [Next in Thread]