From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Davis Herring" Newsgroups: gmane.emacs.devel Subject: Re: Adding ispell-multi.el and friends to Emacs Date: Thu, 21 Jun 2007 11:44:19 -0700 (PDT) Message-ID: <49732.128.165.123.18.1182451459.squirrel@webmail.lanl.gov> References: <87zm32k7zl.fsf@dur.ac.uk> <87ejkchlh2.fsf@heslin.eclipse.co.uk> <20070617210511.GB5230@agmartin.aq.upm.es> <87645ml132.fsf@jurta.org> <87abuygoqo.fsf@heslin.eclipse.co.uk> <20070618095506.GA4724@agmartin.aq.upm.es> Reply-To: herring@lanl.gov NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1182451473 29509 80.91.229.12 (21 Jun 2007 18:44:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 21 Jun 2007 18:44:33 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 21 20:44:32 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I1Rdv-0003EM-MX for ged-emacs-devel@m.gmane.org; Thu, 21 Jun 2007 20:44:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I1Rdu-0004Pb-Bt for ged-emacs-devel@m.gmane.org; Thu, 21 Jun 2007 14:44:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I1Rdr-0004PW-3t for emacs-devel@gnu.org; Thu, 21 Jun 2007 14:44:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I1Rdp-0004PI-1c for emacs-devel@gnu.org; Thu, 21 Jun 2007 14:44:25 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I1Rdo-0004PF-Ro for emacs-devel@gnu.org; Thu, 21 Jun 2007 14:44:24 -0400 Original-Received: from mailwasher.lanl.gov ([192.65.95.54] helo=mailwasher-b.lanl.gov) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I1Rdo-0007iL-Ba for emacs-devel@gnu.org; Thu, 21 Jun 2007 14:44:24 -0400 Original-Received: from mailrelay3.lanl.gov (mailrelay3.lanl.gov [128.165.4.104]) by mailwasher-b.lanl.gov (8.13.8/8.13.6/(ccn-5)) with ESMTP id l5LIiJs6024016 for ; Thu, 21 Jun 2007 12:44:20 -0600 Original-Received: from webmail1.lanl.gov (webmail1.lanl.gov [128.165.4.106]) by mailrelay3.lanl.gov (8.13.8/8.13.8/(ccn-5)) with ESMTP id l5LIiJ4e022748 for ; Thu, 21 Jun 2007 12:44:19 -0600 Original-Received: from webmail1.lanl.gov (localhost.localdomain [127.0.0.1]) by webmail1.lanl.gov (8.12.11.20060308/8.12.11) with ESMTP id l5LIiJNg019879 for ; Thu, 21 Jun 2007 12:44:19 -0600 Original-Received: (from apache@localhost) by webmail1.lanl.gov (8.12.11.20060308/8.12.11/Submit) id l5LIiJQt019877; Thu, 21 Jun 2007 11:44:19 -0700 X-Authentication-Warning: webmail1.lanl.gov: apache set sender to herring@lanl.gov using -f Original-Received: from 128.165.123.18 (SquirrelMail authenticated user 196434) by webmail.lanl.gov with HTTP; Thu, 21 Jun 2007 11:44:19 -0700 (PDT) In-Reply-To: <20070618095506.GA4724@agmartin.aq.upm.es> User-Agent: SquirrelMail/1.4.8-6.el3.2lanl X-Priority: 3 (Normal) Importance: Normal X-PMX-Version: 4.7.1.128075 X-CTN-5-MailScanner-Information: Please see http://network.lanl.gov/email/virus-scan.php X-CTN-5-MailScanner: Found to be clean X-CTN-5-MailScanner-From: herring@lanl.gov X-detected-kernel: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:73540 Archived-At: > A mixed approach would be to first parse line and loop over words if a > language change is detected or active and send lines otherwise. I only > looked once at the line handling code to try doing something like that in > case of misalignments (doing line per words in case a misalignment is > found), but I had no success at all. This could probably be made simple and efficient by using (next-single-char-property-change (point) 'ispell-multi-lang nil (line-end-position)) to grab strings to send. I'm not at all familiar with ispell, but if this idea looks good I can try my hand at putting it in. Davis -- This product is sold by volume, not by mass. If it appears too dense or too sparse, it is because mass-energy conversion has occurred during shipping.