Commit graph

136 commits

Author SHA1 Message Date
Karl Heuer
efa1135ead (ispell-kill-ispell): Don't send newline after EOF. 1998-12-10 02:19:14 +00:00
Richard M. Stallman
b9431ae037 Improved and fixed customize for variables:
ispell-highlight-p, ispell-check-comments, ispell-help-in-bufferp,
ispell-dictionary-alist, ispell-skip-sgml.
Improved and fixed comments in variables and messages for
functions: ispell-help-in-bufferp, ispell-local-dictionary,
ispell-menu-map, ispell-checking-message, ispell-parser,
ispell-word, lookup-words, ispell-change-dictionary, ispell-region,
ispell-begin-tex-skip-regexp, ispell-begin-skip-region,
ispell-comments-and-strings, ispell-continue, ispell-complete-word,
ispell-message-text-end, ispell-add-per-file-word-list.
(ispell-dictionary-alist-1): (ispell-dictionary-alist2): A coding
system is now required for all languages.  Casechars improved for
castellano, castellano8, and norsk dictionaries.  Dictionary
norsk7-tex removed.  Dictionary polish added.
(ispell-dictionary-alist): Redefined at load-time to support
dictionary changes.
(ispell-menu-map): Redefined at load-time to support menu changes.
(ispell-check-version): New alias for `check-ispell-version'.
(ispell-parse-output): Fixed matching for ispell error messages.
Correctly returns spelling suggestions in order generated by ispell process.
(check-ispell-version): Ensure `case-fold-search' doesn't get redefined.
(ispell-complete-word): Ensure `case-fold-search' doesn't get
redefined.  Fix bug that didn't respect case of word being completed.
(ispell-init-process): Set process coding system to be compatible
with emacs processes and the ispell process.
(ispell-kill-ispell): Ensures ispell process has terminated before
starting new process.  This can otherwise confuse process filters
and hang the ispell process.
(ispell-begin-skip-region-regexp): (ispell-skip-region): Improved
skipping support for sgml.
(ispell-minor-check): Support sgml labels.  Fix mapping ^M to \r
which could cause `ispell-complete-word' to hang.
(ispell-message): Improved message reference matching.  Ensure
`case-fold-search' doesn't get redefined.
(ispell-buffer-local-parsing): Ensure `case-fold-search' doesn't
get redefined.  Fixed bug in returning to nroff mode from tex mode.
(ispell-add-per-file-word-list): Ensure `case-fold-search' doesn't
get redefined.
1998-12-01 07:23:27 +00:00
Karl Heuer
945fcb39c1 (ispell-dictionary-alist-2): Removed svenska,
renamed svenska8 to svenska, and fixed and extended CASECHARS
for it.
1998-11-11 18:35:26 +00:00
Karl Heuer
8062d993f4 (ispell-get-coding-system): Default to iso-latin-1.
(ispell-process-line): Don't treat multibyte
1998-11-10 07:06:12 +00:00
Karl Heuer
fefaefefc1 (check-ispell-version): No need to bind
default-major-mode.
1998-10-01 19:23:42 +00:00
Karl Heuer
73cc7f2aa0 (check-ispell-version): Ensure same buffer is current
when let-binding of case-fold-search ends.
1998-09-23 22:22:45 +00:00
Andreas Schwab
a47de72938 (ispell-highlight-p, ispell-check-comments,
ispell-help-in-bufferp, ispell-skip-sgml): Use `other' widget
type.
1998-06-24 09:14:31 +00:00
Karl Heuer
94487c4e37 Doc fixes. 1998-06-20 22:06:30 +00:00
Karl Heuer
7a914d3e79 (ispell-skip-region): Don't complain when
ispell-check-comments is 'exclusive and there are no more
comments.  Just skip to the end instead.
1998-06-20 21:37:14 +00:00
Richard M. Stallman
5755be321d (ispell-region): Return non-nil if not aborted.
(ispell-highlight-spelling-error-generic): Fix doc typo.
1998-06-13 04:06:46 +00:00
Richard M. Stallman
313aaa0cc9 (ispell-dictionary-alist-1): Doc fix.
(ispell-dictionary-alist-2): Doc fix.
1998-05-12 23:27:21 +00:00
Richard M. Stallman
a9e5664e49 (ispell-word): Make M-$ binding using esc-map. 1998-05-07 23:21:15 +00:00
Richard M. Stallman
f5136913a1 Generalized region skipping added.
Checks comments only in code.
Added backward compatible support for customize.
(ispell-query-replace-choices, ispell-message-dictionary-alist)
(ispell-grep-command, ispell-grep-options, ispell-look-command)
(ispell-look-options, ispell-use-ptys-p, ispell-local-dictionary)
(ispell-dictionary-alist): Now customizable.
Fixed type of custom variables: ispell-help-in-bufferp.
(ispell-use-framepop-p): New variable.
(ispell-dictionary-alist): Added dictionaries: castellano, castellano8
czech, esperanto, esperanto-tex, norsk, russian.
Capitalize XEmacs correctly, and change lucid to xemacs in code:
(ispell-menu-lucid): Renamed to ispell-menu-xemacs.
Changed string compares for version number to be correct for XEmacs.
Fixed to work with string properties.
(ispell-recursive-edit-marker): new marker saving return point.
(ispell-skip-region-alist): New variable defining regions.
(ispell-tex-skip-alists): New variable for LaTeX regions.
(ispell-skip-sgml): Now buffer-mode aware.
(ispell-highlight-p): Support block cursors.
(ispell-message-text-end): Don't check signatures.
(ispell-comments-and-strings): New command, added to menu.
(ispell-int-char): New function for character incrementing.
(ispell-word): Produces message on error when called from
ispell-minor-mode.  Potential infinite loop removed.
(ispell-command-loop): prevent XEmacs modeline hiding.
Allow temporary split of dedicated windows.  Improve recursive
edit support.  Support block cursors.
(ispell-show-choices): New function cleaning up command loop.
(ispell-highlight-spelling-error-generic): Block cursor support added.
(ispell-highlight-spelling-error-xemacs): Block cursor, name change.
(ispell-overlay-window): dedicated window splitting, XEmacs changes.
(ispell-parse-output): Displays ispell process error messages.
(check-ispell-version): Interactive mode that shows ispell versions.
(ispell-begin-skip-region-regexp): New region skipping function.
(ispell-begin-tex-skip-regexp): New tex mode region skipping function.
(ispell-begin-skip-region): New region skipping function.
(ispell-tex-arg-end): New tex mode region skipping function.
(ispell-skip-region): New region skipping function.
(ispell-get-line): New function to clean up command loop.
(ispell-process-line): New function cleaning up command loop.
(ispell-continue): Improve recursive editor support.
(ispell-complete-word): Interior fragment support improved.
(ispell-message): Region skipping vastly improved.
1998-04-30 06:43:48 +00:00
Richard M. Stallman
909f0455e0 (ispell-get-word): No error if can't find a word to check.
(ispell-word): Don't fuss about a word if not adjacent to it.
(ispell-minor-check): Use save-excursion.
1998-04-17 03:37:10 +00:00
Richard M. Stallman
0de86efccd (ispell-word): In ispell-check-only mode,
display a message for misspelled word.
1998-04-17 03:21:24 +00:00
Gerd Moellmann
bc7d6816ee New function ispell-comments-and-strings. 1997-12-03 17:20:13 +00:00
Karl Heuer
10d31baea6 (ispell-change-dictionary): Fix error message.
(ispell-buffer-local-parsing): Fix message.
(ispell-get-word): Use buffer-substring-no-properties.
(ispell-buffer-local-dict): Likewise.
1997-10-19 19:54:35 +00:00
Richard M. Stallman
6c80b133aa (ispell-personal-dictionary): Fix customize type. 1997-09-09 02:56:16 +00:00
Richard M. Stallman
8896f22d60 (ispell-command-loop):
Restore dedicated flg of selected window.
(ispell-overlay-window): Move dedicated flag of old window
into the bottom of the two windows made from it.
1997-09-07 03:40:29 +00:00
Richard M. Stallman
14fc129a86 (ispell-overlay-window): Undo previous change;
in other words, don't bind inhibit-frame-unsplittable.
1997-09-03 07:44:21 +00:00
Richard M. Stallman
1907b8e60e Comment change. 1997-09-02 00:16:45 +00:00
Kenichi Handa
ef128a918e (ispell-region): Take acount of the fact that `ispell'
will return OFFSET by counting non-ASCII characters as one.
(ispell-dictionary-alist-1): Add coding systems to each entry.
(ispell-dictionary-alist-2): Likewise.
(ispell-get-coding-system): New function.
(ispell-decode-string): New function.
(ispell-get-casechars): Decode the string if necessary.
(ispell-get-not-casechars, ispell-get-otherchars): Likewise.
1997-09-01 07:17:07 +00:00
Richard M. Stallman
fbbd6e46c0 (ispell-dictionary-alist): Doc fix. 1997-08-06 04:29:14 +00:00
Simon Marshall
eddd51c280 frame-override-unsplittable/inhibit-frame-unsplittable name change. 1997-05-26 08:17:39 +00:00
Richard M. Stallman
a7b0df0db4 (ispell-dictionary-alist-2): Specify syntax of ' in Danish. 1997-05-02 07:26:39 +00:00
Richard M. Stallman
38c1d5e379 (ispell-overlay-window): Bind frame-override-unsplittable. 1997-04-22 23:25:24 +00:00
Richard M. Stallman
f2b7eb2618 Use defcustom for user variables. 1997-04-11 01:37:50 +00:00
Karl Heuer
ab9d539cc9 (ispell-command-loop): Disable message logging.
(ispell-region): Ditto.
1997-03-11 22:27:36 +00:00
Richard M. Stallman
441c2ae483 (ispell-message-text-end): Handle `- ' before
the "cut here" or "start of..." line.  Handle `Forward message'
without `Start of'.
1996-12-27 02:06:41 +00:00
Richard M. Stallman
7a8f27dbe6 Comment change. 1996-10-12 02:42:58 +00:00
Richard M. Stallman
7c5a1541f3 (ispell-dictionary-alist-1): Add `american' to list. 1996-09-16 19:00:18 +00:00
Richard M. Stallman
6ec7837b2b (ispell-message): Support message-mode. 1996-06-28 08:55:00 +00:00
Richard M. Stallman
651939b595 (ispell-region): Handle ispell-skip-sgml properly with an re-search. 1996-05-31 20:12:44 +00:00
Richard M. Stallman
a0844449c5 (ispell-check-comments): Default is now t. 1996-05-09 17:36:03 +00:00
Richard M. Stallman
f27bd275a9 (ispell-help): Use set-minibuffer-window. 1996-01-27 03:07:04 +00:00
Richard M. Stallman
10ba47834e (ispell-command-loop, ispell-region): Pass proper format string to message. 1996-01-27 02:36:05 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Karl Heuer
a7acbbe4d4 Comment fixes. 1996-01-05 22:21:28 +00:00
Richard M. Stallman
be01074898 Comment change. 1995-10-30 17:35:01 +00:00
Richard M. Stallman
f1f9f8d5aa (ispell-message-text-end): Match reporter.el bug reports. 1995-09-29 00:48:05 +00:00
Richard M. Stallman
d38e5dbe43 Reinstalled autoloads from ispell-dictionary-alist,
ispell-menu-map, ispell-menu-lucid, and ispell-menu-map-needed.
1995-06-16 16:25:07 +00:00
Richard M. Stallman
8ce8687ea5 Removed autoload from ispell-dictionary-alist,
ispell-menu-map, ispell-menu-lucid, and ispell-menu-map-needed
so users can more easily modify and upgrade entries.
(ispell-dictionary-alist): Once more a single variable.
(ispell-required-version): Documentation changes
(ispell-skip-sgml): Documentation changes
(ispell-command-loop): mode-line-format now shows misspelled word.
(ispell-message-text-end): Can now process postscript version 1.
(ispell-message-start-skip): New variable for block skips, set up for
pgp and forward blocks.
(ispell-message-end-skip): New variable for block skips, set up for
pgp and forward blocks.
(ispell-message): Added	block message skipping.
(ispell-buffer-local-parsing): Added html-mode.
1995-06-16 05:13:01 +00:00
Karl Heuer
5e228a3925 (ispell-message-text-end): Match start of forwarded msg. 1995-05-27 00:22:53 +00:00
Richard M. Stallman
a594e0e121 (ispell-region): If position not visible, (sit-for 0). 1995-05-06 02:18:20 +00:00
Karl Heuer
2bcf8edbec (ispell-minor-mode): Use force-mode-line-update. 1995-04-25 22:21:29 +00:00
Richard M. Stallman
01ea0e3b37 (ispell-init-ispell): Don't barf if there is a
warning message	before the version line when Ispell starts up.
1995-04-17 07:11:51 +00:00
Richard M. Stallman
e7a52e415f (ispell-message): Make mail-header-separator into regexp. 1995-04-08 20:05:41 +00:00
Karl Heuer
f8c25f1b67 Update copyright. 1995-04-07 02:21:52 +00:00
Richard M. Stallman
64fd98a95e (ispell-menu-map-needed): Delete test for menu-bar feature. 1995-04-06 08:42:37 +00:00
Karl Heuer
d6b322f8be (ispell-personal-dictionary): Add autoload. 1995-04-05 04:21:15 +00:00