From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jonas Bernoulli Newsgroups: gmane.emacs.bugs 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 Message-ID: <87tugjublt.fsf@bernoul.li> References: <86o86sd3u1.fsf@protected.rcdrun.com> <871r3oipme.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10549"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 51742@debbugs.gnu.org To: Lars Ingebrigtsen , Jean Louis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 10 19:10:42 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mks3W-0002Ub-Ky for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 10 Nov 2021 19:10:42 +0100 Original-Received: from localhost ([::1]:34028 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mks3V-0002Pg-9a for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 10 Nov 2021 13:10:41 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54408) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mks2s-0002PJ-3E for bug-gnu-emacs@gnu.org; Wed, 10 Nov 2021 13:10:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55853) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mks2r-0002sw-Qk for bug-gnu-emacs@gnu.org; Wed, 10 Nov 2021 13:10:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mks2r-0003Ui-Ke for bug-gnu-emacs@gnu.org; Wed, 10 Nov 2021 13:10:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jonas Bernoulli Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Nov 2021 18:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51742 X-GNU-PR-Package: emacs Original-Received: via spool by 51742-submit@debbugs.gnu.org id=B51742.163656775413362 (code B ref 51742); Wed, 10 Nov 2021 18:10:01 +0000 Original-Received: (at 51742) by debbugs.gnu.org; 10 Nov 2021 18:09:14 +0000 Original-Received: from localhost ([127.0.0.1]:39166 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mks25-0003TR-3H for submit@debbugs.gnu.org; Wed, 10 Nov 2021 13:09:14 -0500 Original-Received: from mail.hostpark.net ([212.243.197.30]:41362) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mks20-0003TD-6k for 51742@debbugs.gnu.org; Wed, 10 Nov 2021 13:09:12 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by mail.hostpark.net (Postfix) with ESMTP id 9D42C163D7; Wed, 10 Nov 2021 19:09:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bernoul.li; h= content-type:content-type:mime-version:message-id:date:date :references:in-reply-to:subject:subject:from:from:received :received; s=sel2011a; t=1636567744; bh=tjkIcMdCscWcxgBJO+JUS+8g WKUNpDJ6JWN4w4PgiqY=; b=x9PwRqpJV8qocJFzyleN/UoVHTMxWvyLFrhzmYtZ 8KLGkPn9z7+b0vc140y5ihZZi5Ic7cJeZn8aILOvemUXWuW/KriRTE8jRtucb6vG dQaBydvSGvYBKZL4nAAuZmUbmJut9KN5fGkSNJ5M5lz12LwafJBl5rxQE8v/6pEb PdY= X-Virus-Scanned: by Hostpark/NetZone Mailprotection at hostpark.net Original-Received: from mail.hostpark.net ([127.0.0.1]) by localhost (mail1.hostpark.net [127.0.0.1]) (amavisd-new, port 10224) with ESMTP id ib19CA0acaU9; Wed, 10 Nov 2021 19:09:04 +0100 (CET) Original-Received: from customer (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.hostpark.net (Postfix) with ESMTPSA id 6F0BB164A6; Wed, 10 Nov 2021 19:09:04 +0100 (CET) In-Reply-To: <871r3oipme.fsf@gnus.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:219558 Archived-At: > (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