summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2022-08-09 17:55:21 +0200
committerStefan Kangas <stefan@marxist.se>2022-08-09 17:58:15 +0200
commite5bf2b942fec6e901c165aff93c89e4dd8e448dd (patch)
tree4d204397eb0022715f70e3f82d0b603d4337fd07
parentf9ee2db4937cf51aa4442f5d24275b82c773208b (diff)
downloademacs-e5bf2b942fec6e901c165aff93c89e4dd8e448dd.tar.gz
Improve message regarding missing LEIM
* lisp/international/ja-dic-utl.el (skkdic-lookup-key): * lisp/international/mule-diag.el (list-input-methods-1): * lisp/international/quail.el (quail-use-package): Explain that LEIM is installed together with Emacs.
-rw-r--r--lisp/international/ja-dic-utl.el8
-rw-r--r--lisp/international/mule-diag.el7
-rw-r--r--lisp/international/quail.el8
3 files changed, 11 insertions, 12 deletions
diff --git a/lisp/international/ja-dic-utl.el b/lisp/international/ja-dic-utl.el
index cc636986f99..3f6500669a4 100644
--- a/lisp/international/ja-dic-utl.el
+++ b/lisp/international/ja-dic-utl.el
@@ -112,11 +112,9 @@ without okurigana are placed at the head of the returned list."
(princ (substitute-command-keys "\
The library `ja-dic' can't be loaded.
-The most common case is that you have not yet installed the library
-included in LEIM (Libraries of Emacs Input Method) which is
-distributed separately from Emacs.
-
-LEIM is available from the same ftp directory as Emacs.")))
+This might indicate a problem with your Emacs installation, as
+LEIM (Libraries of Emacs Input Method) should normally always be
+installed together with Emacs.")))
(signal (car err) (cdr err)))))
(let ((vec (make-vector len 0))
diff --git a/lisp/international/mule-diag.el b/lisp/international/mule-diag.el
index 646e0b84802..cdf2e527e25 100644
--- a/lisp/international/mule-diag.el
+++ b/lisp/international/mule-diag.el
@@ -1068,8 +1068,11 @@ see the function `describe-fontset' for the format of the list."
(with-current-buffer standard-output
(if (not input-method-alist)
(insert "
-No input method is available, perhaps because you have not
-installed LEIM (Libraries of Emacs Input Methods).")
+No input method is available.
+
+This might indicate a problem with your Emacs installation, as
+LEIM (Libraries of Emacs Input Method) should normally always be
+installed together with Emacs.")
(insert (substitute-command-keys
"LANGUAGE\n NAME (`TITLE' in mode line)\n"))
(insert " SHORT-DESCRIPTION\n------------------------------\n")
diff --git a/lisp/international/quail.el b/lisp/international/quail.el
index 529cf97215e..4bb6dbcc8e4 100644
--- a/lisp/international/quail.el
+++ b/lisp/international/quail.el
@@ -249,11 +249,9 @@ This activates input method defined by PACKAGE-NAME by running
(princ (car libraries))
(princ (substitute-command-keys "\" is not in `load-path'.
-The most common case is that you have not yet installed appropriate
-libraries in LEIM (Libraries of Emacs Input Method) which is
-distributed separately from Emacs.
-
-LEIM is available from the same ftp directory as Emacs.")))
+This might indicate a problem with your Emacs installation, as
+LEIM (Libraries of Emacs Input Method) should normally always be
+installed together with Emacs.")))
(error "Can't use the Quail package `%s'" package-name))
(setq libraries (cdr libraries))))))
(quail-select-package package-name)