unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Heime <heimeborgia@protonmail.com>
To: Heime <heimeborgia@protonmail.com>
Cc: Heime via Users list for the GNU Emacs text editor
	<help-gnu-emacs@gnu.org>
Subject: Re: Display result of describe-input-method using a list
Date: Tue, 19 Mar 2024 20:46:49 +0000	[thread overview]
Message-ID: <scyR8Bky_G2tpmn5IoYV8uBnG1hYh7JSfMCFDOQ1Iu_u08CX15s-sP3v9Mfhj5_RqdLo5o69nexnhzR2rgp8yGHLAt-sS8pUlKws2RUS0jM=@protonmail.com> (raw)
In-Reply-To: <lPmApX7CP9iveAa3PCZQvFdoItH6ZFWgY-QXPrvIZ0ukcKzN7rngd9en-ocOKpWJsBChV7Plx0ucHSIASc0gXQimZx7_CBU5av0gQxFXwu0=@protonmail.com>

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'.




      reply	other threads:[~2024-03-19 20:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-19 16:54 Display result of describe-input-method using a list Heime
2024-03-19 20:46 ` Heime [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='scyR8Bky_G2tpmn5IoYV8uBnG1hYh7JSfMCFDOQ1Iu_u08CX15s-sP3v9Mfhj5_RqdLo5o69nexnhzR2rgp8yGHLAt-sS8pUlKws2RUS0jM=@protonmail.com' \
    --to=heimeborgia@protonmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).