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: Sat, 5 Apr 2008 08:34:44 +0100 Message-ID: <3407D942-D9CF-441A-A73A-D6DE4DF05616@gmail.com> 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 1207380908 17330 80.91.229.12 (5 Apr 2008 07:35:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Apr 2008 07:35:08 +0000 (UTC) Cc: rudalics@gmx.at, pj@heslin.eclipse.co.uk, claus.klingberg@gmail.com, lennart.borgman@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 05 09:35:40 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 1Ji2w5-0001Y2-8k for ged-emacs-devel@m.gmane.org; Sat, 05 Apr 2008 09:35:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ji2vS-0007rm-FU for ged-emacs-devel@m.gmane.org; Sat, 05 Apr 2008 03:34:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ji2vN-0007oB-Pg for emacs-devel@gnu.org; Sat, 05 Apr 2008 03:34:53 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ji2vN-0007nE-C4 for emacs-devel@gnu.org; Sat, 05 Apr 2008 03:34:53 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ji2vN-0007mu-5c for emacs-devel@gnu.org; Sat, 05 Apr 2008 03:34:53 -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 1Ji2vM-0006hG-JL for emacs-devel@gnu.org; Sat, 05 Apr 2008 03:34:52 -0400 Original-Received: from fg-out-1718.google.com ([72.14.220.156]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ji2vL-0003Ln-Ia for emacs-devel@gnu.org; Sat, 05 Apr 2008 03:34:51 -0400 Original-Received: by fg-out-1718.google.com with SMTP id d23so577993fga.30 for ; Sat, 05 Apr 2008 00:34:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; 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=5ZuqFA7cPyNAiWZpdPdHxDetWvoGRgEcOQZedijy+io=; b=VZ6P0YqztPClYYP0aeonrPnqHhbemDBqu1zcO1gKAYI7W2KON3f8dNteeSQWcMGtUtBedAyjB5KbubOtnnNzezwVFo35oYAL51SezaCImMSOS3Uu9+e7UuaMFCmPTw9H/4hpXYT4PJx2Xe2qTNYRew+ss6URCH7fLzgwAiIOUMk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; b=MmPfKMRQw4hntlvmaP5UedpyFoxp9pf0AgJTOESZYS/ogLMukCuUHVt+ArCr6CJofE19mmS8dqwARM8rxlWoP0819jvMrOofT1dsyFETUvYBTyCBsS53d3zsexnq1y9Ik+BTUssZfsM9aVgV5t+BBJzZeRylf6mFqaKSavpR02I= Original-Received: by 10.78.134.6 with SMTP id h6mr6211412hud.68.1207380889872; Sat, 05 Apr 2008 00:34:49 -0700 (PDT) Original-Received: from scarlett.lan ( [89.241.128.168]) by mx.google.com with ESMTPS id d23sm5300036nfh.12.2008.04.05.00.34.46 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 05 Apr 2008 00:34:47 -0700 (PDT) In-Reply-To: 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:94391 Archived-At: On 4 Apr 2008, at 10:47, Eli Zaretskii wrote: > Perhaps someone could implement something similar in Emacs Lisp? Such services ought to be provided by the host operating system, or external (plugin) libraries, just like with aspell. A spell-checking package in Emacs would handle the UI, and the UI for spell-checking and style- and grammar-checking is very similar. Thus, providing a proper API would allow people to interface all sorts of checking functionality. To give an example, I just wrote a 175+ page document over the last months, and I implemented two things (very simple hacks): - re-order sentences by length (in words), so the longest ones can be evaluated and simplified manually - terminology checker: e.g., ensure that compound nouns are spelled consistently (e.g., hyphenated) throughout the document Also, functions like checking subject-verb agreement would have come in handy. Current parsing technology can most certainly do something as simple as that.