help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Interactive activation of input method from a list


From: Heime
Subject: Interactive activation of input method from a list
Date: Mon, 18 Mar 2024 23:47:40 +0000

How can I make this function allow to user to select the input method 
interactively
from a list.  For instance, have a list composed of italian-keyboard and 
italian-postfix,
with the user selecting one of them. then applying activate-input-method to the 
user
selection?

(defun multilinge ()
  "Activate the Italian Dictionary and the Italian Environmment."
  (interactive)
  (setq ispell-local-dictionary "it_IT")
  (activate-input-method XXX) )



reply via email to

[Prev in Thread] Current Thread [Next in Thread]