From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 15 18:20:52 2010 Received: (at submit) by debbugs.gnu.org; 15 Jun 2010 22:20:53 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOeUy-0006U5-IW for submit@debbugs.gnu.org; Tue, 15 Jun 2010 18:20:52 -0400 Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOeTd-0006Sx-9F for submit@debbugs.gnu.org; Tue, 15 Jun 2010 18:19:29 -0400 Received: from lists.gnu.org ([199.232.76.165]:37750) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OOeTZ-0007xr-A7 for submit@debbugs.gnu.org; Tue, 15 Jun 2010 18:19:21 -0400 Received: from [140.186.70.92] (port=45041 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OOeTX-0007Q9-SI for bug-gnu-emacs@gnu.org; Tue, 15 Jun 2010 18:19:20 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OOeTW-0007Qb-Aq for bug-gnu-emacs@gnu.org; Tue, 15 Jun 2010 18:19:19 -0400 Received: from smtp.fe.up.pt ([193.136.28.30]:57096) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOeTW-0007PY-3m for bug-gnu-emacs@gnu.org; Tue, 15 Jun 2010 18:19:18 -0400 Received: from localhost (localhost [127.0.0.1]) by smtp.fe.up.pt (Postfix) with ESMTP id 789FC13F8E7 for ; Tue, 15 Jun 2010 23:21:49 +0100 (WEST) Received: from smtp.fe.up.pt ([127.0.0.1]) by localhost (smtp2.fe.up.pt [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BdKDZMPqMBnm for ; Tue, 15 Jun 2010 23:21:49 +0100 (WEST) Received: from rolando-desktop (unknown [192.168.56.20]) by smtp.fe.up.pt (Postfix) with ESMTPA id D586513F8E5 for ; Tue, 15 Jun 2010 23:21:47 +0100 (WEST) Date: Tue, 15 Jun 2010 23:19:08 +0100 From: Rolando Pereira To: bug-gnu-emacs@gnu.org Subject: 23.1.93; Portuguese =?iso-8859-1?Q?spell-c?= =?iso-8859-1?Q?hecking_doesn't_work_with_words_that_contain_the_?= =?iso-8859-1?Q?=E7?= character Message-ID: <20100615221907.GA20255@rolando-desktop> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 15 Jun 2010 18:20:47 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.3 (-----) Using ispell with a Portuguese dictionary to spell check a word that contains either the =E7 or =C7 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 =E7 and =C7 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=C1=C2=C9=D3=E0=E1=E2=E9=EA=ED=F3=E3=FA=E7=C7]") (defun ispell-get-not-casechars () "[^a-zA-Z=C1=C2=C9=D3=E0=E1=E2=E9=EA=ED=F3=E3=FA=E7=C7]") 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 From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 16 09:52:35 2010 Received: (at 6434-done) by debbugs.gnu.org; 16 Jun 2010 13:52:35 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOt2h-0006J7-Do for submit@debbugs.gnu.org; Wed, 16 Jun 2010 09:52:35 -0400 Received: from edison.ccupm.upm.es ([138.100.4.49]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOt2e-0006Ix-LP for 6434-done@debbugs.gnu.org; Wed, 16 Jun 2010 09:52:33 -0400 Received: from agmartin.aq.upm.es (Agmartin.aq.upm.es [138.100.41.131]) by edison.ccupm.upm.es (8.13.8/8.13.8) with ESMTP id o5GDqQJo025347; Wed, 16 Jun 2010 15:52:26 +0200 Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id 5709A463BD; Wed, 16 Jun 2010 15:52:26 +0200 (CEST) Date: Wed, 16 Jun 2010 15:52:26 +0200 From: Agustin Martin To: Rolando Pereira , 6434-done@debbugs.gnu.org Subject: Re: bug#6434: 23.1.93; =?iso-8859-1?Q?Port?= =?iso-8859-1?Q?uguese_spell-checking_doesn't_work_with_words_that_contai?= =?iso-8859-1?Q?n_the_=E7?= character Message-ID: <20100616135226.GA21706@agmartin.aq.upm.es> References: <20100615221907.GA20255@rolando-desktop> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20100615221907.GA20255@rolando-desktop> User-Agent: Mutt/1.5.20 (2009-06-14) Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by edison.ccupm.upm.es id o5GDqQJo025347 X-Spam-Score: -4.9 (----) X-Debbugs-Envelope-To: 6434-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) 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 =E7 or =C7 characters causes the spellchecker to ac= t 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 =E7 and =C7 characters. >=20 > Also, those values should appear in the third string, which is the one > that is returned by the function ispell-get-not-casechars. >=20 > In both cases, these values should appear inside the []. >=20 > 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.=20 Anyway, I have just commited your changes to our bzr repo and I am closin= g=20 this bug report as fixed. Cheers, --=20 Agustin From unknown Mon Jun 23 14:59:48 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 15 Jul 2010 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator