* ispell-complete-word in spanish
@ 2006-01-10 10:39 Hamilton Temple
2006-01-10 20:53 ` Kevin Rodgers
0 siblings, 1 reply; 2+ messages in thread
From: Hamilton Temple @ 2006-01-10 10:39 UTC (permalink / raw)
[-- Attachment #1.1: Type: text/plain, Size: 1611 bytes --]
In GNU Emacs 21.4.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2005-12-15 on icaro
configured using `configure --prefix=/usr --host=i686-pc-linux-gnu
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
--sysconfdir=/etc --localstatedir=/var/lib --with-x --with-xpm --with-jpeg
--with-tiff --with-gif --with-png --with-x-toolkit=athena
--build=i686-pc-linux-gnu'
Important settings:
value of $LC_ALL: es_ES@euro
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: es_ES@euro
locale-coding-system: iso-latin-9
default-enable-multibyte-characters: t
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
I'm not sure if this is an emacs bug or a badly configured ispell. My
ispell configuration is:
(setq-default ispell-program-name "aspell")
;;(setq-default ispell-program-name "ispell")
(setq ispell-dictionary "castellano")
(setq ispell-complete-word-dict "/usr/share/dict/spanish")
Ispell/Aspell checks spelling in words with accentuated chars correctly. My
problem
is related to ispell-complete-word and flyspell. Flyspell/Aspell doesn't
recognizes accentuated
chars. If I have the word "drástico" and call ispell-complete-word , then
It uses
"stico" as "search string". That occurs without mattering where the
accentuated
vowel is inside the word.
Well, Is the first time a send a "bug". I hope this mail provides enough
information.
Best regards.
[-- Attachment #1.2: Type: text/html, Size: 1961 bytes --]
[-- Attachment #2: Type: text/plain, Size: 149 bytes --]
_______________________________________________
bug-gnu-emacs mailing list
bug-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: ispell-complete-word in spanish
2006-01-10 10:39 ispell-complete-word in spanish Hamilton Temple
@ 2006-01-10 20:53 ` Kevin Rodgers
0 siblings, 0 replies; 2+ messages in thread
From: Kevin Rodgers @ 2006-01-10 20:53 UTC (permalink / raw)
Hamilton Temple wrote:
> In GNU Emacs 21.4.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
> of 2005-12-15 on icaro
> configured using `configure --prefix=/usr --host=i686-pc-linux-gnu
> --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
> --sysconfdir=/etc --localstatedir=/var/lib --with-x --with-xpm
> --with-jpeg --with-tiff --with-gif --with-png --with-x-toolkit=athena
> --build=i686-pc-linux-gnu'
> Important settings:
> value of $LC_ALL: es_ES@euro
> value of $LC_COLLATE: nil
> value of $LC_CTYPE: nil
> value of $LC_MESSAGES: nil
> value of $LC_MONETARY: nil
> value of $LC_NUMERIC: nil
> value of $LC_TIME: nil
> value of $LANG: es_ES@euro
> locale-coding-system: iso-latin-9
> default-enable-multibyte-characters: t
>
> Please describe exactly what actions triggered the bug
> and the precise symptoms of the bug:
>
> I'm not sure if this is an emacs bug or a badly configured ispell. My
> ispell configuration is:
>
> (setq-default ispell-program-name "aspell")
> ;;(setq-default ispell-program-name "ispell")
> (setq ispell-dictionary "castellano")
> (setq ispell-complete-word-dict "/usr/share/dict/spanish")
>
> Ispell/Aspell checks spelling in words with accentuated chars correctly.
> My problem
> is related to ispell-complete-word and flyspell. Flyspell/Aspell
> doesn't recognizes accentuated
> chars. If I have the word "drástico" and call ispell-complete-word ,
> then It uses
> "stico" as "search string". That occurs without mattering where the
> accentuated
> vowel is inside the word.
In Latin-9, á is \341, which is in both the CASECHARS and NOT-CASECHARS
regexps of the "castellano" entry in ispell-dictionary-alist. But the
call to (ispell-get-word nil "\\*") fails here to find the beginning of
the word and stops at the accented character:
;; move to front of word
(re-search-backward ispell-not-casechars (point-min) 'start)
However, I can get it to work by making ispell-decode-string a no-op:
(defun ispell-decode-string (str) str)
--
Kevin Rodgers
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-01-10 20:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-10 10:39 ispell-complete-word in spanish Hamilton Temple
2006-01-10 20:53 ` Kevin Rodgers
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.