Re:_Re:_Can’t_activate_inp ut_method_‘japanese-anthy’

From: bluesky <xlsvx_at_yahoo.co.jp>
Date: Sat, 05 Sep 2026 15:28:17 UTC
xlsvx です。(bluesky と書いても同一人物なり)

丸山 様

> From:"丸山直昌" <masa@amogha.jp>
> To:"bluesky" <xlsvx@yahoo.co.jp>
> Cc:"junchoon@dec.sakura.ne.jp" <junchoon@dec.sakura.ne.jp>; "freebsd-users-jp@freebsd.org" <freebsd-users-jp@freebsd.org>
> 日時:2026/09/05 土 06:06
> 件名:Re: Can’t activate input method ‘japanese-anthy’
> 
> 丸山です。
 
> そういうことを調べたいのなら、 strings を使って emacs のバイナリを調べる
> よりは良い方法があると思います。
> 
> leim-list.el は
> 
> % ls /usr/local/share/emacs/30.2/lisp/leim/
> ja-dic       leim-list.el quail
> 
> にあります。中を見ると
> 
> (register-input-method
>  "chinese-4corner" "Chinese-BIG5" 'quail-use-package
>  "四角" "四角號碼::"
>  "quail/4Corner")
> 
> のように、 register-input-method が沢山並んでいます。そこで emacs のヘルプを使って
> 
> M-x help f [return] register-input-method [return] とやると
> 
> register-input-method is a native-comp-function in ‘mule-cmds.el’.
> 
> (register-input-method INPUT-METHOD LANG-ENV ACTIVATE-FUNC TITLE
> DESCRIPTION &rest ARGS)
> 
> Inferred type: (function (t t &rest t) t)
> 
> Register INPUT-METHOD as an input method for language environment LANG-ENV.
> 
> INPUT-METHOD and LANG-ENV are symbols or strings.
> ACTIVATE-FUNC is a function to call to activate this method.
> TITLE is a string to show in the mode line when this method is active.
> DESCRIPTION is a string describing this method and what it is good for.
> The ARGS, if any, are passed as arguments to ACTIVATE-FUNC.
> All told, the arguments to ACTIVATE-FUNC are INPUT-METHOD and the ARGS.
> 
> This function is mainly used in the file "leim-list.el" which is
> created at Emacs build time, registering all Quail input methods
> contained in the Emacs distribution.
> (以下略)
> 
> と出ます。

関数のマニュアルを emacs 内部で表示する方法を教えて頂き、ありがと
うございます。当方、ホビー・ユーザーでしかも殆どプログラミングをし
ないため、役に立ちました。