[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs ispell
From: |
Peter Dyballa |
Subject: |
Re: emacs ispell |
Date: |
Wed, 15 Feb 2012 22:59:54 +0100 |
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 <the file to (i)spell check>
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 <menu-bar>
<tools> <spell> <ispell-word>, 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 –
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.