From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#62709: 29.0.60; quail-minibuffer-message prevents set-mark-command from activating region in minibuffer Date: Fri, 07 Apr 2023 14:14:33 +0300 Message-ID: <83y1n4nduu.fsf@gnu.org> References: <87pm8gezcw.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11968"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 62709@debbugs.gnu.org To: Visuwesh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 07 13:15:19 2023 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 1pkk3r-0002tH-HT for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 07 Apr 2023 13:15:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pkk3g-0007j9-HP; Fri, 07 Apr 2023 07:15:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pkk3e-0007iz-96 for bug-gnu-emacs@gnu.org; Fri, 07 Apr 2023 07:15:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pkk3a-00006q-0i for bug-gnu-emacs@gnu.org; Fri, 07 Apr 2023 07:15:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pkk3Z-000103-Sh for bug-gnu-emacs@gnu.org; Fri, 07 Apr 2023 07:15:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Apr 2023 11:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62709 X-GNU-PR-Package: emacs Original-Received: via spool by 62709-submit@debbugs.gnu.org id=B62709.16808660483763 (code B ref 62709); Fri, 07 Apr 2023 11:15:01 +0000 Original-Received: (at 62709) by debbugs.gnu.org; 7 Apr 2023 11:14:08 +0000 Original-Received: from localhost ([127.0.0.1]:55818 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pkk2h-0000yc-Ju for submit@debbugs.gnu.org; Fri, 07 Apr 2023 07:14:07 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46936) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pkk2g-0000y1-A5 for 62709@debbugs.gnu.org; Fri, 07 Apr 2023 07:14:06 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pkk2b-0007QP-1T; Fri, 07 Apr 2023 07:14:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=M6NYEBbZo8KxOAuEoVUR1Q32qO45yiGzysDqf47MvPw=; b=C2FeNyI1S/JU pHY8Zim1puj+QiM5qOeOvyzWlnhYbYAae0X3Q6XZ+z2wc7CEnD/2S4s2K+TJV0YvpXdsHsr4GU5jW +9AVG/laVcWBCw5nUOsjI1enSj4dLVgmi+CuzokeUvLFRKwT0yy7notrVnnx5Y8WCdWKog1HA2K8W gWDaYcvCwvuU2n4h1io7kcxjCf9yhlfmsp9YnDgT9z78zUGMA06uuMWe909radZ/E7NDn4/ibkUaP o8e6wyGGiJ4Gzlj+alJWKswZ96RwBk63Rgem8La5vqYTaoIssXnmyJ5SwHKsTSpkehaf4GYoTOpXL rreArgONd9u7cz1FeACbiw==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pkk2a-0003LW-6X; Fri, 07 Apr 2023 07:14:00 -0400 In-Reply-To: <87pm8gezcw.fsf@gmail.com> (message from Visuwesh on Fri, 07 Apr 2023 16:24:55 +0530) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:259391 Archived-At: > From: Visuwesh > Date: Fri, 07 Apr 2023 16:24:55 +0530 > > - To observe the problem, first define a dummy Quail input method > > (quail-define-package "none" "asdf" "none") > > - Then activate recursive minibuffers > > M-: (setq enable-recursive-minibuffers t) RET > > - Now open a minibuffer (C-x C-f is a good one) then activate the "none" > input method. > > - Now type M-x set-mark-command RET and note how the region is not > active. > > This problem goes away if you redefine `quail-minibuffer-message' to > simply echo the string by saying > > (defalias 'quail-minibuffer-message #'message) > > Furthermore, the comment above `quail-minibuffer-message' says > > ;; Quail specific version of minibuffer-message. It displays STRING > ;; with timeout 1000000 seconds instead of two seconds. > > but even with that redefinition, the guidance string is printed just > fine (minus the extra square brackets that message adds). I'd prefer to solve the problem that prevents the region from becoming active, without changing how Quail shows its messages. Can you try finding such a solution, or at least explaining why quail-minibuffer-message prevents the region from becoming active in this case? Thanks.