From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#60741: 29.0.60; 'M-c' shadowed in the minibuffer Date: Wed, 11 Jan 2023 21:54:48 +0200 Organization: LINKOV.NET Message-ID: <86zgaosv7b.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23774"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) To: 60741@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 11 20:59:00 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 1pFhFS-00060A-HL for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 11 Jan 2023 20:58:58 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pFhEj-0000Dd-48; Wed, 11 Jan 2023 14:58:13 -0500 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 1pFhEY-0008VR-D9 for bug-gnu-emacs@gnu.org; Wed, 11 Jan 2023 14:58:02 -0500 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 1pFhEY-00089u-3e for bug-gnu-emacs@gnu.org; Wed, 11 Jan 2023 14:58:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pFhEX-00065u-Sy for bug-gnu-emacs@gnu.org; Wed, 11 Jan 2023 14:58:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Jan 2023 19:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60741 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.167346704023373 (code B ref -1); Wed, 11 Jan 2023 19:58:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 Jan 2023 19:57:20 +0000 Original-Received: from localhost ([127.0.0.1]:43942 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pFhDr-00064v-Qc for submit@debbugs.gnu.org; Wed, 11 Jan 2023 14:57:20 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:57806) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pFhDq-00064n-Gu for submit@debbugs.gnu.org; Wed, 11 Jan 2023 14:57:18 -0500 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 1pFhDp-0008Nk-8J for bug-gnu-emacs@gnu.org; Wed, 11 Jan 2023 14:57:17 -0500 Original-Received: from relay11.mail.gandi.net ([2001:4b98:dc4:8::231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pFhDl-0007zn-Ot for bug-gnu-emacs@gnu.org; Wed, 11 Jan 2023 14:57:17 -0500 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 98737100002 for ; Wed, 11 Jan 2023 19:57:09 +0000 (UTC) Received-SPF: pass client-ip=2001:4b98:dc4:8::231; envelope-from=juri@linkov.net; helo=relay11.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:253163 Archived-At: etc/NEWS: +++ ** 'M-c' in 'read-regexp' now toggles case folding. 'M-c' is bound globally to 'capitalize-word', but this keybinding is shadowed in the minibuffer, thus making it impossible to capitalize words. Isearch had this problem for a long time but now it's already solved with: (put 'isearch-toggle-case-fold :advertised-binding "\M-sc") where 'M-s c' is used to toggle search case-sensitivity. So to avoid the problem the same could be done in 'read-regexp': ``` diff --git a/lisp/replace.el b/lisp/replace.el index 2f063bbf66b..9471435bda3 100644 --- a/lisp/replace.el +++ b/lisp/replace.el @@ -824,7 +830,7 @@ read-regexp-suggestions (defvar-keymap read-regexp-map :parent minibuffer-local-map - "M-c" #'read-regexp-toggle-case-folding) + "M-s c" #'read-regexp-toggle-case-folding) (defvar read-regexp--case-fold nil) ```