From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.devel Subject: Re: Fly-spelling with multiple dictionaries Date: Thu, 03 Apr 2008 19:48:53 +0200 Message-ID: <47F51885.1090109@gmail.com> References: <47F4A79C.6000006@alice.it> <47F4CD60.8010802@gmx.at> <47F4FDB9.6010306@gmx.at> <47F5040B.2070900@gmail.com> <47F51288.8000805@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1207244960 4527 80.91.229.12 (3 Apr 2008 17:49:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Apr 2008 17:49:20 +0000 (UTC) Cc: Peter Heslin , Claus , Emacs Devel To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 03 19:49:52 2008 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 1JhTZP-0002Gf-My for ged-emacs-devel@m.gmane.org; Thu, 03 Apr 2008 19:49:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JhTYn-0005r3-Ai for ged-emacs-devel@m.gmane.org; Thu, 03 Apr 2008 13:49:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JhTYa-0005dS-Fj for emacs-devel@gnu.org; Thu, 03 Apr 2008 13:49:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JhTYZ-0005cO-Qd for emacs-devel@gnu.org; Thu, 03 Apr 2008 13:49:00 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JhTYZ-0005bt-GH for emacs-devel@gnu.org; Thu, 03 Apr 2008 13:48:59 -0400 Original-Received: from ch-smtp02.sth.basefarm.net ([80.76.149.213]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JhTYZ-0001tM-4y for emacs-devel@gnu.org; Thu, 03 Apr 2008 13:48:59 -0400 Original-Received: from c83-254-150-27.bredband.comhem.se ([83.254.150.27]:60389 helo=[127.0.0.1]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1JhTYV-0001SB-9R; Thu, 03 Apr 2008 19:48:56 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 In-Reply-To: <47F51288.8000805@gmx.at> X-Antivirus: avast! (VPS 080402-0, 2008-04-02), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.150.27 X-Scan-Result: No virus found in message 1JhTYV-0001SB-9R. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1JhTYV-0001SB-9R ae050b955ec8081d4a6f0a5985359dc9 X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) 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:94278 Archived-At: martin rudalics wrote: > > What is the difference against ispell-multi.el? > > IIRC `ispell-multi' is a plug-in for ispell.el/flyspell.el. speck is > entirely self-contained, doesn't need ispell.el or flyspell.el. > > speck is timer-based, scanning entire windows in the background. > flyspell runs spell-checking as some sort of post-command hook which > makes it quite sluggish on my system. That's why I decided to roll my > own spell-checker. The window-scanning, timer-based approach and the > region-based handling of languages are similar to what I found with > conventional word-processors. Moreover, speck allows to store language > information in files. Hence, you can switch off your machine and resume > spell-checking at a later point. > > I admire Peter Heslin's work in this area. His programs are very > professionally written, I wish I could code his way. Parts of what > speck does resembles `ispell-multi' although I wasn't aware of his work > at the time I wrote speck. The one great deficiency of `ispell-multi', > IMHO, is that you need flyspell/ispell to run it. One great advantage > of `ispell-multi' are Peter's plugins for Babel and html (which I don't > need personally). Thanks Martin. So what's the best to do right now to get something like this into Emacs? (Does ispell-multi use timers or post-command-hook?)