Agustín Martín
e26a7bc01c
ispell.el: Add ispell-looking-back' XEmacs compatibility function for looking-back'
...
flyspell.el (sgml-mode-flyspell-verify): Use `ispell-looking-back'
2009-06-25 11:25:09 +00:00
Chong Yidong
873f4645aa
* textmodes/flyspell.el (flyspell-correct-word-before-point):
...
Don't create markers.
(tex-mode-flyspell-verify): Don't create markers. Use
line-end-position.
(sgml-mode-flyspell-verify): Don't create markers. Simplify code
using looking-at and looking-back.
2009-04-16 18:45:20 +00:00
Glenn Morris
cb92c15044
(flyspell-use-meta-tab): Add a custom :set function. (Bug#2429)
2009-02-24 04:44:19 +00:00
Chong Yidong
770f7c6396
(flyspell-mouse-map): Undefine mouse-2 to avoid yanks (Bug#2408).
2009-02-21 17:53:16 +00:00
Agustín Martín
ca0ebeccbb
(flyspell-post-command-hook): Do nothing unless flyspell-mode is enabled.
...
(flyspell-pre-point): Make buffer-local.
2009-01-16 15:20:49 +00:00
Agustín Martín
57bf8fd484
ispell.el (ispell-encoding8-command): New variable
...
(ispell-aspell-supports-utf8): Mark as obsoleted by ispell-encoding8-command
(ispell-check-version): Set ispell-encoding8-command
(ispell-check-spellchecker-params, ispell-start-process): Use
ispell-encoding8-command
flyspell.el (flyspell-large-region): Use ispell-encoding8-command
2009-01-08 18:46:23 +00:00
Glenn Morris
ae940284fa
Add 2009 to copyright years.
2009-01-05 03:18:22 +00:00
Agustín Martín
c478e4c527
(ispell-really-hunspell): new variable to signal hunspell
...
(ispell-check-version):
Check if hunspell and set ispell-really-hunspell if needed
(ispell-send-string), (ispell-start-process), (flyspell-large-region):
Pass right options for hunspell if needed
2008-12-18 18:44:31 +00:00
Chong Yidong
f768e8e8c9
(flyspell-math-tex-command-p): Always catch errors raised in
...
`texmathp'.
(flyspell-tex-math-initialized): Remove.
2008-09-17 00:55:38 +00:00
Agustín Martín
274483ccca
(flyspell-mode) Fix docstring
2008-08-28 11:33:57 +00:00
Chong Yidong
6797fabd2d
(flyspell-check-pre-word-p): Make sure flyspell-pre-point is valid to
...
avoid signalling an error in post-command-hook.
2008-08-26 23:00:31 +00:00
Stefan Monnier
747d0c440f
(mail-mode-flyspell-verify):
...
Check message-signature-separator exists before using it.
2008-06-13 15:15:32 +00:00
Glenn Morris
1fecc8feb6
Switch to recommended form of GPLv3 permissions notice.
2008-05-06 04:34:22 +00:00
Agustín Martín
b224db3868
(flyspell-mode-on): Remove redundant (flyspell-mode-hook) run.
...
(flyspell-mode): Fix docstring in definition.
2008-04-29 10:55:35 +00:00
Stefan Monnier
caea54f833
* ispell.el (ispell-set-spellchecker-params): New function to make sure
...
right params and dictionary alists are used after spellchecker changes.
(ispell-aspell-dictionary-alist, ispell-last-program-name)
(ispell-initialize-spellchecker-hook): New variables and hook.
(ispell-find-aspell-dictionaries): Use ispell-aspell-dictionary-alist.
(ispell-maybe-find-aspell-dictionaries): Remove.
Calls replaced by (ispell-set-spellchecker-params) calls.
(ispell-have-aspell-dictionaries): Remove.
* flyspell.el: Replace ispell-maybe-find-aspell-dictionaries by
ispell-set-spellchecker-params.
2008-04-23 20:39:10 +00:00
Reiner Steib
e039c77344
(flyspell-duplicate-distance): Improve custom type.
2008-04-06 21:01:50 +00:00
Bastien Guerry
23e330700e
* textmodes/flyspell.el (nxml-mode): Add the right.
...
`flyspell-mode-predicate'.
* wid-edit.el (link): Use 'mouse-face for :follow-link.
2008-03-14 10:13:30 +00:00
Miles Bader
59ce725a3b
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
12dc447f2a
Add 2008 to copyright years.
2008-01-07 02:23:04 +00:00
Glenn Morris
a3614e04ba
Agustín Martín <agustin.martin at hispalinux.es>
...
(flyspell-large-region): Explicitly set encoding for aspell process
and for communication with it. Only add "-d" option if not already
present. Use ispell-current-dictionary and
ispell-current-personal-dictionary. General reorganization.
2007-12-02 18:18:19 +00:00
Dan Nicolaescu
fc5e09b3ee
* textmodes/flyspell.el (message-signature-separator):
...
* longlines.el (message-indent-citation-function): Pacify byte
compiler.
* emacs-lisp/cl-loaddefs.el:
* ldefs-boot.el: Regenerate.
* Makefile.in (BYTE_COMPILE_EXTRA_FLAGS): New variable.
(.el.elc, compile, compile-always, compile-calc)
($(lisp)/progmodes/cc-mode.elc): Use it.
2007-10-29 18:32:32 +00:00
Miles Bader
1af74d06e5
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-875
2007-10-09 08:52:57 +00:00
Juanma Barranquero
6c3bce72f8
(flyspell-delay-commands, flyspell-deplacement-commands):
...
Use `mapc' rather than `mapcar'.
2007-09-26 00:32:27 +00:00
Michaël Cadilhac
08fea92887
(flyspell-mark-duplications-exceptions): New variable. List of
...
exceptions for the duplicated word rule.
(flyspell-mark-duplications-flag): Mention it.
(flyspell-word): Treat it.
2007-08-31 13:41:31 +00:00
Richard M. Stallman
478adae212
(flyspell-mode): Catch errors in flyspell-mode-on.
2007-08-27 16:26:48 +00:00
Glenn Morris
3ecd3a56c0
Replace `iff' in doc-strings and comments.
2007-08-08 07:27:21 +00:00
Glenn Morris
5a9dffec38
Switch license to GPLv3 or later.
2007-07-25 04:24:43 +00:00
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