From: "Richard M. Stallman" <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: flyspell.el [1.90->1.91] flyspell-large-region-beg should be moved after good match
Date: Fri, 16 Dec 2005 20:03:25 -0500 [thread overview]
Message-ID: <E1EnQTt-0004TB-46@fencepost.gnu.org> (raw)
In-Reply-To: <20051216124235.GA3357@agmartin.aq.upm.es> (message from Agustin Martin on Fri, 16 Dec 2005 13:42:35 +0100)
I think this fix is a cleaner one. Does it work right?
*** flyspell.el 04 Dec 2005 12:42:38 -0500 1.91
--- flyspell.el 16 Dec 2005 19:58:07 -0500
***************
*** 1311,1316 ****
--- 1311,1318 ----
(ispell-otherchars (ispell-get-otherchars)))
(with-current-buffer flyspell-external-ispell-buffer
(goto-char (point-min))
+ (with-current-buffer flyspell-large-region-buffer
+ (goto-char flyspell-large-region-beg))
;; Loop over incorrect words.
(while (re-search-forward "\\([^\n]+\\)\n" (point-max) t)
;; Bind WORD to the next one.
***************
*** 1325,1331 ****
(* 100 (/ (float (point)) (point-max)))
word))
(with-current-buffer flyspell-large-region-buffer
- (goto-char flyspell-large-region-beg)
(let ((keep t))
;; Iterate on string search until string is found as word,
;; not as substring
--- 1327,1332 ----
next prev parent reply other threads:[~2005-12-17 1:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-16 12:42 flyspell.el [1.90->1.91] flyspell-large-region-beg should be moved after good match Agustin Martin
2005-12-17 1:03 ` Richard M. Stallman [this message]
2005-12-19 0:41 ` Agustin Martin
2005-12-19 1:28 ` Agustin Martin
2005-12-22 13:02 ` 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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1EnQTt-0004TB-46@fencepost.gnu.org \
--to=rms@gnu.org \
--cc=emacs-devel@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).