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.
This commit is contained in:
Stefan Kangas 2022-08-09 17:55:21 +02:00
parent f9ee2db493
commit e5bf2b942f
3 changed files with 11 additions and 12 deletions

View file

@ -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))

View file

@ -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")

View file

@ -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)