GNU bug report logs -
#6434
23.1.93; Portuguese spell-checking doesn't work with words that contain the ç character
Previous Next
Reported by: Rolando Pereira <ei08150 <at> fe.up.pt>
Date: Tue, 15 Jun 2010 22:21:02 UTC
Severity: normal
Found in version 23.1.93
Done: Agustin Martin <agustin.martin <at> hispalinux.es>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 6434 in the body.
You can then email your comments to 6434 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#6434
; Package
emacs
.
(Tue, 15 Jun 2010 22:21:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Rolando Pereira <ei08150 <at> fe.up.pt>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Tue, 15 Jun 2010 22:21:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Using ispell with a Portuguese dictionary to spell check a word that
contains either the ç or Ç characters causes the spellchecker to act as
if those characters were word boundaries.
Here the relevant part of the variable ispell-dictionary-base-alist
in my ispell.el.gz file:
("portugues" ; Portuguese mode
"[a-zA-Z\301\302\311\323\340\341\342\351\352\355\363\343\372]"
"[^a-zA-Z\301\302\311\323\340\341\342\351\352\355\363\343\372]"
"[']" t ("-C") "~latin1" iso-8859-1)
The second string, corresponding to the string returned by
the function ispell-get-casechars, should contain the values \347 and
\307, corresponding, in that order, to the ç and Ç characters.
Also, those values should appear in the third string, which is the one
that is returned by the function ispell-get-not-casechars.
In both cases, these values should appear inside the [].
However, trying to set the variable ispell-dictionary-base-alist with
the correct values on my .emacs, doesn't appear to solve the problem.
The way I found to fix it, is by changing the return values of the
functions ispell-get-casechars and ispell-get-not-casechars as so:
(defun ispell-get-casechars ()
"[a-zA-ZÁÂÉÓàáâéêíóãúçÇ]")
(defun ispell-get-not-casechars ()
"[^a-zA-ZÁÂÉÓàáâéêíóãúçÇ]")
My emacs version, as returned by the emacs-version command is:
GNU Emacs 23.1.93.1 (i686-pc-linux-gnu, GTK+ Version 2.14.4) of
2010-03-04 on rolando-desktop
Reply sent
to
Agustin Martin <agustin.martin <at> hispalinux.es>
:
You have taken responsibility.
(Wed, 16 Jun 2010 13:53:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Rolando Pereira <ei08150 <at> fe.up.pt>
:
bug acknowledged by developer.
(Wed, 16 Jun 2010 13:53:01 GMT)
Full text and
rfc822 format available.
Message #10 received at 6434-done <at> debbugs.gnu.org (full text, mbox):
On Tue, Jun 15, 2010 at 11:19:08PM +0100, Rolando Pereira wrote:
> Using ispell with a Portuguese dictionary to spell check a word that
> contains either the ç or Ç characters causes the spellchecker to act as
> if those characters were word boundaries.
[...]
> The second string, corresponding to the string returned by
> the function ispell-get-casechars, should contain the values \347 and
> \307, corresponding, in that order, to the ç and Ç characters.
>
> Also, those values should appear in the third string, which is the one
> that is returned by the function ispell-get-not-casechars.
>
> In both cases, these values should appear inside the [].
>
> However, trying to set the variable ispell-dictionary-base-alist with
> the correct values on my .emacs, doesn't appear to solve the problem.
Hi, thanks for reporting,
You should have used `ispell-local-dictionary-alist' instead for your
personal changes.
Anyway, I have just commited your changes to our bzr repo and I am closing
this bug report as fixed.
Cheers,
--
Agustin
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 15 Jul 2010 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 14 years and 347 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.