From: Slawomir Nowaczyk <slawomir.nowaczyk.847@student.lu.se>
Subject: Flyspell-region bug
Date: Wed, 22 Feb 2006 13:53:14 +0100 [thread overview]
Message-ID: <20060222133801.8D73.SLAWOMIR.NOWACZYK.847@student.lu.se> (raw)
Hello,
I think there is a small problem in flyspell.el. If you evaluate the
following two expressions in this buffer:
(setq flyspell-large-region 1)
(flyspell-buffer)
Washington washington
the uncapitalised version is not marked as misspelled -- while it
should be. The following patch corrects the immediate problem:
**************************************************
*** c:/Emacs/lisp/textmodes/flyspell.el Tue Feb 7 17:21:31 2006
--- c:/temp/buffer-content-476I-k Wed Feb 22 13:37:31 2006
***************
*** 1322,1328 ****
The buffer to mark them in is `flyspell-large-region-buffer'."
(let (words-not-found
(ispell-otherchars (ispell-get-otherchars))
! (buffer-scan-pos flyspell-large-region-beg))
(with-current-buffer flyspell-external-ispell-buffer
(goto-char (point-min))
;; Loop over incorrect words, in the order they were reported,
--- 1322,1329 ----
The buffer to mark them in is `flyspell-large-region-buffer'."
(let (words-not-found
(ispell-otherchars (ispell-get-otherchars))
! (buffer-scan-pos flyspell-large-region-beg)
! (case-fold-search nil))
(with-current-buffer flyspell-external-ispell-buffer
(goto-char (point-min))
;; Loop over incorrect words, in the order they were reported,
**************************************************
Nevertheless, I find it somewhat disturbing that flyspell *did not*
complain but silently decided to ignore the misspelling ispell
reported...
Wouldn't it be better to at least show a message when this happens?
--
Best wishes,
Slawomir Nowaczyk
( slawomir.nowaczyk.847@student.lu.se )
UNIX is a clever beast:
% got a light?
No match.
next reply other threads:[~2006-02-22 12:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-22 12:53 Slawomir Nowaczyk [this message]
2006-02-24 11:44 ` Flyspell-region bug Agustin Martin
2006-02-27 10:50 ` Slawomir Nowaczyk
2006-02-28 23:41 ` Agustin Martin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060222133801.8D73.SLAWOMIR.NOWACZYK.847@student.lu.se \
--to=slawomir.nowaczyk.847@student.lu.se \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.