From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: emacs ispell Date: Wed, 15 Feb 2012 22:59:54 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1329343230 30286 80.91.229.3 (15 Feb 2012 22:00:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 15 Feb 2012 22:00:30 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Shiyuan Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 15 23:00:29 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RxmtY-0005TH-Bi for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Feb 2012 23:00:12 +0100 Original-Received: from localhost ([::1]:60425 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RxmtX-0004FW-F6 for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Feb 2012 17:00:11 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:34326) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RxmtM-0004BV-Qg for help-gnu-emacs@gnu.org; Wed, 15 Feb 2012 17:00:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RxmtK-00035v-5V for help-gnu-emacs@gnu.org; Wed, 15 Feb 2012 17:00:00 -0500 Original-Received: from mout.web.de ([212.227.15.4]:61125) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RxmtJ-00035b-R0 for help-gnu-emacs@gnu.org; Wed, 15 Feb 2012 16:59:58 -0500 Original-Received: from peter-dyballas-macbook-pro.fritz.box ([88.153.242.186]) by smtp.web.de (mrweb002) with ESMTPA (Nemesis) id 0LbIiI-1SMczY2mra-00ke3m; Wed, 15 Feb 2012 22:59:54 +0100 In-Reply-To: X-Mailer: Apple Mail (2.1084) X-Provags-ID: V02:K0:z0V92IU4IJrJ4BTQFpUncQ1UCSEq+kwyyAtKiVYBjAV pwNeWH1+pFcY5Ijseb3Mi/9vgVgEQzUFsmPzXGm2CDUNFEvyh0 Y7p/O5XyYxEXfZ7kP/jcPoxue8Q+u3BplQwbDiBi3Yt6nh4WDl v75b3meew5rRwW5vrHiFrm/3ie2DikHAQ/dSe2HUdfioHuxg8+ NgrCIXPHPpAcntITTFKvw== X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 212.227.15.4 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:83771 Archived-At: Am 15.2.2012 um 21:22 schrieb Shiyuan: > In that case, why spell-check-buffer misses some mispelled words but = spell-check-word doesn't? Me, I have no idea. It might help if you could give examples. And with = examples I mean a complete but minimal example of a whole buffer of = text. With minimal I mean less than 1 kB of data, with complete I mean = that possible file header and footer, containing any file-local = variables, are also given. The best test case of course would be when GNU Emacs is launched as emacs -Q -l .emacs-minimal.el and you also give us that .emacs-minimal.el file with, say, less than 20 = or 30 lines of customisation (mostly ispell setup). The (text) file = could consist of an exact description of your tries and also name the = words that are handled so differently. So we can read what you did, = which commands you invoked in which manner, and what the words are and = which is found in this and which is not found in that mode of ispell. It = should be OK when some of these words appear repeatedly. Give us the = versions of GNU Emacs and ispell and OS as well in that text file and = also the dictionaries ispell uses. One explanation can be that M-$, i.e., ispell-word or from the menu = , does not choose the word you = want to be checked. This function either checks the word in which the = text cursor is (at the beginning OR at the end OR somewhere between = these extremes) or the word to the left of the space between the words = in an LTR (left-to-right written) script =96 the latter behaviour can be = changed by an optional argument. When you set transient-mark-mode active (to t or such) and then mark a = region of words around the mis-spelled word and then invoke M-$, does it = still fail? -- Greetings Pete Theory and practice are the same, in theory, but, in practice, they are = different.