From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#65347: 29.1; Underscore in query replace prevents case-matching Date: Sat, 19 Aug 2023 10:39:02 -0400 Message-ID: References: <838raa6syr.fsf@gnu.org> <83o7j451iu.fsf@gnu.org> <83wmxs2p52.fsf@gnu.org> <83msyn37jn.fsf@gnu.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13735"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: sbaugh@janestreet.com, 65347@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 19 16:40:23 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 1qXN7n-0003Pn-8W for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 19 Aug 2023 16:40:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qXN7Y-0007S8-Ok; Sat, 19 Aug 2023 10:40:10 -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 1qXN7R-0007Q6-M2 for bug-gnu-emacs@gnu.org; Sat, 19 Aug 2023 10:40:05 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qXN7R-0004PY-DF for bug-gnu-emacs@gnu.org; Sat, 19 Aug 2023 10:40:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qXN7S-0000zT-7G for bug-gnu-emacs@gnu.org; Sat, 19 Aug 2023 10:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Aug 2023 14:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65347 X-GNU-PR-Package: emacs Original-Received: via spool by 65347-submit@debbugs.gnu.org id=B65347.16924559613745 (code B ref 65347); Sat, 19 Aug 2023 14:40:02 +0000 Original-Received: (at 65347) by debbugs.gnu.org; 19 Aug 2023 14:39:21 +0000 Original-Received: from localhost ([127.0.0.1]:52097 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXN6m-0000yK-S4 for submit@debbugs.gnu.org; Sat, 19 Aug 2023 10:39:21 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:34338) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXN6j-0000y7-SW for 65347@debbugs.gnu.org; Sat, 19 Aug 2023 10:39:19 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 13ED61000BD; Sat, 19 Aug 2023 10:39:11 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1692455950; bh=rNcKQC78H/8iORKH0RbVVNvq5Hlu6tIUph790xrqya4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=fFxY3A9ekWfJXgwHQP52FQ155X1HRwpF+qO4HcWeDB4IZVmzcDtvSvZdOMasFpX/O v4ycJe878ORzpAQLaA6GmHEnBBGnTfZNl/15A0N4v9uSeHeU1P16f+7Y8i6iXhbOBa m6+/4jl2Xtp+Gn+LmtA6RfEY+g0uGa1GV2T/d7Apa5sqhyuxPaCFgq0OpN/J31dk2F PH9oIvyN7zrECH1iU0wbY6XqEZE7yS7q4MRHgD71apLY/B8ja2fdk8K9w00q0em5Y4 5OkINVoc4+UWmmOsKYI+8aLXohS2/a+gUVpIXcEUG+045EnJNZEIRX2pTd/gQmbj9X mi4rc83TGdkOg== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 011121000EF; Sat, 19 Aug 2023 10:39:10 -0400 (EDT) Original-Received: from pastel (unknown [45.72.228.154]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id CB96712022A; Sat, 19 Aug 2023 10:39:09 -0400 (EDT) In-Reply-To: <83msyn37jn.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 19 Aug 2023 08:50:04 +0300") 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:267879 Archived-At: >> Personally (as a user) the functionality I'd prefer is the following: >> When the matched string does not have the same capitalization as the search >> pattern, I'd like Emacs to guess what should be the capitalization of >> the replacement and ask me to confirm its guess. > This already happens? M-% shows you the replacement in the exact > capitalization it will insert, _after_ the guesswork. And you are > already requested to confirm each replacement. So what is missing? When the guesswork is wrong I find it cumbersome to fix it. I'd like to be able to edit it right there and that the result is remembered for the next time the same capitalization is found. Stefan