[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Display result of describe-input-method using a list
From: |
Heime |
Subject: |
Re: Display result of describe-input-method using a list |
Date: |
Tue, 19 Mar 2024 20:46:49 +0000 |
On Wednesday, March 20th, 2024 at 4:54 AM, Heime <heimeborgia@protonmail.com>
wrote:
> I would like to display the result of 'describe-input-method' on the
> selections in the list 'cseq'. Would one call the command
> 'describe-input-method' or is it to be done differently ?
>
> (defun razad-multiling (opt)
>
> (interactive
> (list
> (let ( (cseq '("icelandic-keyboard" "italian-alt-postfix"
> "icelandic-postfix")) )
> (completing-read
> " Lingu: " cseq nil t "icelandic-postfix"))))
>
> ;; (call-interactively 'describe-input-method) )
Naturally, I cannot use 'call-interactively' because doing so would cause
describe-input-method to run interactively and ask the user again for the
input method, rather than using the available list in 'cseq'.