From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Finding packages to enable by default Date: Fri, 20 Jun 2014 21:28:08 -0400 Message-ID: References: <87ob4fg3zp.fsf@gmail.com> <874mzgdm3d.fsf@mithlond.arda> <87r42jd7ld.fsf@mithlond.arda> <83y4wrr822.fsf@gnu.org> <87mwd7d300.fsf@mithlond.arda> <83mwd7qvl2.fsf@gnu.org> <87bntncqe7.fsf@mithlond.arda> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1403314127 6789 80.91.229.3 (21 Jun 2014 01:28:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Jun 2014 01:28:47 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Teemu Likonen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 21 03:28:40 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WyA6h-0005Yq-K0 for ged-emacs-devel@m.gmane.org; Sat, 21 Jun 2014 03:28:39 +0200 Original-Received: from localhost ([::1]:43443 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WyA6h-0008Uk-1z for ged-emacs-devel@m.gmane.org; Fri, 20 Jun 2014 21:28:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35523) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WyA6W-0008Uc-TH for emacs-devel@gnu.org; Fri, 20 Jun 2014 21:28:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WyA6P-0002c9-Cx for emacs-devel@gnu.org; Fri, 20 Jun 2014 21:28:28 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:19552) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WyA6D-0002aY-FB; Fri, 20 Jun 2014 21:28:09 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArUGAIDvNVNLd+D9/2dsb2JhbABZgwaDSsA9gRcXdIIlAQEBAQIBViMFCwsOJhIUGA0kiAQI0hkXjnoHhDgEqRmBaoNMIQ X-IPAS-Result: ArUGAIDvNVNLd+D9/2dsb2JhbABZgwaDSsA9gRcXdIIlAQEBAQIBViMFCwsOJhIUGA0kiAQI0hkXjnoHhDgEqRmBaoNMIQ X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="68915164" Original-Received: from 75-119-224-253.dsl.teksavvy.com (HELO pastel.home) ([75.119.224.253]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 20 Jun 2014 21:28:08 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 4B6C360306; Fri, 20 Jun 2014 21:28:08 -0400 (EDT) In-Reply-To: <87bntncqe7.fsf@mithlond.arda> (Teemu Likonen's message of "Fri, 20 Jun 2014 22:49:52 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:172598 Archived-At: >> If there are so many of them, where are all those users? why didn't >> anyone submit changes to ispell.el to support those languages and >> spell-checkers? Why didn't you, for that matter? > I thought that flyspell-mode was too slow and had problems with > back-ends with decent Finnish support (Enchant and now obsolete > tmispell-voikko). I switched to speck-mode[1] for a while. It was better > but still too slow in some situations and didn't work with Enchant. It, > too, was tied to ispell interface. I began to think that more generic > approach is better. So I wrote wcheck-mode[2] which has very different > configuration concepts, and it's fast. I just had a look at wcheck-mode and it looks very interesting. Would you be interesting in contributing the code (we could at a minimum include it in GNU ELPA, tho I think it might be worthwhile in Emacs itself). I see it is "display and timer driven". The "display driven" part is interesting since it saves you from having to "touch" text before it gets syntax-checked. And the "timer driven" part makes it less intrusive performance-wise. Also it operates on larger chunks of text at a time, which is more efficient. I have a question: why does it use window-scroll-functions and such hooks instead of using jit-lock? [ I've been meaning to try and implement a new spell-checking package using jit-lock, but it seems to keep getting lower on the todo list. ] One downside for the user is that ispell.el's M-TAB might not work as well since by the time wcheck's timer runs to discover your typo, the user might "too far". Stefan