unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Jonas Bernoulli <jonas@bernoul.li>
To: Lars Ingebrigtsen <larsi@gnus.org>, Jean Louis <bugs@gnu.support>
Cc: 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 19:09:02 +0100	[thread overview]
Message-ID: <87tugjublt.fsf@bernoul.li> (raw)
In-Reply-To: <871r3oipme.fsf@gnus.org>

>   (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?)

In most cases it just works.  But when it does not work then it doesn't
just fail gracefully but can result in emacs having to be killed from
the outside because of inconsistent state of transient maps and hooks.
At least that was the case in the past.  I have some changes sitting in
the next branch that should fix that.

I actually was working on making sure that there are no remaining
edge-cases when a new wave of feature requests and contributions started
to arrive and I had to shift my focus.  But I plan to resume work on
this very soon.  For testing purposes you can use the next branch and
remove this check, but it is not ready for general use just yet.

     Jonas





  reply	other threads:[~2021-11-10 18:09 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
2021-11-10 18:09   ` Jonas Bernoulli [this message]
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=87tugjublt.fsf@bernoul.li \
    --to=jonas@bernoul.li \
    --cc=51742@debbugs.gnu.org \
    --cc=bugs@gnu.support \
    --cc=larsi@gnus.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.
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).