unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Jean Louis <bugs@gnu.support>
Cc: Jonas Bernoulli <jonas@bernoul.li>, 51742@debbugs.gnu.org
Subject: bug#51742: 29.0.50; user-error: Cannot invoke transient emoji--command-Emoji while minibuffer is active
Date: Wed, 10 Nov 2021 05:47:05 +0100	[thread overview]
Message-ID: <871r3oipme.fsf@gnus.org> (raw)
In-Reply-To: <86o86sd3u1.fsf@protected.rcdrun.com> (Jean Louis's message of "Wed, 10 Nov 2021 07:36:38 +0300")

Jean Louis <bugs@gnu.support> writes:

> I am editing entries in minibuffer and then if I wish to add emoji,
> there is this problem:
>
> user-error: Cannot invoke transient emoji--command-Emoji while
> minibuffer is active
>
> This brings me that I need to write emoji somewhere, kill and yank it
> into minibuffer, instead of directly inserting it in the minibuffer.

This is because of:

(defun transient-setup (&optional name layout edit &rest params)

[...]

  (when (> (minibuffer-depth) 0)
    (user-error "Cannot invoke transient %s while minibuffer is active" name))

Jonas, is there any reason for this check?  Things seem to work just
fine if I remove it.  (Or perhaps the check should be removed if
enable-recursive-minibuffers is non-nil?)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2021-11-10  4:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-10  4:36 bug#51742: 29.0.50; user-error: Cannot invoke transient emoji--command-Emoji while minibuffer is active Jean Louis
2021-11-10  4:47 ` Lars Ingebrigtsen [this message]
2021-11-10 18:09   ` Jonas Bernoulli
2021-11-11  3:14     ` Lars Ingebrigtsen
2022-09-20 12:17       ` Lars Ingebrigtsen

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=871r3oipme.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=51742@debbugs.gnu.org \
    --cc=bugs@gnu.support \
    --cc=jonas@bernoul.li \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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