Richard M. Stallman
913a8cda35
(flyspell-correct-word-before-point): Don't let opoint be nil.
...
(flyspell-emacs-popup): Explicit error if no dialogs.
2007-05-24 22:12:25 +00:00
Chong Yidong
30133f6dcc
(flyspell-auto-correct-previous-word): Use window-start and
...
window-end.
2007-04-27 18:53:31 +00:00
Glenn Morris
2aebf08d10
(flyspell-define-abbrev): Downcase abbrev before defining it.
2007-04-22 00:22:14 +00:00
Chong Yidong
bb578a1d85
(flyspell-duplicate, flyspell-incorrect): Revert 2006-01-27 change.
2007-04-06 18:55:13 +00:00
Richard M. Stallman
14007de1ff
(flyspell-large-region): Use ispell-call-process-region.
2007-03-26 03:31:29 +00:00
Glenn Morris
d7a0267c8d
Add 2007 to copyright years.
2007-01-21 03:53:13 +00:00
Eli Zaretskii
c1ac9f5e54
(flyspell-hack-local-variables-hook): New. Force buffer local defs evaluation
...
on local variables loading.
(flyspell-mode-on, flyspell-mode-off): Use it in `hack-local-variables-hook'.
2006-12-09 13:02:32 +00:00
Glenn Morris
f2e3589a33
Update copyright years.
2006-12-09 04:06:06 +00:00
Richard M. Stallman
89be8f4ece
(flyspell-mode-map): Bind C-c $ instead of M-RET.
2006-11-11 01:00:10 +00:00
Richard M. Stallman
4071cac7eb
(flyspell-correct-word-before-point):
...
New function broken out of flyspell-correct-word.
(flyspell-mode-map): Bind it to M-RET.
(flyspell-correct-word): Call it.
2006-11-06 16:06:11 +00:00
Juanma Barranquero
da3d757bd2
(flyspell-check-tex-math-command): Use "non-nil" in docstrings.
2006-11-03 15:11:44 +00:00
Chong Yidong
081ff0c9bc
* textmodes/flyspell.el (flyspell-check-region-doublons): Fix last
...
fix.
2006-10-23 13:59:44 +00:00
Chong Yidong
6b8aed24fe
* textmodes/flyspell.el (flyspell-word): Skip past all previous
...
whitespace when checking doublons.
(flyspell-check-region-doublons): Fix doublon regexp.
(flyspell-highlight-incorrect-region): Highlight doublons using
flyspell-duplicate face.
2006-10-22 21:29:33 +00:00
Chong Yidong
15d8dc8b2b
* textmodes/flyspell.el (flyspell-word-search-backward): Set
...
inhibit-point-motion-hooks to avoid looping due to intangibile
text.
2006-10-18 04:13:46 +00:00
Chong Yidong
5c823193ae
* textmodes/flyspell.el (flyspell-check-region-doublons): New
...
function to detect duplicated words.
(flyspell-large-region): Use it.
2006-09-16 15:05:47 +00:00
Richard M. Stallman
9c0fad71d9
(flyspell-word, flyspell-correct-word)
...
(flyspell-auto-correct-word): Make ispell-filter local to these functions.
Check that ispell-filter has new stuff before calling ispell-parse-output.
2006-09-14 01:19:38 +00:00
Reiner Steib
2809db3399
* textmodes/flyspell.el (turn-on-flyspell, turn-off-flyspell): New
...
functions.
* textmodes/text-mode.el (text-mode-hook): Use turn-on-flyspell.
2006-05-30 18:37:15 +00:00
Roland Winkler
5c9c3eba64
(flyspell-generic-check-word-p): Make this the alias for the
...
following variable.
(flyspell-generic-check-word-predicate): Make this the real name.
2006-05-21 20:57:08 +00:00
Eli Zaretskii
55faab0a19
(flyspell-external-point-words, flyspell-process-localwords): Fix last changes.
2006-03-11 15:07:32 +00:00
Eli Zaretskii
4a2c445928
(flyspell-process-localwords): Be case-sensitive.
2006-03-03 12:28:24 +00:00
Eli Zaretskii
ee65a1327b
(flyspell-external-point-words): Be case-sensitive.
2006-03-03 11:49:22 +00:00
Eli Zaretskii
c52bf88ffe
(flyspell-incorrect, flyspell-duplicate): Doc fix.
2006-01-27 19:43:06 +00:00
Eli Zaretskii
f60117ac29
(flyspell-emacs-popup, flypell-xemacs-popup): Default to disabling the
...
"Save affix" question.
2006-01-21 13:11:21 +00:00
Stefan Monnier
8e2e29565d
(ispell-kill-ispell-hook): Add to the hook when
...
loading the file rather than when turning on flyspell-mode.
2006-01-17 16:35:52 +00:00
Stefan Monnier
949855fe64
(flyspell-kill-ispell-hook): Fix braino.
2006-01-15 05:47:44 +00:00
Stefan Monnier
ef0f5f7e62
(flyspell-kill-ispell-hook): New fun.
...
(flyspell-mode-on): Use it.
2006-01-15 05:46:20 +00:00
Stefan Monnier
bef9f82ccf
(flyspell-accept-buffer-local-defs): Add an
...
argument `force' to disable the flyspell-last-buffer optimization.
(flyspell-mode-on): Use it.
2006-01-05 21:52:16 +00:00
Richard M. Stallman
51978cac9a
(flyspell-external-point-words):
...
Use local var buffer-scan-pos to advance scan for next misspelling.
Advance it only after we find the misspelling.
New criteria for finding the misspelling in the buffer.
2005-12-27 22:49:46 +00:00
Stefan Monnier
9c84131648
(flyspell-check-word-p): Don't quote - in a regexp.
...
(tex-mode-flyspell-verify, flyspell-get-word)
(flyspell-external-point-words): Don't use point-min/max uselessly.
2005-12-22 01:51:40 +00:00
Richard M. Stallman
324d09a608
(flyspell-external-point-words): Use save-excursion to ensure we don't
...
move backward in the search loop, not even one character.
(flyspell-delete-all-overlays): Use remove-overlays directly.
2005-12-16 02:02:42 +00:00
Eli Zaretskii
27e0edcdca
(flyspell-external-point-words): Consider a misspelling as found in the string
...
search if: (a) misspelling and found string lengths match, or (b) misspelling
is found as element in a boundary-chars separated longer string, or
(c) ispell-program-name is really ispell and misspelling is found as part of
a TeX string. After successful match move beginning of search region to end
of match. Warn about not found misspellings once the process is done.
(flyspell-large-region) Do not set ispell-parser to tex if in TeX mode.
2005-12-02 13:17:38 +00:00
Stefan Monnier
6a99c27283
(flyspell-last-buffer): New var.
...
(flyspell-accept-buffer-local-defs): Use it to avoid silly redundant work.
(flyspell-mode-on): Use add-hook for after-change-functions.
(flyspell-mode-off): Use remove-hook for after-change-functions.
(flyspell-changes): Make it buffer-local.
(flyspell-after-change-function): Make it non-interactive. Use push.
(flyspell-post-command-hook): Check input-pending-p while processing
the potentially long list of buffer changes.
2005-11-28 16:44:37 +00:00
Stefan Monnier
042c6fb7c7
Fix commenting convention. Remove unnecessary leading * in custom docstrings.
...
(flyspell-emacs): Remove unused var.
(flyspell-accept-buffer-local-defs): Use save-current-buffer.
(flyspell-debug-signal-no-check, flyspell-debug-signal-changed-checked)
(flyspell-debug-signal-pre-word-checked, flyspell-post-command-hook)
(flyspell-debug-signal-word-checked): Use with-current-buffer.
(make-flyspell-overlay): Don't locally reuse a global name.
(flyspell-highlight-incorrect-region)
(flyspell-highlight-duplicate-region): Use flyspell-unhighlight-at.
(flyspell-check-previous-highlighted-word): Use flyspell-overlay-p.
(flyspell-notify-misspell): Remove unused args `start' and `end'.
(flyspell-word): Adjust call accordingly. Use ispell-send-string.
Wrap calls to accept-process-output inside with-local-quit since it's
often called from a post-command-hook.
(flyspell-correct-word, flyspell-auto-correct-word): Use ispell-send-string.
(flyspell-xemacs-popup): Remove unused arg `event'. Update call.
2005-11-16 17:00:29 +00:00
Stefan Monnier
5cb35db593
(flyspell-delete-region-overlays): Use remove-overlays.
2005-11-16 16:07:47 +00:00
Richard M. Stallman
b8b7c66e1c
(flyspell-large-region): Call flyspell-accept-buffer-local-defs.
...
(flyspell-notify-misspell): Fix misspelling of "Misspelling".
(flyspell-process-localwords): New function.
(flyspell-large-region): Call flyspell-process-localwords and
flyspell-delete-region-overlays.
(flyspell-delete-region-overlays): New function.
(flyspell-delete-all-overlays): Call that.
2005-11-14 04:53:14 +00:00
Richard M. Stallman
d21d2c23ac
(flyspell-external-point-words):
...
flyspell-get-word returns a list, not just a string.
2005-11-07 00:50:01 +00:00
Richard M. Stallman
3c8404e66f
(flyspell-post-command-hook): Bind deactivate-mark to prevent deactivation.
2005-11-03 21:33:22 +00:00
Richard M. Stallman
b57148527d
(flyspell-external-point-words): Pass nil to flyspell-get-word.
2005-11-02 01:34:04 +00:00
Richard M. Stallman
00a2681be8
(flyspell-external-point-words):
...
Detect when WORD can't be checked properly because
flyspell-get-word finds just part of it, and move on.
2005-10-30 15:52:07 +00:00
Richard M. Stallman
ca7250cb5a
(flyspell-large-region): Pass -t if Tex file.
...
(flyspell-external-point-words): Error if misspelled word is not found.
Set flyspell-large-region-beg at end of word.
2005-10-28 04:22:19 +00:00
Richard M. Stallman
4ad093d0b5
(flyspell-large-region): Call ispell-check-version.
2005-10-23 18:22:49 +00:00
Richard M. Stallman
1fb7ce77df
(flyspell-check-word-p):
...
If unread-command-events is non-empty, don't call sit-for.
2005-10-10 04:03:09 +00:00
Richard M. Stallman
cc8556d976
(flyspell-external-point-words): Simplify logic, and don't try to
...
check for consecutive appearances of one incorrect word.
2005-10-10 01:14:28 +00:00
Richard M. Stallman
6487ea0d84
(flyspell-mode-on): Call ispell-maybe-find-aspell-dictionaries.
2005-10-04 20:29:00 +00:00
Richard M. Stallman
91346f5419
(flyspell-incorrect-hook, flyspell-highlight-incorrect-region)
...
(flyspell-highlight-duplicate-region): Doc fixes.
2005-09-23 18:29:20 +00:00
Deepak Goel
5673af85e4
Message format spec fixes (2)
2005-09-18 12:28:30 +00:00
Richard M. Stallman
ae3defd0d3
(flyspell-large-region): Fix doc and custom type.
...
(flyspell-mark-duplications-flag): Doc fix.
2005-08-15 23:48:30 +00:00
Richard M. Stallman
444465c803
(flyspell-mode): Autoload a defvar.
2005-08-15 01:49:51 +00:00
Thien-Thi Nguyen
3731a85096
Update years in copyright notice; nfc.
2005-08-06 17:48:15 +00:00
Lute Kamstra
4fc5845fe8
Update FSF's address.
2005-07-04 16:49:24 +00:00