From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rolando Pereira Newsgroups: gmane.emacs.bugs Subject: bug#6434: 23.1.93; Portuguese spell-checking doesn't work with words that contain the =?utf-8?b?w6c=?= character Date: Tue, 15 Jun 2010 23:19:08 +0100 Message-ID: <20100615221907.GA20255@rolando-desktop> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1276642574 17639 80.91.229.12 (15 Jun 2010 22:56:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 15 Jun 2010 22:56:14 +0000 (UTC) To: 6434@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 16 00:56:12 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OOf3D-0006R5-0M for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Jun 2010 00:56:11 +0200 Original-Received: from localhost ([127.0.0.1]:47857 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OOf38-0002bd-CP for geb-bug-gnu-emacs@m.gmane.org; Tue, 15 Jun 2010 18:56:06 -0400 Original-Received: from [140.186.70.92] (port=41180 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OOecZ-0001be-7m for bug-gnu-emacs@gnu.org; Tue, 15 Jun 2010 18:28:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OOecV-000234-IG for bug-gnu-emacs@gnu.org; Tue, 15 Jun 2010 18:28:39 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37624) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOecV-00022t-Fe for bug-gnu-emacs@gnu.org; Tue, 15 Jun 2010 18:28:35 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OOeVC-0006UL-Dl; Tue, 15 Jun 2010 18:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Rolando Pereira Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 15 Jun 2010 22:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6434 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.127664045324933 (code B ref -1); Tue, 15 Jun 2010 22:21:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 15 Jun 2010 22:20:53 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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) Original-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) Original-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) Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) 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-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 Resent-Date: Tue, 15 Jun 2010 18:21:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Tue, 15 Jun 2010 18:50:01 -0400 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:37797 Archived-At: 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