From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Do-you Aspell for French? Date: Wed, 30 Aug 2006 23:42:33 +0200 Message-ID: References: <1156847461.171513.196210@75g2000cwc.googlegroups.com> <87r6yzicji.fsf@missioncriticalit.com> <87lkp6hutj.fsf@missioncriticalit.com> <63C312FA-4DE5-4E17-A0F5-21235DD33E6F@Web.DE> <87wt8q2bds.fsf@lrde.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: multipart/mixed; boundary="===============0308275068==" X-Trace: sea.gmane.org 1156974230 24468 80.91.229.2 (30 Aug 2006 21:43:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 30 Aug 2006 21:43:50 +0000 (UTC) Cc: =?ISO-8859-1?Q?S=E9bastien_Vauban?= , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 30 23:43:49 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GIXqP-0007E3-3w for geh-help-gnu-emacs@m.gmane.org; Wed, 30 Aug 2006 23:43:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GIXqO-0005v9-LN for geh-help-gnu-emacs@m.gmane.org; Wed, 30 Aug 2006 17:43:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GIXpa-0005RU-Ro for help-gnu-emacs@gnu.org; Wed, 30 Aug 2006 17:42:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GIXpZ-0005R6-Cl for help-gnu-emacs@gnu.org; Wed, 30 Aug 2006 17:42:42 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GIXpZ-0005R3-9J for help-gnu-emacs@gnu.org; Wed, 30 Aug 2006 17:42:41 -0400 Original-Received: from [217.72.192.234] (helo=fmmailgate03.web.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GIXz2-00030l-Pu for help-gnu-emacs@gnu.org; Wed, 30 Aug 2006 17:52:29 -0400 Original-Received: from smtp08.web.de (fmsmtp08.dlan.cinetic.de [172.20.5.216]) by fmmailgate03.web.de (Postfix) with ESMTP id 1014419A134B; Wed, 30 Aug 2006 23:42:40 +0200 (CEST) Original-Received: from [87.193.41.130] (helo=[192.168.1.2]) by smtp08.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.107 #114) id 1GIXpW-0005oA-00; Wed, 30 Aug 2006 23:42:39 +0200 In-Reply-To: <87wt8q2bds.fsf@lrde.org> X-Image-Url: http://homepage.mac.com/sparifankal/.cv/thumbs/me.thumbnail Original-To: michael.cadilhac@lrde.org (=?ISO-8859-1?Q?Micha=EBl_Cadilhac?=) X-Pgp-Agent: GPGMail 1.1.2 (Tiger) X-Mailer: Apple Mail (2.752.2) X-Sender: Peter_Dyballa@web.de X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:37071 Archived-At: This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============0308275068== Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-1-425810950" Content-Transfer-Encoding: 7bit This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-1-425810950 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Am 30.08.2006 um 22:53 schrieb Micha=EBl Cadilhac: > Peter Dyballa writes: > >> Am 30.08.2006 um 21:44 schrieb S=E9bastien Vauban: >> >>>> (defun ispell-get-otherchars () >>>> (replace-regexp-in-string "-" "" (ispell-get-decoded-string 3))) >>> >>> I did add your function, but... no, it does not work... I still >>> got the coumpound words underlined... > > Strange... I use CVS Emacs, what version are you running? 21.3.50, 22.0.50, 23.0.0. > > Where did you put it? If it's in your .emacs, did you put a (require > 'ispell) before? No. But I can tell you that your lines change the value of =20 OTHERCHARS, from default "[-'^`\".@]" (in a version running some =20 time) to "[-']". And with (require 'ispell) no change ... I'm not sure whether it's an Emacs thing to decide where a word ends. =20= IMO Emacs passes a region or a buffer to the ispell process which =20 then reads through this. And so it's ispell then, that decides where =20 a word ends. Since I think ispell's not correctly set up ... In Fink Martin Costabel is the maintainer of this package; in =20 francais.aff this is recorded: Copyright 1999, Christophe Pythoud et =20 GUTenberg. Here is an excerpt from ispell.4: Characters described with the boundarychars statement are =20 considered part of a word only if they appear singly, embedded between =20 characters declared with the wordchars or stringchar statements. For =20 example, if the hyphen is a boundary character (useful in French), the =20 string "foo- bar" would be a single word, but "-foo" would be the same as =20 "foo", and "foo--bar" would be two words separated by non-word characters. Since francais.aff contains boundarychars [-] penses-tu is one word! Would it work to subtract - from OTHERCHARS in =20= ispell-dictionary-alist-3? Micha=EBl, could you check your francais.aff file? Maybe this explains =20= why you're so successful ... -- Greetings Pete A lot of us are working harder than we want, at things we don't like =20 to do. Why? ...In order to afford the sort of existence we don't care =20= to live. -- Bradford Angier --Apple-Mail-1-425810950 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: Signierter Teil der Nachricht content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (Darwin) iEYEARECAAYFAkT2BkoACgkQNkpl4NeD2QA3uQCgmBou+nqaM6fejIgFCF7fLwv2 3mYAnjVVq1U1cfh2WOoagbLqcjgFqKUc =m6AB -----END PGP SIGNATURE----- --Apple-Mail-1-425810950-- --===============0308275068== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ help-gnu-emacs mailing list help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs --===============0308275068==--