From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: michael.cadilhac@lrde.org (=?iso-8859-1?Q?Micha=EBl?= Cadilhac) Newsgroups: gmane.emacs.help Subject: Re: Do-you Aspell for French? Date: Thu, 31 Aug 2006 00:27:35 +0200 Organization: Epita/LRDE Message-ID: <87sljd3lm0.fsf@lrde.org> 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 Content-Type: multipart/mixed; boundary="===============1911216472==" X-Trace: sea.gmane.org 1156976926 453 80.91.229.2 (30 Aug 2006 22:28:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 30 Aug 2006 22:28:46 +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 Thu Aug 31 00:28:44 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 1GIYXq-0000KP-7Y for geh-help-gnu-emacs@m.gmane.org; Thu, 31 Aug 2006 00:28:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GIYXp-0006bP-Mo for geh-help-gnu-emacs@m.gmane.org; Wed, 30 Aug 2006 18:28:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GIYWc-0005St-0W for help-gnu-emacs@gnu.org; Wed, 30 Aug 2006 18:27:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GIYWZ-0005RX-Mn for help-gnu-emacs@gnu.org; Wed, 30 Aug 2006 18:27:08 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GIYWZ-0005RO-Bz for help-gnu-emacs@gnu.org; Wed, 30 Aug 2006 18:27:07 -0400 Original-Received: from [62.39.139.2] (helo=kualalumpur.lrde.epita.fr) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GIYg3-0007jr-GH for help-gnu-emacs@gnu.org; Wed, 30 Aug 2006 18:36:55 -0400 Original-Received: from mahaena.lrde.epita.fr ([192.168.101.66] helo=mahaena.lrde) by kualalumpur.lrde.epita.fr with esmtp (Exim 4.50) id 1GIYWX-0000JD-Fw; Thu, 31 Aug 2006 00:27:05 +0200 Original-To: Peter Dyballa Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEU/JREXDATg1LV8UCao i1fQpmoP3Nd6AAACa0lEQVQ4jWWUQW7jMAxFqZEPICJzAjXeM6W8dyNqX9ji/a8yn04xnWIEJLD9 LJH85DcJFyJV3erqPty8ExHfBikXSdn0WVezC0hOAQiA2nCsAHOqEnPe4k+puU8zw/t+xquqjRKA 4lHsmQBT8C5pDtBwfwH8VdcHI5+FHtjRxrQRwZsf3hNjZRKAPEzHEdH9mFNSYb5dQK3r8KM6ftNy KikAirDZFWdVkDqbxjGFbAcwbQCxxc8mPRHUGOcCIMgMACV23RfJTch3gC6ofT3qCdG0NyUUPfYF yQrKCIAnuYsgX2qPzW2i9sNrfSOSPPZQiygtCNlCjlpXJV38lIKshF/AZzsAMoArdCKNHfXukPuJ ImbLh+9J2gXwap0QpZ7NjZ7ekdkFcDiqPiLGcHmuvaG/AHgy62s52Lae1ABoA7D6d2kDoAvgbnyD ZutEd6lTHOXfYPHVJDH1K8a1+oyrjoZpAGn1x5pfwPr2E9yjxSpk50/gEyKgD/+BD/KzN3tQ13b8 Cx5loF0AgnZf5IUny9hRHQOYBllHDM+6s3oviZBu77mFjDm621Np3hkjR90wE1BkTYvhdDgDgCmR xWChFfcYAOqMm5NZkVWMur8AL5+oeMQOob2FmY76FiM+PrDDZypwGdqokSlAaQOmGH6mW8KpsOwl 0YOLedjSITr6scNRF8D4PesH33QmLrx8AzjpV/3kkg025w2gfAFYKCLluJAc4Ap+h18oo4S8wzaY klDsBUTiY8EZFkg5Iass75FubC9wd8qa0u9+gRxAsAKEaRAo6iB+vwCMGmdBjvgidQGA1ntMX4CS ZYGV/wADyL80LIX/UAAAAABJRU5ErkJggg== In-Reply-To: (Peter Dyballa's message of "Wed, 30 Aug 2006 23:42:33 +0200") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) X-Mailman-Approved-At: Wed, 30 Aug 2006 18:28:08 -0400 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:37073 Archived-At: --===============1911216472== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Peter Dyballa writes: > 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 OTHERCHARS, > from default "[-'^`\".@]" (in a version running some time) to "[-']". Gosh! How come? In ispell.el, (ispell-get-otherchars) is (defun ispell-get-otherchars () (ispell-get-decoded-string 3)) What I just did is to REMOVE the "-" from this string. I really don't see how (replace-regexp-in-string) could lead to the result you say it leads! However, I've made a big mistake so far, you guys were talking about ispell, will I had flyspell in mind. Flyspell using ispell-get-word (or so), the underlining is rightly done with the fix I propose. But M-x ispell-buffer using ispell-get-line (or so) and calling ispell on it, the result is not the same. > I'm not sure whether it's an Emacs thing to decide where a word ends. Depends on the case. The present one is not determined by Emacs (my mistake). > IMO Emacs passes a region or a buffer to the ispell process which > then reads through this. And so it's ispell then, that decides where > a word ends. Since I think ispell's not correctly set up ... You're completely right, my bad. > In Fink Martin Costabel is the maintainer of this package; in > francais.aff this is recorded: Copyright 1999, Christophe Pythoud et > GUTenberg. From=20here, I consider I don't have the necessary knowledge to help, sorry. > Would it work to subtract - from OTHERCHARS in > ispell-dictionary-alist-3? No, that's what my proposition did, even if it seems not to work with you (any idea why?). However, this solution is maybe equivalent (but at another level, ispell's one) to remove ``boundarychars [-]'' from francais.aff. =2D-=20 | Micha=EBl `Micha' Cadilhac | Isn't vi that text editor with = | | Epita/LRDE Promo 2007 | two modes... One that beeps and = | | http://www.lrde.org/~cadilh_m | one that corrupts your file? = | `-- - JID: micha@amessage.be --' -- Dan Jacobson - -= -' --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFE9hDZZYNf4qobZ7kRAvBRAJ9J3sqCUbz3gxcX8HOHhrVqnWVSggCg1Pwn Bfd99Oq5nRNfO5iV3aauUEQ= =ec0+ -----END PGP SIGNATURE----- --=-=-=-- --===============1911216472== 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 --===============1911216472==--