commit/ispell: kehoea: Sync with recent GNU Emacs ispell.el. Some small XEmacs-specific improvements.

[email protected] Mon, 14 Jul 2014 17:48:53 -0000
Newsgroups gmane.emacs.xemacs.patches
Message-ID <[email protected]>
1 new commit in ispell:

https://bitbucket.org/xemacs/ispell/commits/f385ac760d94/
Changeset:   f385ac760d94
User:        kehoea
Date:        2014-07-14 19:45:47
Summary:     Sync with recent GNU Emacs ispell.el. Some small XEmacs-specific improvements.

lisp/ChangeLog addition:

2014-07-14  Aidan Kehoe  <[email protected]>

	* ispell.el:
	* ispell.el (fboundp):
	* ispell.el (mail-yank-prefix):
	* ispell.el (check-ispell-version):
	* ispell.el (mail-yank-prefix)): New.
	* ispell.el (ispell): New.
	* ispell.el (ispell-highlight-p):
	* ispell.el (xemacsp): Removed.
	* ispell.el (version18p): Removed.
	* ispell.el (ispell-lazy-highlight): New.
	* ispell.el (version20p): Removed.
	* ispell.el ('check-ispell-version): New.
	* ispell.el (ispell-check-comments):
	* ispell.el (ispell-query-replace-choices):
	* ispell.el (ispell-skip-tib):
	* ispell.el (ispell-keep-choices-win):
	* ispell.el (ispell-choices-win-default-height):
	* ispell.el (ispell-binary-suffixes): New.
	* ispell.el (ispell-alternate-dictionary):
	* ispell.el (ispell-complete-word-dict):
	* ispell.el (ispell-message-dictionary-alist):
	* ispell.el (ispell-message-fcc-skip):
	* ispell.el (ispell-grep-command):
	* ispell.el (ispell-grep-options):
	* ispell.el (ispell-look-p):
	* ispell.el (ispell-have-new-look):
	* ispell.el (ispell-following-word):
	* ispell.el (ispell-help-in-bufferp):
	* ispell.el (ispell-quietly):
	* ispell.el (ispell-format-word): Removed.
	* ispell.el (ispell-format-word-function): New.
	* ispell.el ('ispell-format-word): New.
	* ispell.el (ispell-personal-dictionary):
	* ispell.el (ispell-silently-savep):
	* ispell.el (ispell-local-dictionary-overridden): New.
	* ispell.el (ispell-local-dictionary):
	* ispell.el (ispell-extra-args):
	* ispell.el (ispell-dictionary): New.
	* ispell.el (ispell-skip-html):
	* ispell.el (ispell-local-dictionary-alist):
	* ispell.el (ispell-dictionary-alist):
	* ispell.el (ispell-dictionary-base-alist): New.
	* ispell.el (ispell-really-aspell): New.
	* ispell.el (ispell-really-hunspell): New.
	* ispell.el (ispell-encoding8-command): New.
	* ispell.el (ispell-aspell-supports-utf8): New.
	* ispell.el (ispell-hunspell-dictionary-equivs-alist): New.
	* ispell.el (ispell-version):
	* ispell.el (ispell-check-version): New.
	* ispell.el (ispell-emacs-alpha-regexp): New.
	* ispell.el (ispell-call-process): New.
	* ispell.el (ispell-call-process-region): New.
	* ispell.el (ispell-create-debug-buffer): New.
	* ispell.el (ispell-menu-map-needed):
	* ispell.el (ispell-print-if-debug): New.
	* ispell.el (ispell-library-path): Removed.
	* ispell.el (ispell-async-processp):
	* ispell.el (ispell-library-directory): New.
	* ispell.el (ispell-aspell-dictionary-alist): New.
	* ispell.el (ispell-find-aspell-dictionaries): New.
	* ispell.el (ispell-aspell-data-dir): New.
	* ispell.el (ispell-aspell-dict-dir): New.
	* ispell.el (ispell-get-aspell-config-value): New.
	* ispell.el (ispell-aspell-find-dictionary): New.
	* ispell.el (ispell-aspell-add-aliases): New.
	* ispell.el (ispell-hunspell-dict-paths-alist): New.
	* ispell.el (ispell-hunspell-dictionary-alist): New.
	* ispell.el (ispell-hunspell-fill-dictionary-entry): New.
	* ispell.el (ispell-parse-hunspell-affix-file): New.
	* ispell.el (ispell-find-hunspell-dictionaries): New.
	* ispell.el (ispell-last-program-name): New.
	* ispell.el (ispell-initialize-spellchecker-hook): New.
	* ispell.el (ispell-set-spellchecker-params): New.
	* ispell.el (ispell-valid-dictionary-list): New.
	* ispell.el (valid-dictionary-list): Removed.
	* ispell.el (and):
	* ispell.el (ispell-int-char):
	* ispell.el ('ispell-int-char): New.
	* ispell.el ('ispell-find-coding-system): New.
	* ispell.el ('ispell-list*): New.
	* ispell.el (ispell-current-dictionary): New.
	* ispell.el (ispell-decode-string): Removed.
	* ispell.el (hide-ispell-dictionary-corrected):
	* ispell.el (ispell-get-casechars): Removed.
	* ispell.el (ispell-get-not-casechars): Removed.
	* ispell.el (ispell-get-otherchars): Removed.
	* ispell.el (ispell-get-many-otherchars-p): Removed.
	* ispell.el (ispell-get-ispell-args): Removed.
	* ispell.el (ispell-get-extended-character-mode): Removed.
	* ispell.el (ispell-get-coding-system): Removed.
	* ispell.el (ispell-current-personal-dictionary): New.
	* ispell.el (ispell-checking-message):
	* ispell.el (ispell-words-keyword):
	* ispell.el (ispell-dictionary-keyword):
	* ispell.el (ispell-skip-region-alist):
	* ispell.el (ispell-tex-skip-alists):
	* ispell.el (ispell-tex-skip-alist):
	* ispell.el (ispell-html-skip-alists):
	* ispell.el (ispell-buffer-session-localwords): New.
	* ispell.el (ispell-parser):
	* ispell.el (ispell-mode-line-window-height-fudge): Removed.
	* ispell.el (esc-map): Removed.
	* ispell.el (ispell-accept-output):
	* ispell.el (ispell-send-replacement): New.
	* ispell.el (ispell-send-string):
	* ispell.el (ispell-word):
	* ispell.el (return values): Removed.
	* ispell.el (Return values): New.
	* ispell.el (ispell-get-word):
	* ispell.el (ispell-pdict-save):
	* ispell.el (message-log-max):
	* ispell.el (ispell-command-loop):
	* ispell.el (message-log-max)): New.
	* ispell.el (ispell-show-choices):
	* ispell.el (ispell-help):
	* ispell.el (lookup-words): Removed.
	* ispell.el ('lookup-words): New.
	* ispell.el (ispell-lookup-words): New.
	* ispell.el (ispell-highlight-spelling-error-generic):
	* ispell.el (ispell-highlight-spelling-error-xemacs):
	* ispell.el (ispell-highlight-spelling-error-overlay):
	* ispell.el (ispell-highlight-spelling-error):
	* ispell.el (ispell-adjusted-window-height): New.
	* ispell.el (ispell-overlay-window):
	* ispell.el (ispell-parse-output):
	* ispell.el (ispell-start-process):
	* ispell.el (ispell-init-process):
	* ispell.el (ispell-kill-ispell):
	* ispell.el (ispell-change-dictionary):
	* ispell.el (ispell-internal-change-dictionary): New.
	* ispell.el (ispell-start)): New.
	* ispell.el (ispell-end)): New.
	* ispell.el (ispell-region): New.
	* ispell.el (ispell-begin-skip-region-regexp):
	* ispell.el (ispell-begin-skip-region):
	* ispell.el (ispell-skip-region-list):
	* ispell.el (ispell-tex-arg-end):
	* ispell.el (ispell-ignore-fcc):
	* ispell.el (ispell-skip-region):
	* ispell.el (ispell-get-line):
	* ispell.el (ispell-looking-at): New.
	* ispell.el (ispell-process-line):
	* ispell.el (ispell-horiz-scroll):
	* ispell.el (ispell-complete-word):
	* ispell.el (ispell-minor-keymap):
	* ispell.el (ispell-minor-mode): Removed.
	* ispell.el (ispell-minor-check):
	* ispell.el (ispell-message-text-end):
	* ispell.el (ispell-mime-skip-part):
	* ispell.el (ispell-message):
	* ispell.el (ispell-buffer-local-parsing):
	* ispell.el (ispell-buffer-local-dict):
	* ispell.el (ispell-buffer-local-words):
	* ispell.el (ispell-add-per-file-word-list):
	Sync with recent GNU Emacs.

	Also some XEmacs-specific changes; provide various compiler macros
	that aren't necessarily executed on one emacs or the other,
	determining it at compile time rather than run- or
	load-time. Avoid decoding the entries in ispell-dictionary-alist
	*every time the dictionary member* was referenced, do it once per
	dictionary. Achieve this using macrolet and uninterned symbols,
	compatible with 21.4.

	I see bugs but no Lisp-level problems with aspell and hunspell on
	my OS X machine; that is, the bugs I see are also present when I
	spell-check outside of ispell. This version of the file works fine
	with Persian, which the previous version didn't. Also works fine
	with the European languages I speak, but they all fit in Latin-1
	and so are less of a challenge.
Affected #:  2 files

diff -r b2c5555f206fdc26b871a6ff32a88a8f632e9fd2 -r f385ac760d943adb5686321c39b8e22ce1e477b6 ChangeLog
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,176 @@
+2014-07-14  Aidan Kehoe  <[email protected]>
+
+	* ispell.el:
+	* ispell.el (fboundp):
+	* ispell.el (mail-yank-prefix):
+	* ispell.el (check-ispell-version):
+	* ispell.el (mail-yank-prefix)): New.
+	* ispell.el (ispell): New.
+	* ispell.el (ispell-highlight-p):
+	* ispell.el (xemacsp): Removed.
+	* ispell.el (version18p): Removed.
+	* ispell.el (ispell-lazy-highlight): New.
+	* ispell.el (version20p): Removed.
+	* ispell.el ('check-ispell-version): New.
+	* ispell.el (ispell-check-comments):
+	* ispell.el (ispell-query-replace-choices):
+	* ispell.el (ispell-skip-tib):
+	* ispell.el (ispell-keep-choices-win):
+	* ispell.el (ispell-choices-win-default-height):
+	* ispell.el (ispell-binary-suffixes): New.
+	* ispell.el (ispell-alternate-dictionary):
+	* ispell.el (ispell-complete-word-dict):
+	* ispell.el (ispell-message-dictionary-alist):
+	* ispell.el (ispell-message-fcc-skip):
+	* ispell.el (ispell-grep-command):
+	* ispell.el (ispell-grep-options):
+	* ispell.el (ispell-look-p):
+	* ispell.el (ispell-have-new-look):
+	* ispell.el (ispell-following-word):
+	* ispell.el (ispell-help-in-bufferp):
+	* ispell.el (ispell-quietly):
+	* ispell.el (ispell-format-word): Removed.
+	* ispell.el (ispell-format-word-function): New.
+	* ispell.el ('ispell-format-word): New.
+	* ispell.el (ispell-personal-dictionary):
+	* ispell.el (ispell-silently-savep):
+	* ispell.el (ispell-local-dictionary-overridden): New.
+	* ispell.el (ispell-local-dictionary):
+	* ispell.el (ispell-extra-args):
+	* ispell.el (ispell-dictionary): New.
+	* ispell.el (ispell-skip-html):
+	* ispell.el (ispell-local-dictionary-alist):
+	* ispell.el (ispell-dictionary-alist):
+	* ispell.el (ispell-dictionary-base-alist): New.
+	* ispell.el (ispell-really-aspell): New.
+	* ispell.el (ispell-really-hunspell): New.
+	* ispell.el (ispell-encoding8-command): New.
+	* ispell.el (ispell-aspell-supports-utf8): New.
+	* ispell.el (ispell-hunspell-dictionary-equivs-alist): New.
+	* ispell.el (ispell-version):
+	* ispell.el (ispell-check-version): New.
+	* ispell.el (ispell-emacs-alpha-regexp): New.
+	* ispell.el (ispell-call-process): New.
+	* ispell.el (ispell-call-process-region): New.
+	* ispell.el (ispell-create-debug-buffer): New.
+	* ispell.el (ispell-menu-map-needed):
+	* ispell.el (ispell-print-if-debug): New.
+	* ispell.el (ispell-library-path): Removed.
+	* ispell.el (ispell-async-processp):
+	* ispell.el (ispell-library-directory): New.
+	* ispell.el (ispell-aspell-dictionary-alist): New.
+	* ispell.el (ispell-find-aspell-dictionaries): New.
+	* ispell.el (ispell-aspell-data-dir): New.
+	* ispell.el (ispell-aspell-dict-dir): New.
+	* ispell.el (ispell-get-aspell-config-value): New.
+	* ispell.el (ispell-aspell-find-dictionary): New.
+	* ispell.el (ispell-aspell-add-aliases): New.
+	* ispell.el (ispell-hunspell-dict-paths-alist): New.
+	* ispell.el (ispell-hunspell-dictionary-alist): New.
+	* ispell.el (ispell-hunspell-fill-dictionary-entry): New.
+	* ispell.el (ispell-parse-hunspell-affix-file): New.
+	* ispell.el (ispell-find-hunspell-dictionaries): New.
+	* ispell.el (ispell-last-program-name): New.
+	* ispell.el (ispell-initialize-spellchecker-hook): New.
+	* ispell.el (ispell-set-spellchecker-params): New.
+	* ispell.el (ispell-valid-dictionary-list): New.
+	* ispell.el (valid-dictionary-list): Removed.
+	* ispell.el (and):
+	* ispell.el (ispell-int-char):
+	* ispell.el ('ispell-int-char): New.
+	* ispell.el ('ispell-find-coding-system): New.
+	* ispell.el ('ispell-list*): New.
+	* ispell.el (ispell-current-dictionary): New.
+	* ispell.el (ispell-decode-string): Removed.
+	* ispell.el (hide-ispell-dictionary-corrected):
+	* ispell.el (ispell-get-casechars): Removed.
+	* ispell.el (ispell-get-not-casechars): Removed.
+	* ispell.el (ispell-get-otherchars): Removed.
+	* ispell.el (ispell-get-many-otherchars-p): Removed.
+	* ispell.el (ispell-get-ispell-args): Removed.
+	* ispell.el (ispell-get-extended-character-mode): Removed.
+	* ispell.el (ispell-get-coding-system): Removed.
+	* ispell.el (ispell-current-personal-dictionary): New.
+	* ispell.el (ispell-checking-message):
+	* ispell.el (ispell-words-keyword):
+	* ispell.el (ispell-dictionary-keyword):
+	* ispell.el (ispell-skip-region-alist):
+	* ispell.el (ispell-tex-skip-alists):
+	* ispell.el (ispell-tex-skip-alist):
+	* ispell.el (ispell-html-skip-alists):
+	* ispell.el (ispell-buffer-session-localwords): New.
+	* ispell.el (ispell-parser):
+	* ispell.el (ispell-mode-line-window-height-fudge): Removed.
+	* ispell.el (esc-map): Removed.
+	* ispell.el (ispell-accept-output):
+	* ispell.el (ispell-send-replacement): New.
+	* ispell.el (ispell-send-string):
+	* ispell.el (ispell-word):
+	* ispell.el (return values): Removed.
+	* ispell.el (Return values): New.
+	* ispell.el (ispell-get-word):
+	* ispell.el (ispell-pdict-save):
+	* ispell.el (message-log-max):
+	* ispell.el (ispell-command-loop):
+	* ispell.el (message-log-max)): New.
+	* ispell.el (ispell-show-choices):
+	* ispell.el (ispell-help):
+	* ispell.el (lookup-words): Removed.
+	* ispell.el ('lookup-words): New.
+	* ispell.el (ispell-lookup-words): New.
+	* ispell.el (ispell-highlight-spelling-error-generic):
+	* ispell.el (ispell-highlight-spelling-error-xemacs):
+	* ispell.el (ispell-highlight-spelling-error-overlay):
+	* ispell.el (ispell-highlight-spelling-error):
+	* ispell.el (ispell-adjusted-window-height): New.
+	* ispell.el (ispell-overlay-window):
+	* ispell.el (ispell-parse-output):
+	* ispell.el (ispell-start-process):
+	* ispell.el (ispell-init-process):
+	* ispell.el (ispell-kill-ispell):
+	* ispell.el (ispell-change-dictionary):
+	* ispell.el (ispell-internal-change-dictionary): New.
+	* ispell.el (ispell-start)): New.
+	* ispell.el (ispell-end)): New.
+	* ispell.el (ispell-region): New.
+	* ispell.el (ispell-begin-skip-region-regexp):
+	* ispell.el (ispell-begin-skip-region):
+	* ispell.el (ispell-skip-region-list):
+	* ispell.el (ispell-tex-arg-end):
+	* ispell.el (ispell-ignore-fcc):
+	* ispell.el (ispell-skip-region):
+	* ispell.el (ispell-get-line):
+	* ispell.el (ispell-looking-at): New.
+	* ispell.el (ispell-process-line):
+	* ispell.el (ispell-horiz-scroll):
+	* ispell.el (ispell-complete-word):
+	* ispell.el (ispell-minor-keymap):
+	* ispell.el (ispell-minor-mode): Removed.
+	* ispell.el (ispell-minor-check):
+	* ispell.el (ispell-message-text-end):
+	* ispell.el (ispell-mime-skip-part):
+	* ispell.el (ispell-message):
+	* ispell.el (ispell-buffer-local-parsing):
+	* ispell.el (ispell-buffer-local-dict):
+	* ispell.el (ispell-buffer-local-words):
+	* ispell.el (ispell-add-per-file-word-list):
+	Sync with recent GNU Emacs.
+
+	Also some XEmacs-specific changes; provide various compiler macros
+	that aren't necessarily executed on one emacs or the other,
+	determining it at compile time rather than run- or
+	load-time. Avoid decoding the entries in ispell-dictionary-alist
+	*every time the dictionary member* was referenced, do it once per
+	dictionary. Achieve this using macrolet and uninterned symbols,
+	compatible with 21.4.
+
+	I see bugs but no Lisp-level problems with aspell and hunspell on
+	my OS X machine; that is, the bugs I see are also present when I
+	spell-check outside of ispell. This version of the file works fine
+	with Persian, which the previous version didn't. Also works fine
+	with the European languages I speak, but they all fit in Latin-1
+	and so are less of a challenge.
+
 2014-06-29  Norbert Koch  <[email protected]>
 
 	* Makefile (VERSION): XEmacs package 1.36 released.

This diff is so big that we needed to truncate the remainder.

Repository URL: https://bitbucket.org/xemacs/ispell/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.