1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-07 15:21:46 +00:00
Commit Graph

43 Commits

Author SHA1 Message Date
Pavel Janík
1c71b9580a (flyspell-insert-function): Doc fix. 2002-02-06 22:37:12 +00:00
Pavel Janík
73194d6771 (flyspell-issue-message-flag): New user option.
(flyspell-mode-on, flyspell-notify-misspell)
(flyspell-small-region, flyspell-external-point-words)
(flyspell-large-region): Use it
(flyspell-before-incorrect-word-string)
(flyspell-after-incorrect-word-string): New user options.
(make-flyspell-overlay): Use them.
(flyspell-version): New function.
(flyspell-incorrect-face, flyspell-duplicate-face): Adapt face definitions
to use :weight.
(flyspell-insert-function): New user option.
(flyspell-auto-correct-word, flyspell-correct-word)
(flyspell-xemacs-correct): Use it.
(flyspell-define-abbrev): New function.
(flyspell-auto-correct-word, flyspell-correct-word)
(flyspell-xemacs-correct): Use it.
(make-flyspell-overlay): Use `evaporate' property.
(flyspell-auto-correct-word, flyspell-correct-word): Remove overlay.
(flyspell-emacs-popup): Use `session' instead of `accept'.
(flyspell-auto-correct-previous-pos): New variable.
(flyspell-auto-correct-previous-hook)
(flyspell-auto-correct-previous-word): New functions.
2002-02-02 15:56:45 +00:00
Pavel Janík
2fced6f94d Minor formatting fixes in preparation of merging new version. 2002-01-29 13:42:12 +00:00
Pavel Janík
f30fe18bf9 (flyspell-check-pre-word-p): Prevent delaying when executing keyboard
macros.
2002-01-12 21:40:32 +00:00
Richard M. Stallman
5c2012be06 (flyspell-mode-line-string): Fix custom type. 2002-01-08 23:57:15 +00:00
Richard M. Stallman
1fd714a410 (various face definitions): Use :weight, not :bold. 2001-12-31 20:44:44 +00:00
Richard M. Stallman
d2fb04dfd3 (flyspell-mode-map): New keymap, defined as before 2001-11-09.
(add-minor-mode call): Specify the keymap.
2001-12-27 03:13:57 +00:00
Pavel Janík
eb1d71ab61 (flyspell-default-dictionary): Fix previous change. 2001-11-12 08:17:15 +00:00
Richard M. Stallman
b789d74a98 (flyspell-default-dictionary): Fix custom type. 2001-11-12 06:17:38 +00:00
Richard M. Stallman
487301c25e (flyspell-default-dictionary): Allow nil as value, and make nil the default. 2001-11-11 20:12:27 +00:00
Richard M. Stallman
a63f25a404 (flyspell-correct-word/local-keymap): Function deleted.
(flyspell-correct-word): Old definition deleted.
(flyspell-correct-word/mouse-keymap): Renamed to flyspell-correct-word.
All references renamed too.
2001-11-10 18:36:26 +00:00
Richard M. Stallman
0dd10e6255 Use the keymap property instead of local-map, and don't use a minor-mode map.
(flyspell-mode-map): Variable deleted.
Don't mess with minor-mode-map-alist.
(calling add-minor-mode): Specify nil for keymap.
And always use add-minor-mode, now that it exists.
(flyspell-overlay-keymap-property-name): Set it to `keymap'.
(flyspell-mode-on): Don't locally bind flyspell-mouse-map
or flyspell-local-mouse-map.
(make-flyspell-overlay): Use flyspell-mouse-map directly.
(flyspell-mode): Doc fix.
(flyspell-mode-on): Don't call make-local-hook.
2001-11-10 01:20:22 +00:00
Pavel Janík
e8af40eed4 Some fixes to follow coding conventions. 2001-07-16 12:23:00 +00:00
Gerd Moellmann
25f2ad0554 Some doc fixes.
(flyspell-maybe-correct-transposition)
(flyspell-maybe-correct-doubling): Use a temporary buffer
2001-03-26 16:31:20 +00:00
Gerd Moellmann
f216a6b34a Backed out changes made by John Wiegley 2000-10-28. 2001-03-26 13:59:00 +00:00
Dave Love
fa84f42ab9 (flyspell-region): Set up
flyspell-local-mouse-map.
2001-03-06 10:59:50 +00:00
Dave Love
11570a8ffe (flyspell-get-word): Return string without
properties.
2001-02-16 15:05:24 +00:00
Gerd Moellmann
3bb710b01c (flyspell-region, flyspell-buffer):
Add autoload cookies.
2001-02-16 13:21:11 +00:00
Dave Love
1f44857f25 Doc fixes. Add :version to new options. 2001-01-26 18:52:53 +00:00
Gerd Moellmann
25c99c6d35 (mail-mode-flyspell-verify): Check in
Subject line only if point is after the `Subject:'.
2001-01-16 14:04:21 +00:00
Gerd Moellmann
53287eb034 (mail-mode-flyspell-verify): Spell-check
in Subject line.
2000-12-29 15:14:51 +00:00
Stefan Monnier
9b047c6934 (flyspell-prog-text-faces): New var.
(flyspell-generic-progmode-verify): Use it.
2000-11-22 21:05:36 +00:00
Miles Bader
f5ed37df73 (flyspell-mode-on): Only output welcome message if interactive. 2000-11-12 13:26:15 +00:00
John Wiegley
dace60cfea See ChangeLog 2000-10-29 05:18:48 +00:00
Gerd Moellmann
7465ebefa2 (flyspell-mouse-map): Use `map' instead
of flyspell-mouse-map.
2000-07-26 13:05:03 +00:00
Gerd Moellmann
3215afc493 Update to author's version 1.5d. 2000-07-24 18:36:17 +00:00
Dave Love
2be80b63e7 (flyspell-mouse-map): Change definition
and assignments to it.
(flyspell-mode-on): Define flyspell-local-mouse-map, inheriting
current local map.
(make-flyspell-overlay): Use it.
(flyspell-correct-word/mouse-keymap): Change XEmacs test.
2000-02-20 19:03:33 +00:00
Richard M. Stallman
9658746b2a (flyspell-get-word): Add special handling for when ispell-otherchars is empty. 1999-07-12 16:01:16 +00:00
Karl Heuer
e28a78f514 (flyspell-mode-on): Use
change-major-mode-hook.
1999-03-09 03:29:04 +00:00
Richard M. Stallman
739394c764 (make-flyspell-overlay): fix front stickiness. 1999-01-15 14:47:50 +00:00
Richard M. Stallman
dd0ffc284b If local-maps work, don't put
flyspell-mode-map in minor-mode-map-alist; bind mouse-2 and M-TAB
in flyspell-mouse-map (only).
(flyspell-use-local-map): New variable.
Use a different mouse-2 binding in that case,
and don't add to minor-mode-map-alist.
(make-flyspell-overlay, flyspell-correct-word):
Test flyspell-use-local-map.
1998-12-27 03:15:10 +00:00
Richard M. Stallman
2a48d24b3b (flyspell-check-word-p): Don't delay inside a kbd macro. 1998-12-01 00:50:45 +00:00
Karl Heuer
59e7a63738 (flyspell-mode-on): Make the
ispell-... variables permanent locals.
(flyspell-mode-off): Add autoload cookie.
1998-09-10 16:07:02 +00:00
Karl Heuer
b2a577ecba (flyspell-mode-on): fix kill-buffer-hook
to make killing of ispell process work even if
kill-all-local-variables has been run.
1998-09-10 16:05:59 +00:00
Karl Heuer
ca2ebe63eb (flyspell-mode): Do nothing if mode
remains on or remains off.
(flyspell-multi-language-p): Default changed to nil.
1998-09-04 20:02:13 +00:00
Richard M. Stallman
3527740ced Don't require font-lock. 1998-08-09 00:58:10 +00:00
Richard M. Stallman
2ed1f669bd (flyspell-command-hook): Option deleted.
(flyspell-mode-on): Delete code to handle flyspell-command-hook.
(flyspell-mode-off): Likewise.
(flyspell-mark-duplications-flag): Doc fix.
(flyspell-duplicate-distance): Doc fix.
(flyspell-duplicate-face): Doc fix.
1998-08-08 23:44:03 +00:00
Richard M. Stallman
8477026148 (flyspell-persistent-highlight): Doc fix. 1998-08-08 06:17:03 +00:00
Richard M. Stallman
65a5c06afd (flyspell-duplicate-distance): Doc fix; change default to 10000.
(flyspell-mode-on): Fix the welcome message to deal with
how the binding for flyspell-auto-correct-word is now made.
(flyspell-delay, flyspell-delayed-commands): Doc fixes.
(flyspell-mode-off): Kill Ispell only if it is per-buffer.

(flyspell-mode-map): Explicitly bind M-TAB.
(flyspell-auto-correct-binding): Variable deleted.
(flyspell-incorrect-face, flyspell-duplicate-face): Fix typos.
(flyspell-check-pre-word-p): Check for word syntax in previous char.
(flyspell-word): Set process-kill-without-query for Ispell.
(flyspell-region): Put region args in order; use right percantage.
(flyspell-properties-at-p): Rename arg to POS; doc fix.
(flyspell-highlight-incorrect-region):
Check flyspell-highlight-properties first.
(flyspell-highlight-duplicate-region): Likewise.
(flyspell-auto-correct-word): Doc fix.
1998-08-03 03:27:54 +00:00
Richard M. Stallman
0a67052fd0 (flyspell-emacs-popup): Renamed from flyspell-gnuemacs-popup. Callers changed.
(push): Macro deleted.  Callers changed to do it explicitly.
(flyspell-incorrect-face, flyspell-duplicate-face): Use defface.
(flyspell-incorrect-color): Variable deleted.
(flyspell-duplicate-color): Variable deleted.
(flyspell-underline-p): Variable deleted.
(flyspell-font-lock-make-face): Function deleted.
(flyspell-mark-duplications-flag): Renamed from flyspell-doublon-as-error-flag.
(flyspell-mode-on): Delete the debugging message.
(flyspell-mode-off): Delete the debugging message.
(flyspell-mode-on): Set flyspell-generic-check-word-p
from the flyspell-mode-predicate property.
(texinfo-mode, mail-mode, message-mode):
Set flyspell-mode-predicate property.
1998-07-29 03:21:32 +00:00
Dan Nicolaescu
470a48acec *** empty log message *** 1998-06-30 03:10:18 +00:00
Richard M. Stallman
1d8a80f0bd Delete defcustom definition.
(flyspell-auto-correct-binding): Fix custom type.
(mail-mode-flyspell-verify): Check for `Subject:'.
(flyspell-mouse-map): Use cond, not if.
(flyspell-region): Update message only every 100 actions.
1998-06-26 01:27:40 +00:00
Richard M. Stallman
60371a2e3d Initial revision 1998-06-26 01:24:05 +00:00