Commit graph

184 commits

Author SHA1 Message Date
Richard M. Stallman
d27a3d1684 (ispell-command-loop): Change `i' description not to assume it
pertains to an affix.
2005-11-03 21:34:12 +00:00
Richard M. Stallman
fb031ddd98 (ispell-dictionary-alist-5): Add . as boundarychar for Polish.
(ispell-dictionary-alist-4): Add . as boundarychar for Italian.
(ispell-dictionary-alist-3): Add . and @ as boundarychars for French.
2005-10-30 15:49:51 +00:00
Richard M. Stallman
a8097641a5 (ispell-local-dictionary-overridden): Fix the
make-variable-buffer-local call that was supposed to be for this variable.
(ispell-aspell-supports-utf8): Doc fix.
(ispell-find-aspell-dictionaries): Preserve elements of
ispell-dictionary-alist for dictionaries that aspell doesn't report.
(ispell-aspell-find-dictionary): Return nil on error.
2005-10-23 18:22:06 +00:00
Romain Francoise
865729da26 (ispell-check-version): Fix last change. 2005-10-09 12:54:23 +00:00
Richard M. Stallman
344066e625 (ispell-check-version):
Ignore hyphen, and all that follows, in aspell's version text.
2005-10-08 19:55:02 +00:00
Richard M. Stallman
966a7f495b (ispell-word, ispell-region): Call ispell-maybe-find-aspell-dictionaries.
(ispell-accept-buffer-local-defs):
Don't call ispell-maybe-find-aspell-dictionaries
2005-10-04 20:28:27 +00:00
Stefan Monnier
326ebf78cd (ispell-find-aspell-dictionaries): Remove interactive spec. 2005-10-03 18:11:35 +00:00
Eli Zaretskii
999f7d6519 (ispell-maybe-find-aspell-dictionaries): New function, code extracted from
ispell-valid-dictionary-list.
(ispell-valid-dictionary-list, ispell-accept-buffer-local-defs): Call it.
2005-09-24 10:46:03 +00:00
Deepak Goel
5673af85e4 Message format spec fixes (2) 2005-09-18 12:28:30 +00:00
Eli Zaretskii
4ca8965ca1 (ispell-aspell-supports-utf8): New variable.
(ispell-check-version): Set ispell-aspell-supports-utf8 to t for
aspell versions >= 0.60.
(ispell-valid-dictionary-list): Call ispell-find-aspell-dictionaries
only if ispell-aspell-supports-utf8 is non-nil.
2005-09-17 11:35:13 +00:00
Eli Zaretskii
c10b0abc38 (ispell-check-version): Signal an error if aspell version is less than 0.60. 2005-09-10 15:09:06 +00:00
Juanma Barranquero
66793230b0 (mail-yank-prefix): Add defvar. 2005-08-31 10:26:26 +00:00
Richard M. Stallman
7924c5dfbd (lookup-words): Cope with case where ARGS is empty. 2005-08-15 01:37:41 +00:00
Richard M. Stallman
e7cdb3e043 (ispell-word): More fboundp checks.
(ispell-find-aspell-dictionaries): New command.
(ispell-have-aspell-dictionaries): New variable.
(ispell-aspell-data-dir, ispell-aspell-dict-dir): New variables.
(ispell-get-aspell-config-value): New function.
(ispell-aspell-find-dictionary): New function.
(ispell-aspell-add-aliases): New function.
(ispell-valid-dictionary-list): Call ispell-find-aspell-dictionaries if
appropriate.  Don't look for ispell dictionaries if we use aspell.
(ispell-menu-map): Don't build a submenu of dictionaries.
2005-08-09 14:12:44 +00:00
Thien-Thi Nguyen
3731a85096 Update years in copyright notice; nfc. 2005-08-06 17:48:15 +00:00
Juri Linkov
4a65d2b34e (ispell-command-loop): Add current dictionary name and program name
to mode-line-format.
(ispell-region, ispell-process-line): Add current dictionary name
and program name to messages.
2005-07-09 20:49:10 +00:00
Lute Kamstra
4fc5845fe8 Update FSF's address. 2005-07-04 16:49:24 +00:00
Luc Teirlinck
edfa1c2e30 (ispell-word): Remove stray parenthesis. 2005-06-28 22:02:13 +00:00
Richard M. Stallman
f0a1f8bdb5 (ispell-word): Do not ignore short words. 2005-06-28 18:58:30 +00:00
Lute Kamstra
420adcc607 (ispell-menu-map-needed): flyspell-mode could be void. 2005-06-09 12:14:26 +00:00
Richard M. Stallman
8177179364 (ispell-check-version): Use match-string-no-properties.
(ispell-region,	ispell-buffer-local-parsing, ispell-buffer-local-dict)
(ispell-buffer-local-words): Likewise.
2005-06-08 15:45:34 +00:00
Juanma Barranquero
027a4b6b3f Replace string-to-int' by string-to-number'. 2005-05-16 11:34:49 +00:00
Eli Zaretskii
55b958f07b (ispell-program-name): Try looking for "aspell" along exec-path,
and if found, use it as the default speller program.
2005-05-07 16:06:07 +00:00
Eli Zaretskii
04dd07e31c (ispell-dictionary-alist-6): Add slovenian. 2005-03-26 16:34:34 +00:00
Juri Linkov
1332f1a08b (ispell-lazy-highlight): New defcustom.
(ispell-highlight-face): Set default face to `isearch' when
lazy highlighting is enabled.
(ispell-highlight-spelling-error-overlay): Set `ispell-overlay'
priority to 1.  Add lazy highlighting.
(ispell-highlight-spelling-error-xemacs): Remove obsolete arg
from `isearch-dehighlight'.
2005-03-18 10:01:12 +00:00
Kenichi Handa
ca8d88cd7d (ispell-insert-word): New function.
(ispell-word): Use ispell-insert-word to isnert a new word.
(ispell-process-line): Likewise
(ispell-complete-word): Likewise.
2005-03-09 00:36:22 +00:00
Richard M. Stallman
8e07e84ae6 (ispell-change-dictionary): Doc fix. 2005-02-27 10:37:13 +00:00
Kenichi Handa
bb1954bdd6 (ispell-dictionary-alist): Fix docstring. 2005-02-21 02:15:31 +00:00
Stefan Monnier
ca97010c3a (ispell-internal-change-dictionary): Fix problem in recent changes, where
the ispell process was repeatedly killed & restarted.
2005-02-03 16:20:22 +00:00
Richard M. Stallman
a6e7a34bef (ispell-local-dictionary-overridden): New var.
(ispell-local-dictionary): Doc fix.
(ispell-dictionary-alist): Don't include ispell-local-dictionary-alist.
Don't reinitialize at run time.  Don't defcustom.
All uses changed to append ispell-local-dictionary-alist,
or else check it first.
(ispell-current-dictionary): New variable for dictionary in use.
(ispell-dictionary): Now used only for global default.
(ispell-start-process): Set ispell-current-dictionary,
not ispell-dictionary.
(ispell-change-dictionary): Use this only for setting
user preferences.
(ispell-internal-change-dictionary): New function
to change the current dictionary in use.
(ispell-region, ispell-process-line, ispell-buffer-local-dict):
Use ispell-current-dictionary.
Handle ispell-local-dictionary-overridden.
(ispell-buffer-local-dict): Call ispell-internal-change-dictionary.
2005-01-31 11:54:36 +00:00
Lute Kamstra
2fc3738c63 (ispell-dictionary-alist-4): Rewrite the CASECHARS and NOT-CASECHARS
regular expressions of the "nederlands" and "nederlands8" dictionaries
to prevent a "Range striding over charsets" error.
2005-01-25 00:38:46 +00:00
Kenichi Handa
664ca704c3 (ispell-looking-at): New function.
(ispell-process-line): Use ispell-looking-at to compare the ispell
output and the buffer contents.
2005-01-18 23:20:18 +00:00
Kenichi Handa
8253213c10 (ispell-unified-chars-table): New variable.
(ispell-get-decoded-string): New function.
(ispell-get-casechars, ispell-get-not-casechars)
(ispell-get-otherchars): Call ispell-get-decoded-string.
2005-01-13 04:33:05 +00:00
Richard M. Stallman
56351784c9 (ispell-help): Bind resize-mini-windows. 2004-12-22 00:23:53 +00:00
Richard M. Stallman
0a6d03627f (ispell-check-version): If default-directory is nonexistent, use home dir. 2004-11-25 03:06:16 +00:00
Richard M. Stallman
a259d74c68 (ispell-word): Don't alter args; set them only thru `interactive' spec. 2004-11-04 10:22:24 +00:00
Richard M. Stallman
6063ae55f0 (ispell-command-loop): Use with-no-warnings.
(ispell-message): Likewise.
(ispell-show-choices): Don't call get-buffer-window uselessly.
(ispell-init-process): Use set-process-query-on-exit-flag.
2004-10-16 15:07:09 +00:00
Eli Zaretskii
8f0d9e76ef (ispell-really-aspell): New defvar.
(ispell-check-version): Set it.
(ispell-send-replacement): New function.
(ispell-process-line): Call ispell-send-replacement.
2004-09-04 13:46:13 +00:00
Juri Linkov
74a18969ef (ispell-html-skip-alists): Fix backslashes in docstring. 2004-09-02 09:42:13 +00:00
Eli Zaretskii
7033bbf1e6 Fix last change in ispell.el. 2004-05-16 15:37:33 +00:00
Eli Zaretskii
4d5b0f1322 (ispell-local-dictionary-alist): Add
windows-1252 to the choice of coding systems.
(ispell-dictionary-alist-6): Add support for "russianw.aff",
encoded in cp1251.
2004-05-15 12:31:58 +00:00
Sam Steingold
3eab7193fb (ispell-message): Use `message-cite-prefix-regexp'
instead of `message-yank-prefix'.
2004-05-10 21:03:18 +00:00
Juri Linkov
b3955f8df5 (ispell-help): Doc fix. 2004-03-22 07:48:39 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Andreas Schwab
a1ff29b98a Don't redo key bindings on loading, put them only in loaddefs.el. 2003-08-02 22:06:12 +00:00
Stefan Monnier
4d170362e6 Summary: MIME support added for e-mail processing that
skips encoded regions.  Allow user to skip saving Fcc messages with
large attachments.  Fixed region skipping bug with multi-line
comments - e.g.  tex $ regions spanning multiple lines.
Added support for postscript and uuencoded regions.
Redundant dictionary file names purged.
Dictionary definition field name changed from "Character Set"
to "Coding System".  Fixed bug in reloading dictionaries.
Modified headers to reflect new version.  XEmacs menu now adds
customize item.
(ispell-check-version): No longer an aliased function.
Returns library path if not called interactively.
Variable `temporary-file-directory' protected if not loaded.
(check-ispell-version): Now the alias for `ispell-check-version'.
(ispell-message-fcc-skip): New variable that determines if and when
to query about saving Fcc copy of message if an attachment is large.
(ispell-skip-html): Declared buffer-local.
(ispell-local-dictionary-alist): Docstring expanded.
Tag name changed from "Character Set" to "Coding System".
(ispell-dictionary-alist-1): Removed redundant command-line option to
load brasileiro, british, and castellano dictionary files.
(ispell-dictionary-alist-2): Removed redundant command-line option to
load czech dictionary file.
(ispell-dictionary-alist-3): Moved francais-tex here.
(ispell-dictionary-alist-4): Removed german and german8 dictionaries.
The deutsch ones are the correct definitions.  `nederlands'
and `nederlands8' dictionaries moved here.
(ispell-dictionary-alist-5): `polish' and `portugues' dictionaries
moved here.  Removed redundant command-line option to `norsk'
and `portugues'.
(ispell-dictionary-alist-6): Removed redundant command-line option to
load `russian' and `slovak' dictionary files.
(ispell-dictionary-alist): Tag name changed from "Character Set" to
"Coding System".
(ispell-version): Updated to 3.6.
(ispell-library-directory): Calls non-deprecated function.
(ispell-valid-dictionary-list): New function returning all valid
dictionaries on machine.
(ispell-checking-message): Documentation string improved.
(ispell-skip-region-alist): Added uuencoded and postscript region
skipping.  Improved http/e-mail/file regexp to not match `/.\w'.
(ispell-html-skip-alists): New variable for html region support.
(ispell-send-string): Removed redundant xemacs check.
(ispell-word): Fix spelling error in documentation string, added
extent information to support highlighting in ispell-minor-mode.
(ispell-command-loop): Disable horizontal scrollbar in XEmacs
choices buffer.
(ispell-show-choices): Directly select `choices-window'.
(ispell-help): Use default buffer size for electric help.
(ispell-adjusted-window-height): Correct for xemacs detection.
(ispell-start-process): Don't double specify dictionary file name.
(ispell-init-process): Set `ispell-library-path' each call.
(ispell-change-dictionary): Now only completes valid dictionaries.
(ispell-region): Add support for MIME region skipping and Fcc
message query for large attachments.
(ispell-begin-skip-region-regexp): Add documentation string.
Added message support and cleaned up code for generic and html regions.
(ispell-begin-skip-region): Function is now requires alist argument.
(ispell-begin-tex-skip-regexp): Added comments and support
improved html and message regions.
(ispell-skip-region-list): New function for MIME and region skipping.
(ispell-tex-arg-end): Add documentation string.
(ispell-ignore-fcc): New function to query saving Fcc message.
(ispell-skip-region): Calculate alist for key match dynamically,
html skipping pushed to alists.
(ispell-get-line): Add support for multi-line comment regions.
(ispell): Check that variables to continue spelling are bound.
(ispell-message-text-end): Postscript and uuencoded regions now
supported as MIME regions, rather than as end-of-message region.
(ispell-mime-multipartp): New function supporting MIME.
(ispell-mime-skip-part): New function supporting MIME.
(ispell-message): Add MIME support.
(ispell-buffer-local-parsing): Variable `ispell-skip-html' now local.
(ispell-buffer-local-dict): Fixed bug for detecting and reloading
new dictionary.
2003-05-22 21:34:00 +00:00
Stefan Monnier
877d353af8 (xemacsp): Remove. Replace with (featurep 'xemacs).
(ispell-graphic-p): Inline and then remove.
(toplevel): Get rid of unnecessary loop.
(ispell-parse-output, ispell-complete-word): Replace (substring s 0 1)
with a call to aref.
(ispell-get-line): Remove unused arg `reg-end'.
(ispell-region): Update corresponding call.
2003-05-14 01:54:28 +00:00
Juanma Barranquero
db95369be0 Trailing whitespace deleted. 2003-02-04 13:30:45 +00:00
Dave Love
78f886f224 (lookup-words): Fix last change. 2003-01-30 22:59:07 +00:00
Dave Love
3849454a12 (lookup-words): Cope with null lookup-dict. 2003-01-06 20:46:57 +00:00