aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuri Linkov2011-09-17 15:07:50 +0300
committerJuri Linkov2011-09-17 15:07:50 +0300
commit744ba0e3eedce992b2d7b8683dfca041939556c4 (patch)
tree21cac690162dfc71ed47611e47a19328d59c826b
parentd1fbe1c3932f643bde62a5c42ac01b3caaa15254 (diff)
downloademacs-744ba0e3eedce992b2d7b8683dfca041939556c4.tar.gz
emacs-744ba0e3eedce992b2d7b8683dfca041939556c4.zip
* lisp/textmodes/ispell.el (ispell-word): Add to the error message
the word, ispell program name and current dictionary. (ispell-tex-arg-end): Capitalize "error" in the error message. Fixes: debbugs:9121
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/textmodes/ispell.el8
2 files changed, 12 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 5b4d2e8b660..49a8f931fb2 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12011-09-17 Juri Linkov <juri@jurta.org>
2
3 * textmodes/ispell.el (ispell-word): Add to the error message
4 the word, ispell program name and current dictionary (bug#9121).
5 (ispell-tex-arg-end): Capitalize "error" in the error message.
6
12011-09-17 Andreas Schwab <schwab@linux-m68k.org> 72011-09-17 Andreas Schwab <schwab@linux-m68k.org>
2 8
3 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow 9 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index 5521cfd3de8..b76b0a303df 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -1723,7 +1723,11 @@ quit spell session exited."
1723 (extent-at start) 1723 (extent-at start)
1724 (and (fboundp 'delete-extent) 1724 (and (fboundp 'delete-extent)
1725 (delete-extent (extent-at start))))) 1725 (delete-extent (extent-at start)))))
1726 ((null poss) (message "Error in ispell process")) 1726 ((null poss)
1727 (message "Error checking word %s using %s with %s dictionary"
1728 (funcall ispell-format-word-function word)
1729 (file-name-nondirectory ispell-program-name)
1730 (or ispell-current-dictionary "default")))
1727 (ispell-check-only ; called from ispell minor mode. 1731 (ispell-check-only ; called from ispell minor mode.
1728 (if (fboundp 'make-extent) 1732 (if (fboundp 'make-extent)
1729 (if (fboundp 'set-extent-property) 1733 (if (fboundp 'set-extent-property)
@@ -3034,7 +3038,7 @@ Must call after `ispell-buffer-local-parsing' due to dependence on mode."
3034 (while (looking-at "[ \t\n]*\\[") (forward-sexp)) 3038 (while (looking-at "[ \t\n]*\\[") (forward-sexp))
3035 (forward-sexp (or arg 1))) 3039 (forward-sexp (or arg 1)))
3036 (error 3040 (error
3037 (message "error skipping s-expressions at point %d." (point)) 3041 (message "Error skipping s-expressions at point %d." (point))
3038 (beep) 3042 (beep)
3039 (sit-for 2)))) 3043 (sit-for 2))))
3040 3044