From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.devel Subject: Re: Fly-spelling with multiple dictionaries Date: Fri, 4 Apr 2008 08:07:56 +0100 Message-ID: References: <47F4A79C.6000006@alice.it> <47F4CD60.8010802@gmx.at> <47F4FDB9.6010306@gmx.at> <47F5040B.2070900@gmail.com> <47F51288.8000805@gmx.at> <47F51885.1090109@gmail.com> <47F54544.1050701@gmx.at> <47F54895.2070503@gmail.com> <47F54F85.4050206@gmx.at> <47F5D0CD.3070704@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v919.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1207292899 6625 80.91.229.12 (4 Apr 2008 07:08:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Apr 2008 07:08:19 +0000 (UTC) Cc: Emacs Devel , Claus , "Lennart Borgman \(gmail\)" , Peter Heslin To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 04 09:08:50 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 1Jhg2a-0001DS-Ix for ged-emacs-devel@m.gmane.org; Fri, 04 Apr 2008 09:08:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jhg1y-0006Zd-0z for ged-emacs-devel@m.gmane.org; Fri, 04 Apr 2008 03:08:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jhg1t-0006ZL-7e for emacs-devel@gnu.org; Fri, 04 Apr 2008 03:08:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jhg1r-0006Z7-PL for emacs-devel@gnu.org; Fri, 04 Apr 2008 03:08:04 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jhg1r-0006Yx-Hu for emacs-devel@gnu.org; Fri, 04 Apr 2008 03:08:03 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Jhg1q-0002BY-U6 for emacs-devel@gnu.org; Fri, 04 Apr 2008 03:08:03 -0400 Original-Received: from fk-out-0910.google.com ([209.85.128.186]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jhg1q-0008Gv-BB for emacs-devel@gnu.org; Fri, 04 Apr 2008 03:08:02 -0400 Original-Received: by fk-out-0910.google.com with SMTP id 26so4732371fkx.10 for ; Fri, 04 Apr 2008 00:08:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; bh=EwEh69Cfaa9iKmrURzIyosii9bbr5y858egLQJRRuD8=; b=RJeuGPjkgraKKxobcPT+7juQ7z7SDfvjhfhtyq308KBaYBnS8GHRLZyQ/rfkYqgxeE5zHux7gmx8kz6wlegCQCr1fU0U2x+wS4u7cDQRik9mF2t2CBtAjGtK5ZG0sw3a1iUKqrwg5boy3Iy+4BaFZ+GJGl3PSTnKuvl3TwLGV9g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; b=ibJTajHO8r0BAkHs8W80/bTdd4qw8Caui9U8746wUMNJjF7EA7CSWMuqSiUjrD5Lq3AB7JizsK43EAuK2isXL63W1nmvU1g4F94FpEyZpAsM4X0Xk2/ZK5wECui0Sw3QvOVfGSySmBi4j4Hz23QBTvg4AgJET35lHNpx85G6yHo= Original-Received: by 10.78.170.6 with SMTP id s6mr2216765hue.75.1207292880462; Fri, 04 Apr 2008 00:08:00 -0700 (PDT) Original-Received: from scarlett.lan ( [89.241.132.222]) by mx.google.com with ESMTPS id i4sm5421234nfh.37.2008.04.04.00.07.58 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 04 Apr 2008 00:07:59 -0700 (PDT) In-Reply-To: <47F5D0CD.3070704@gmx.at> X-Mailer: Apple Mail (2.919.2) X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 2) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:94302 Archived-At: On 4 Apr 2008, at 07:55, martin rudalics wrote: > > Ispell/Aspell are, to my knowledge, the only spell-checkers providing > the piping mechanism Emacs uses - Hunspell has a C(++) interface only. > Currently, all we do is send some buffer text to the spell-checker and > wait what the spell-checker tells us about that text. A C++ interface wouldn't be all that different. If the (elisp level) spell-checking package provided clear separation between UI and accessing the spell-checker (the API that I'd like), then support for other spell-checkers could be implemented easily. > Grammar checking can (and should, IMHO) be done separately from > spell-checking. Neither Aspell nor Ispell provide any support for > this. Yes. I think the UI portion could be the same, though. You underline and provide a context menu, or you jump to the next warning. > Currently, Aspell and Ispell know better what should be ignored in > LaTeX > buffers. Why duplicate work in this area? That's indeed an argument in favor of A/Ispell; with other spell- checkers, the major mode would have to strip out key words. And it's really a major mode specific function and should be implemented there.