From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 25 17:27:45 2021 Received: (at submit) by debbugs.gnu.org; 25 Feb 2021 22:27:45 +0000 Received: from localhost ([127.0.0.1]:39514 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lFP6m-0000Eu-Vh for submit@debbugs.gnu.org; Thu, 25 Feb 2021 17:27:45 -0500 Received: from lists.gnu.org ([209.51.188.17]:38156) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lFP6k-0000El-Gt for submit@debbugs.gnu.org; Thu, 25 Feb 2021 17:27:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49952) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lFP6k-0003Vc-Al for bug-gnu-emacs@gnu.org; Thu, 25 Feb 2021 17:27:42 -0500 Received: from catfish.elm.relay.mailchannels.net ([23.83.212.32]:27020) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lFP6i-0007Q4-90 for bug-gnu-emacs@gnu.org; Thu, 25 Feb 2021 17:27:42 -0500 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 0A229320559 for ; Thu, 25 Feb 2021 22:27:38 +0000 (UTC) Received: from pdx1-sub0-mail-a6.g.dreamhost.com (100-96-16-20.trex.outbound.svc.cluster.local [100.96.16.20]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id A71C5322F05 for ; Thu, 25 Feb 2021 22:27:37 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from pdx1-sub0-mail-a6.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.96.16.20 (trex/6.0.2); Thu, 25 Feb 2021 22:27:37 +0000 X-MC-Relay: Good X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Glossy-Desert: 44472d3967a128e6_1614292057883_1230160668 X-MC-Loop-Signature: 1614292057883:1146648516 X-MC-Ingress-Time: 1614292057883 Received: from pdx1-sub0-mail-a6.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a6.g.dreamhost.com (Postfix) with ESMTP id 6D0C3870B9 for ; Thu, 25 Feb 2021 14:27:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=fnEz2PWMY4xGfgiAE46UrA6FfTA=; b=m2p2oCrY6NFYWwqk 0WKylUeRL0iOl/0OQKG9UfAH/E+wGWa7eVs+y9BypeNkuOUjniWWVG4U6mwik3Fe +q3afp8duwDwu9SVmsRSeb+vx34qeEpj3/Uc58qB/dvpkcfJcfO/UOJTpOROn5+Y xQ7lpPrm0bozqWhjUxSyIC6xJJk= Received: from jidanni.org (114-41-20-110.dynamic-ip.hinet.net [114.41.20.110]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a6.g.dreamhost.com (Postfix) with ESMTPSA id 33AA88678E for ; Thu, 25 Feb 2021 14:27:36 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a6 From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson To: bug-gnu-emacs@gnu.org Subject: Catch mistaken (query-replace "a" "a") Date: Fri, 26 Feb 2021 06:27:33 +0800 Message-ID: <87o8g7hjfu.5.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=23.83.212.32; envelope-from=jidanni@jidanni.org; helo=catfish.elm.relay.mailchannels.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) (query-replace "a" "a") should ask "Are you sure?" Better yet: "Are you nuts?"... So how could it happen? Well, e.g., the user needs to replace some character with a similar character, all through the document. So similar in fact that it is hard to tell the difference. Therefore emacs should be a good Samaritan and please "Refuse loudly to do one big no-op that will make the user furious once he discovers he meticulously did... *nothing at all*." Imagine answering ynnyynnnnnnyynynnnynyyyyynynyyyyyynnnnynnnynynynyny only to find out it was just a big nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn ! So emacs should simply double check the strings before starting. No the user can't always tell, no matter how hard he looks, if they are the same or not. One might say "well there are still some uses for replacing the same thing with itself." No, wrong. From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 26 03:57:22 2021 Received: (at 46783) by debbugs.gnu.org; 26 Feb 2021 08:57:22 +0000 Received: from localhost ([127.0.0.1]:40279 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lFYw6-0006rK-GS for submit@debbugs.gnu.org; Fri, 26 Feb 2021 03:57:22 -0500 Received: from quimby.gnus.org ([95.216.78.240]:34028) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lFYw4-0006r7-Mr for 46783@debbugs.gnu.org; Fri, 26 Feb 2021 03:57:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=GQcyTTMvIpzELNFE0SN4XTXo1TZljM5F3iQOHLPF890=; b=QV9IwtMTPKe76SrpSn7JN2Pscy 8l8Qu5htvV4hsAcNDih1gyuvDcTDSOi49m6vqIqYupiKZONI7SWztW+AOt5WvsIHbge10R8t96fkm Moc9AzwUwVaseHLpQ4Q3fajNQ8pEezxk+MfN0gTU3kK2+tvBm8EUEFX1XYx81twXk9Kg=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lFYvv-0000Wm-0b; Fri, 26 Feb 2021 09:57:14 +0100 From: Lars Ingebrigtsen To: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson Subject: Re: bug#46783: Catch mistaken (query-replace "a" "a") References: <87o8g7hjfu.5.fsf@jidanni.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAIGNIUk0AAHomAACAhAAA+gAA AIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAAPUExURWtmYVRRT4mVmDw7PP////P55/4AAAABYktH RASPaNlRAAAACXBIWXMAAABkAAAAZAAPlsXdAAAAB3RJTUUH5QIaCCski1mMCgAAAEZ0RVh0UmF3 IHByb2ZpbGUgdHlwZSBhcHAxMgAKYXBwMTIKICAgICAgMTUKNDQ3NTYzNmI3OTAwMDEwMDA0MDAw MDAwM2MwMDAwCszIdZsAAAFdSURBVDjLlZQBbsMwCEU/6QVAvkCbEyzK/e824IPtat2kWW2i+vn7 A8YFOBT7MLN4iZn6Z82rEMQCCSDx4zjPp6+dK1yi+fP00YrcM4CkwCUNHKm4UCkIyQ5gP0FYQBwe BC+C2NsyiAalEDA+K++zw+2MGIvPH2gPuRU0d/DEMc0fDSKTJzoP0XFHuMpUgPZwMDITYVX8bXza HSUR8/UVxQRXgktzE7FZxPsLQ2U4wDCCNBuWIBSQoUsxPNC7QASdiqiHe09FuPB8oI+L9eBWNoEv ZojsCEt3WlSvsFaywFUAvaD7SuspugHl4SEaa9iSIJoww4jwr7UZjM0W38oDpZgjKqFTsgHXVkLY gVyGbn7aerWy1TvxWoqZiTd1Z76bI3vUdsWKqhvr30B+AYz2o0L/8uBdkp785PEOtG9fFL6PrP4/ 6qhqVXUs7x93WjebZwfDmllj3lp7n/XxDYmYLb8YmhOyAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIx LTAyLTI2VDA4OjQzOjM2KzAwOjAwBB/U1QAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0wMi0yNlQw ODo0MzozNiswMDowMHVCbGkAAAAASUVORK5CYII= X-Now-Playing: Oliver Cherer's _Sir Ollife Leigh & Other Ghosts + A Millying & Mor EP_: "Millions" Date: Fri, 26 Feb 2021 09:57:09 +0100 In-Reply-To: <87o8g7hjfu.5.fsf@jidanni.org> (=?utf-8?B?IuepjeS4ueWwvA==?= Dan Jacobson"'s message of "Fri, 26 Feb 2021 06:27:33 +0800") Message-ID: <874khzmcka.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: 積丹尼 Dan Jacobson writes: > One might say "well there are still some uses for replacing the same > thing with itself." No, wrong. There is -- to remove text properties. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 46783 Cc: 46783@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson writes: > One might say "well there are still some uses for replacing the same > thing with itself." No, wrong. There is -- to remove text properties. I'm not sure that's a compelling use case, though. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 26 04:49:26 2021 Received: (at 46783) by debbugs.gnu.org; 26 Feb 2021 09:49:26 +0000 Received: from localhost ([127.0.0.1]:40329 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lFZkU-0005yb-3K for submit@debbugs.gnu.org; Fri, 26 Feb 2021 04:49:26 -0500 Received: from mail-wr1-f46.google.com ([209.85.221.46]:36536) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lFZkR-0005yM-NP for 46783@debbugs.gnu.org; Fri, 26 Feb 2021 04:49:24 -0500 Received: by mail-wr1-f46.google.com with SMTP id u14so7957220wri.3 for <46783@debbugs.gnu.org>; Fri, 26 Feb 2021 01:49:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=Rqkw7EbsX1JjOaECgJE2RHCA6xhCQx90tKOZHyhjhhc=; b=TVpb37/pVs+8N1IGu16bNMl74j0z4tiSZOj2WWH5ZBIYRw+8Na1yIfJVq5HbukNFKS WFNNvSk1273y7WqNhuv23ZJPBBZQegzOxD2IYZPuVCWfeS4gqtUWmR1CYnfk1y6nURH3 VULfSFc3a89Ru83dfdzX3EBKsnVgSv0PHwgLVfEx0+SFm4aH81QJhG53IccMKzpSQffU d/cwTCx9pnGwI9Z0gYvf3O/QzcQ6X4QuyTRpDWuuWJ6f5GbZRuzzIlytNfudx7+VX/MD 6EwoT/QIPYslj4t80B7ZAgJGMz9CkxtqTgCLR0pKxx1LQOG/7VEr6RLRHqF+I5ZvCpYL 52CQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=Rqkw7EbsX1JjOaECgJE2RHCA6xhCQx90tKOZHyhjhhc=; b=VmvlKOkcQ0T41+zIdqhpb1G1I9B8FnakhlTOcL38jJo7NbdUz1TUKTWweWKaPsvd/H BWjC9hD4YFVd0JuvDOZFVDU7XMa+OJcm+dG3p/FzgqsCLiMKUwcLpUHa1hgsPiMpzyu2 zdRVSAelniRyTUh55jTyPXIgHpPPVF2K7wjlgq+UgVNKx196ODblHA76Vx6G/u3uPBY8 29I/KHPxEf00xdIYHD8ZomHp4/5yKxpxrKk7HBiw/x++8Azf6gMNmjZqdQfebOpU7Z3D 0Lb+/8eoThTlkZxJI2JbH/TY564Q1c49kiqQPNVGC3XFigB821O1DawA+1ES2E0qH7k8 dNkQ== X-Gm-Message-State: AOAM531PYOsETfC8nEllNZC/6melzcmfYHsW7DhpKLjPcCXSsrLGB/k7 pvLmoELl8+siHds4z+DhYrgiqVYz/hn1IQ== X-Google-Smtp-Source: ABdhPJypxTrjrle6qvtL0Ow+9SNg6uCZbe9lj3RN0waGBpsa7r4J8GW5XubW/9scqR0KC9LEO2h31w== X-Received: by 2002:adf:9f54:: with SMTP id f20mr2275212wrg.362.1614332957366; Fri, 26 Feb 2021 01:49:17 -0800 (PST) Received: from rltb (91-175-207-237.subs.proxad.net. [91.175.207.237]) by smtp.gmail.com with ESMTPSA id z11sm11199829wmf.28.2021.02.26.01.49.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Feb 2021 01:49:16 -0800 (PST) From: Robert Pluim To: Lars Ingebrigtsen Subject: Re: bug#46783: Catch mistaken (query-replace "a" "a") References: <87o8g7hjfu.5.fsf@jidanni.org> <874khzmcka.fsf@gnus.org> Date: Fri, 26 Feb 2021 10:49:16 +0100 In-Reply-To: <874khzmcka.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 26 Feb 2021 09:57:09 +0100") Message-ID: <874khz17mr.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 46783 Cc: 46783@debbugs.gnu.org, =?utf-8?B?56mN5Li55bC8?= Dan Jacobson X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> On Fri, 26 Feb 2021 09:57:09 +0100, Lars Ingebrigtsen said: Lars> =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson wr= ites: >> One might say "well there are still some uses for replacing the same >> thing with itself." No, wrong. Lars> There is -- to remove text properties. Lars> I'm not sure that's a compelling use case, though. I find the following quite useful: (require 'char-fold) (setq replace-char-fold t) C-x 8 RET e1 RET (goto-char (point-min) M-x query-replace RET a RET a Robert --=20 From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 26 10:59:31 2021 Received: (at 46783) by debbugs.gnu.org; 26 Feb 2021 15:59:31 +0000 Received: from localhost ([127.0.0.1]:42092 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lFfWc-0000RL-UG for submit@debbugs.gnu.org; Fri, 26 Feb 2021 10:59:31 -0500 Received: from userp2130.oracle.com ([156.151.31.86]:48796) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lFfWb-0000R6-FZ for 46783@debbugs.gnu.org; Fri, 26 Feb 2021 10:59:29 -0500 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 11QFsEFl171374; Fri, 26 Feb 2021 15:59:22 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2020-01-29; bh=2hGJLfyBTU6CXfCCX2WfsGPteqGWiTNHiZDfCdghIPY=; b=R9/5AUlE81Pv7FWRKTnjvzKqQ8gBV1DNXXGM5pGVyTjzASPsYEPOziWtUrfSuaJhPOBw fwvaoqiqxinUilhav+ZkWnEBjZLq2XGQw9t3xW9dVXXZXP2OEIHd8SbX9zJSrgig0LJH GUkLUKcecDx3sAzLJ9GIAHS2z/PSDTpvq4+QgK+Tl7Mj6HYkj1//TZjERXfl/m8fh3Wo X9SCH5VaPsQxtHevtinajJ5qlVQxz2DKGYYxG0WzIhsdXqclTaDmlhhnpk2YaDMzyrh+ aT+vE9nhRKCYqG5mif34jo9FewcU8br7iiItBNqS+gTMTz+Kv6jGGpBAPydo2jsR0hg2 5Q== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2130.oracle.com with ESMTP id 36tsurafdw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 26 Feb 2021 15:59:22 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 11QFslAP043080; Fri, 26 Feb 2021 15:59:21 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2173.outbound.protection.outlook.com [104.47.59.173]) by aserp3020.oracle.com with ESMTP id 36ucb3jt8t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 26 Feb 2021 15:59:21 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PTB6bkMtqHe8tU6YSnK1FNL83Xa/VTys8DOcISpgecD4cWS5EZqysE0amzfhk6eWdviewcnBFBtWCeIiumeDkgqBKIHhFBewEalnzmooebfVd6y4AkXpj7DRZKb9+eOHSk5thoCg6AYopMRSad83YWtoVfdVj7bnxeEVmc0x+JF55d4UVLMuYKJU83aKw8q5y4gOje7QdHo+aA+m6jKjWUWad58pErd6IhvHom+xioGT6YDwzTM82FGzZGaG4rn5TJJH5/guoxaYRuT7xGUpkaBjpqKeoQ933L55xpzmv/qJ3iL/UtsN92ocvlqPooq54fdKamwGbjPIxGIKZjFi3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2hGJLfyBTU6CXfCCX2WfsGPteqGWiTNHiZDfCdghIPY=; b=Q+vI3/xkwjo+kvV9ONlhLcHJFp8sdAQsWXZBx3cLRWH65V092KwP2gQLyOkYK0ZjMwotlnurYYtVVkdENaaRRx7Wh6Kpq6QSH/FOs4EYS/t8QEui7hLT2TvIUb6+owMgy6NLJcdWfOCeWHJOmCFvscwdqnAqtuVQU4rW59xAzluz94npl74BaeBEHgpIX53aItet1zHAvMC/yXNmh8l7s4ki7dUC1byNgMW+JSazKOKFi0hkIQihbClWI5ZjuEgwJD9UN6oRPjMZOfE77cLoqYTHYgZutBeRSZwcAFLY9AtsIGS0zj8Y6hkGoVL0LAnBL4virNd/pJWhn21D4Dg5rw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2hGJLfyBTU6CXfCCX2WfsGPteqGWiTNHiZDfCdghIPY=; b=YcJGskFPfAwr+CO+88/6rDSfT0fwqL4DmdzIaxNj/DhTJY8JNlydvraPOq22/YI4HnXWogM9oneYcokpWoQWawBL8+CsxPtSXIt0NeV0a8gmErYgO2DUAxvyQfVRGBNDt40NZbUhGRbj4/XcUU4XYAtpA1On0hIjsZnaMhxz9Hc= Received: from SA2PR10MB4474.namprd10.prod.outlook.com (2603:10b6:806:11b::15) by SN6PR10MB2592.namprd10.prod.outlook.com (2603:10b6:805:4b::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3868.32; Fri, 26 Feb 2021 15:59:19 +0000 Received: from SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::b8d2:db6d:3e4b:d315]) by SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::b8d2:db6d:3e4b:d315%5]) with mapi id 15.20.3868.034; Fri, 26 Feb 2021 15:59:19 +0000 From: Drew Adams To: Lars Ingebrigtsen , =?utf-8?B?56mN5Li55bC8IERhbiBKYWNvYnNvbg==?= Subject: RE: [External] : bug#46783: Catch mistaken (query-replace "a" "a") Thread-Topic: [External] : bug#46783: Catch mistaken (query-replace "a" "a") Thread-Index: AQHXDB2oA8eHCrJPJUOUkjwS4oRj1apql31A Date: Fri, 26 Feb 2021 15:59:19 +0000 Message-ID: References: <87o8g7hjfu.5.fsf@jidanni.org> <874khzmcka.fsf@gnus.org> In-Reply-To: <874khzmcka.fsf@gnus.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: gnus.org; dkim=none (message not signed) header.d=none;gnus.org; dmarc=none action=none header.from=oracle.com; x-originating-ip: [73.170.83.28] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5950ad1b-2d7b-47d3-ae99-08d8da6f7a0e x-ms-traffictypediagnostic: SN6PR10MB2592: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: aPhLJ9Hdaai2ALzQ3L+Rae7M5QsuPSsDybV7HkgdBg7FmxZT6DQreLJWgoKeF7uULPvvYY+pJjsgH4ULFizk7gjecLI5SuitjH7Jw1y4iP0cdqnT8IXeaa/uUKj1RWZriQDpeBJYhkX9L4I6hlivm6lU+nAx5cJW5xPcdu94NyVvP48QWAUj5uqIDYQe0Y4qzbT+mts1yuKWJ6OXT6p0Ym4fzr0lnTBZrmJWxFSyUjWEiRradMGXGoHtjPQOSGNkNqWZ9yfbrV8S3e8tJRRN1vnWWVuaijIJ70yqbHnrw6RXxg8R2rzNv0vUFDLnJbd8g3qPxiuXtnc7bjOfCYF70FVV9bHKhp5GE8+GLNLu6w3NJLhyGdRyaWjzju8Yi3XN4qR5LMFh8P0Vmxznw7B11U3joIML6Ilb9judX41mks9bO14QFkqP5sz2Ge4iSje9L5a6WDFEFoySMGXYg2c7jOjxZV86hseM7Jy8psCGP2gqYoNgJ1XexTDXLyzML0fkzaJhdoHqzon/EBWaqSAeTg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SA2PR10MB4474.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(346002)(376002)(39860400002)(366004)(396003)(136003)(52536014)(64756008)(76116006)(66446008)(66556008)(44832011)(26005)(66946007)(66476007)(33656002)(5660300002)(8936002)(2906002)(186003)(9686003)(8676002)(4744005)(110136005)(7696005)(4326008)(6506007)(316002)(86362001)(55016002)(478600001)(71200400001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?utf-8?B?cGNaRzNvSWVCd0p0VFJqTEI0Rmt5bFN2Z0xScmdET2JPSklmdjR0Sk5pN2FC?= =?utf-8?B?ZGxOMk90anFEcUcyT3RGa1QrTFpyY2dLaDY3S2RUYTVtUnp4aTg2Z1pEMHdi?= =?utf-8?B?Y3RRcVlzOFo0cW9jTG9mM2hFMkU2RnR3MmhIZ3BaVWlLZlVqcUQvdHRaOXVC?= =?utf-8?B?WnptRTl1cFVjQmNGczlYRjE3dFdzcVpPditzb2dkK3VhU1JSYTZtdXk3Wi9o?= =?utf-8?B?cDBTTG9mTGMwN2JFVFR2bGJMNk45bytTdUkrazRNblZwMEJub2YrQTlmQ0F6?= =?utf-8?B?ZUg2TjQ1YTJRTm8zYzlLV2pRK09mMjR2UFZnWUttYk1aQjc5blVDTVZ2NldT?= =?utf-8?B?akJnVnNxL0lqVU5jS3dMT1IyMSs5VGRHL1JQU2ZDRUpHakk3UG8zMXJUalRy?= =?utf-8?B?WVM0aG1PbEZTeFBIK3hadkZWMWladkpZZXZOczJsdmkvTEFrekFDUW9KVlFY?= =?utf-8?B?WWlENzlLMm5odzFiWUt6N2VzMjhIaGVNNXBrTUg2UkYvdlRDVzFYeHUvZita?= =?utf-8?B?clRrU2VUZ21Zcy9QYnpwaU1GWTdETGhaeG14dWdvQ08reUZUcWtLYmtxSHpo?= =?utf-8?B?TTNrK0JEdkdkYnM1ZGI0WVdCVWc5MkhMNVBVeFpZMWlmOXB4NXBiSVhtNUFN?= =?utf-8?B?ZEZJT1FSTjdBcFArQmpIVXlmQnY2S1FzOW5JZ0p4NWVmYjhmbTR2ZDFhR3Rt?= =?utf-8?B?M08zSHlCTVF5cVM1UFFlZXVjSU1mMlBxKzJkUXZ4VUNxeHRQcWhBNHBoZ3NX?= =?utf-8?B?ZmpYRlZ2SmN6WW83RmJYdFdaVFVSOVc1QWM2MTQ2Wk9xc0Y5WGYyTTN0aCtS?= =?utf-8?B?T2R1cXAvbTBLb1VHaTNZZWNORDNrdW9uMXhNVVhQSWpCRDlxMTJYZDRJMGZy?= =?utf-8?B?YlRMOTViQWoxUXlVczlPRkxVRFJkTnRaQTN5UDhNZUFFZm9RMVNyVjJSb0NF?= =?utf-8?B?elpMRlNBUXQxVDNBV28xczE4bkQ3VDFUeGxaZGhmRkNmVDI2Tk9TK1hRRVVP?= =?utf-8?B?ck1PTE9mWFU4ald5M1NFS2dSbGJqT0puOFNGSEZCejduQkl3OTErRTJreTYy?= =?utf-8?B?aXFaakJJYVBZdXpVUTNoSG4vS3JRclkzOGdkWVk2aXUra3Jhcno3RHNoTjFp?= =?utf-8?B?WEgwT01GTEtVVG4rTk80WWxkQ1lWR3hwaDZRN3VETE1sd3lmU21Xam1WTkxr?= =?utf-8?B?cjVZTXhYMDhTVjBWVHF0TmM2aVVLc0hmYUhyeU90cXF5cUljc1BhdXBxOUJy?= =?utf-8?B?d3ZQWFNpYXI1Q0hlQ1crejM0aGRoMVA0NDhmYjArNy9xbE41QXY1Skx6NXlW?= =?utf-8?B?dHBuZHMzQ0ttMEFmeDV2VUpSRGgvOVk3USs5ZXFBNldWbWpRQmluUElhOVpv?= =?utf-8?B?UFU0OGlKSklieFBSYzN5eEVid2JBdHhkWVU5cVB6NExPVytyWlVQNUwxcU5E?= =?utf-8?B?anJDNnRkNGVld2VWL3VFZGhsNDRWSEFDbmdkbndTc2xUV0lpRldtRlBuODNJ?= =?utf-8?B?WEpHLzY5Y2xhWmZydnZLL2lNT3J3SHBldU1vNll6T1NueEhkSWZoZnM0NFJk?= =?utf-8?B?QTRqc3Urc2xkamtIYVBPN3NSZGJHSm4raU9USHcxaldPbTg3MkswSFFCbDJv?= =?utf-8?B?QWdsQUgxaDFjWURmVkE0eGlHNmwvWmlCUmFpaThickEwWkhOM3hURmh0eTJi?= =?utf-8?B?blNvMkJSMXk1QjA3R1NRWGhpUE5rd1lYVlc1KytJT1NIZXZYQUlBMEkxZUFC?= =?utf-8?Q?gWbxFfMVh0MP45v0i9MisU6dmWGZy5r3v2JXAxA?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA2PR10MB4474.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5950ad1b-2d7b-47d3-ae99-08d8da6f7a0e X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Feb 2021 15:59:19.5877 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: oFGU19E6d71rkeMyumQ7ypuZt0Q5SjgZMnMM7rv3TGNj2SI8ut0OMlAUdtwSJL+1Iq86Hw34+ldgu06/lspNqg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR10MB2592 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9907 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 mlxlogscore=999 adultscore=0 bulkscore=0 mlxscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2102260121 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9907 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 spamscore=0 priorityscore=1501 impostorscore=0 bulkscore=0 mlxscore=0 malwarescore=0 clxscore=1011 phishscore=0 mlxlogscore=999 lowpriorityscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2102260121 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 46783 Cc: "46783@debbugs.gnu.org" <46783@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) PiA+IE9uZSBtaWdodCBzYXkgIndlbGwgdGhlcmUgYXJlIHN0aWxsIHNvbWUgdXNlcyBmb3INCj4g PiByZXBsYWNpbmcgdGhlIHNhbWUgdGhpbmcgd2l0aCBpdHNlbGYuIiBObywgd3JvbmcuDQo+IA0K PiBUaGVyZSBpcyAtLSB0byByZW1vdmUgdGV4dCBwcm9wZXJ0aWVzLg0KDQpUaGlzLg0KDQpJdCdz IGFsc28gcG9zc2libGUgdGhhdCBzb21lb25lIHdhbnRzIHRvIHVzZQ0KdGhlIHF1ZXJ5LXJlcGxh Y2UgZGlhbG9nIGFzIGEgbWVhbnMgb2YgZWl0aGVyDQpuYXZpZ2F0aW5nIG9yIGNoZWNraW5nIHNv bWV0aGluZyBhdCBlYWNoDQpvY2N1cnJlbmNlIChlLmcuIGxvb2tpbmcgYXQgdGhlIGNvbnRleHQp LA0KZS5nLiwgYXMgYW4gYWx0ZXJuYXRpdmUgdG8gdXNpbmcgSXNlYXJjaCBvcg0KYG9jY3VyJy4N Cg0KWWVzLCB0aGVyZSBhcmUgb3RoZXIgd2F5cyB0byBhY2NvbXBsaXNoIHN1Y2gNCmFpbXMsIGJ1 dCBlYWNoIHdheSB0byBhY2NvbXBsaXNoIHNvbWV0aGluZw0KY2FuIGhhdmUgYWR2YW50YWdlcyBh bmQgZGlzYWR2YW50YWdlcy4NCg== From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 26 23:15:31 2021 Received: (at 46783) by debbugs.gnu.org; 27 Feb 2021 04:15:31 +0000 Received: from localhost ([127.0.0.1]:42961 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lFr0t-0001LR-33 for submit@debbugs.gnu.org; Fri, 26 Feb 2021 23:15:31 -0500 Received: from quimby.gnus.org ([95.216.78.240]:43272) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lFr0r-0001LC-Uv for 46783@debbugs.gnu.org; Fri, 26 Feb 2021 23:15:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=feIYOVurRZGj2QSeNRedlPIDDoZwg2USahO/Vj2iVRM=; b=HjoUxPm66Z2AmGt5PQ/BVeA0WD +E2g3S+ivj9Hg7Ccc498X5KgyEd6dgu3jS4uOkvR/y3ycn+R4EC6QCDozscW2kN+NJH62oSt3Zbtm Utrv6L4Ec4KyAzwyxU8y7Sgimhu2IeQQO4swgFuQXaplKnbg2QosOBxouCC/qk/AdG6M=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lFr0i-0001kh-UC; Sat, 27 Feb 2021 05:15:23 +0100 From: Lars Ingebrigtsen To: Robert Pluim Subject: Re: bug#46783: Catch mistaken (query-replace "a" "a") References: <87o8g7hjfu.5.fsf@jidanni.org> <874khzmcka.fsf@gnus.org> <874khz17mr.fsf@gmail.com> X-Now-Playing: Tuxedomoon's _Live in London (1982)_: "Allemande Bleue" Date: Sat, 27 Feb 2021 05:15:19 +0100 In-Reply-To: <874khz17mr.fsf@gmail.com> (Robert Pluim's message of "Fri, 26 Feb 2021 10:49:16 +0100") Message-ID: <878s7akuy0.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Robert Pluim writes: > I find the following quite useful: > > (require 'char-fold) > (setq replace-char-fold t) > C-x 8 RET e1 RET > (goto-char (point-min) > M-x query-replace RET a RET a Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 46783 Cc: 46783@debbugs.gnu.org, =?utf-8?B?56mN5Li55bC8?= Dan Jacobson X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Robert Pluim writes: > I find the following quite useful: > > (require 'char-fold) > (setq replace-char-fold t) > C-x 8 RET e1 RET > (goto-char (point-min) > M-x query-replace RET a RET a Right. So there are at least two use cases for doing (query-replace "a" "a"), so having `query-replace' query the user here seems like it would be annoying. So I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 26 23:15:36 2021 Received: (at control) by debbugs.gnu.org; 27 Feb 2021 04:15:36 +0000 Received: from localhost ([127.0.0.1]:42964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lFr0y-0001Lj-A7 for submit@debbugs.gnu.org; Fri, 26 Feb 2021 23:15:36 -0500 Received: from quimby.gnus.org ([95.216.78.240]:43286) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lFr0x-0001LK-5B for control@debbugs.gnu.org; Fri, 26 Feb 2021 23:15:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=U65PUgVc7s9iyin1tdXvNOX6wJimyr5UMWXVexQbq2A=; b=PdyuHRv9p5q87WEoSNgWlokvNW mVcA/cWl1wHWmFdHYJDWLK7XP5YxuqjAV5w9GxV1A0MAsMLS1m04av8g8Qbo2TrM1DEzEFfSQ8GOg O3s9q7Nox8h4b6Am4cvU4cyggoolnFn9j7weET/et49694NyAmWsaC8JVQWp3wO0wtVI=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lFr0p-0001kn-J9 for control@debbugs.gnu.org; Sat, 27 Feb 2021 05:15:29 +0100 Date: Sat, 27 Feb 2021 05:15:26 +0100 Message-Id: <877dmukuxt.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #46783 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 46783 notabug close 46783 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 46783 notabug close 46783 quit From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 27 11:10:31 2021 Received: (at 46783) by debbugs.gnu.org; 27 Feb 2021 16:10:31 +0000 Received: from localhost ([127.0.0.1]:45186 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lG2Ap-0000NQ-DA for submit@debbugs.gnu.org; Sat, 27 Feb 2021 11:10:31 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55136) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lG2An-0000NE-OI for 46783@debbugs.gnu.org; Sat, 27 Feb 2021 11:10:30 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34530) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lG2Ai-0002nc-AO; Sat, 27 Feb 2021 11:10:24 -0500 Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1lG2Ah-00072d-0w; Sat, 27 Feb 2021 11:10:23 -0500 Content-Type: text/plain; charset=Utf-8 From: Richard Stallman To: =?iso-8859-1?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson In-Reply-To: <87o8g7hjfu.5.fsf@jidanni.org> Subject: Re: bug#46783: Catch mistaken (query-replace "a" "a") References: <87o8g7hjfu.5.fsf@jidanni.org> Message-Id: Date: Sat, 27 Feb 2021 11:10:23 -0500 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 46783 Cc: 46783@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: rms@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > (query-replace "a" "a") should ask "Are you sure?" > Better yet: "Are you nuts?"... Emacs should not say such mean things to users. It should follow the Kind Communication Guidelines. It could say, "Are you serious?" But that has a flaw: it fails to say what the concrete issue is. We can't assume the user will figure this out from a vague expression of doubt, whether kind or not. Emavs must inform per. So it could say, "FROM-STRING and TO-STRING are identical -- are you serious?" -- Dr Richard Stallman Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org) From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 27 22:15:23 2021 Received: (at 46783) by debbugs.gnu.org; 28 Feb 2021 03:15:23 +0000 Received: from localhost ([127.0.0.1]:45655 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lGCYF-0007wQ-2n for submit@debbugs.gnu.org; Sat, 27 Feb 2021 22:15:23 -0500 Received: from cross.elm.relay.mailchannels.net ([23.83.212.46]:32363) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lGCY9-0007wE-PW for 46783@debbugs.gnu.org; Sat, 27 Feb 2021 22:15:21 -0500 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 7C9F5219EC; Sun, 28 Feb 2021 03:15:16 +0000 (UTC) Received: from pdx1-sub0-mail-a49.g.dreamhost.com (100-96-17-38.trex.outbound.svc.cluster.local [100.96.17.38]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 02A1921A3A; Sun, 28 Feb 2021 03:15:15 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from pdx1-sub0-mail-a49.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.96.17.38 (trex/6.0.2); Sun, 28 Feb 2021 03:15:16 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Power-Drop: 040d0d060a14b5a4_1614482116273_3361681072 X-MC-Loop-Signature: 1614482116273:420975010 X-MC-Ingress-Time: 1614482116273 Received: from pdx1-sub0-mail-a49.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a49.g.dreamhost.com (Postfix) with ESMTP id B2B5F7E583; Sat, 27 Feb 2021 19:15:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=Gc0kZqGXULUVxn9b+LTPQ7qSMAM=; b=VAjXAz7UcRMqn QMph88eACUwvTUKmWxnbItynmKLwgV4v3mLUhJkifw88+F3w7iq5PHuUCuKJeLut BlM0odG+KZuNJWjgfbJmksJZwqN/5AItWPHkpj2hbnWL9NFJXziCIcsZchRGKBhA wxtr3Vk31agmvzFQLb+JSXk2WZ3ajg= Received: from jidanni.org (114-46-60-234.dynamic-ip.hinet.net [114.46.60.234]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a49.g.dreamhost.com (Postfix) with ESMTPSA id 4E4487E4FC; Sat, 27 Feb 2021 19:15:14 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a49 From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson To: Richard Stallman Subject: Re: bug#46783: Catch mistaken (query-replace "a" "a") References: <87o8g7hjfu.5.fsf@jidanni.org> Date: Sun, 28 Feb 2021 07:07:48 +0800 Message-ID: <87im6dt8hn.5.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: >>>>> "RMS" == Richard Stallman writes: RMS> So it could say, "FROM-STRING and TO-STRING are identical -- are you serious?" Excellent points. Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [23.83.212.46 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [23.83.212.46 listed in wl.mailspike.net] 0.0 T_SPF_TEMPERROR SPF: test of record failed (temperror) 1.1 DATE_IN_PAST_03_06 Date: is 3 to 6 hours before Received: date 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-Debbugs-Envelope-To: 46783 Cc: 46783@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.1 (/) >>>>> "RMS" == Richard Stallman writes: RMS> So it could say, "FROM-STRING and TO-STRING are identical -- are you serious?" Excellent points. And for those power users who really are always serious, there could be a query-replace-skip-mental-health-check . Oops, I meant query-replace-skip-identical-string-check, or a dialog: You have used identical strings for both FROM-STRING and TO-STRING. Press: b to blunder on ahead ("Don't question my logic. I have my reasons.") ! to blunder on ahead and remember this for the remainder of your days. q to "quit while you are ahead." x to always bomb out forever. No more late night cocktails. d to launch the Emacs Eliza doctor program. 9 to call in a real doctor. 7 to show the Seven Signs of Senility checklist. From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 28 01:17:43 2021 Received: (at 46783) by debbugs.gnu.org; 28 Feb 2021 06:17:43 +0000 Received: from localhost ([127.0.0.1]:45747 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lGFOh-0005sA-J0 for submit@debbugs.gnu.org; Sun, 28 Feb 2021 01:17:43 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38376) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lGFOf-0005rw-8I for 46783@debbugs.gnu.org; Sun, 28 Feb 2021 01:17:42 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47568) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lGFOZ-00067c-Vm; Sun, 28 Feb 2021 01:17:35 -0500 Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1lGFOX-0002HT-VK; Sun, 28 Feb 2021 01:17:34 -0500 Content-Type: text/plain; charset=Utf-8 From: Richard Stallman To: =?iso-8859-1?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson In-Reply-To: <87im6dt8hn.5.fsf@jidanni.org> (message from =?iso-8859-1?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson on Sun, 28 Feb 2021 07:07:48 +0800) Subject: Re: bug#46783: Catch mistaken (query-replace "a" "a") References: <87o8g7hjfu.5.fsf@jidanni.org> <87im6dt8hn.5.fsf@jidanni.org> Message-Id: Date: Sun, 28 Feb 2021 01:17:33 -0500 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 46783 Cc: 46783@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: rms@gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > Press: > b to blunder on ahead ("Don't question my logic. I have my reasons.") > ! to blunder on ahead and remember this for the remainder of your days. > q to "quit while you are ahead." > x to always bomb out forever. No more late night cocktails. > d to launch the Emacs Eliza doctor program. > 9 to call in a real doctor. > 7 to show the Seven Signs of Senility checklist. Could you have this ready for release by April 1 -- with documentation? -- Dr Richard Stallman Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org) From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 28 22:52:54 2021 Received: (at 46783) by debbugs.gnu.org; 1 Mar 2021 03:52:54 +0000 Received: from localhost ([127.0.0.1]:47713 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lGZc6-0003qD-4b for submit@debbugs.gnu.org; Sun, 28 Feb 2021 22:52:54 -0500 Received: from butterfly.birch.relay.mailchannels.net ([23.83.209.27]:7747) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lGZc4-0003q4-Aj for 46783@debbugs.gnu.org; Sun, 28 Feb 2021 22:52:53 -0500 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id C7630121DCF; Mon, 1 Mar 2021 03:52:50 +0000 (UTC) Received: from pdx1-sub0-mail-a29.g.dreamhost.com (100-96-10-164.trex.outbound.svc.cluster.local [100.96.10.164]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 4285E121B90; Mon, 1 Mar 2021 03:52:50 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from pdx1-sub0-mail-a29.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.96.10.164 (trex/6.0.2); Mon, 01 Mar 2021 03:52:50 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Cold-Robust: 56288403128ad7d9_1614570770510_3745780481 X-MC-Loop-Signature: 1614570770510:1023557275 X-MC-Ingress-Time: 1614570770510 Received: from pdx1-sub0-mail-a29.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a29.g.dreamhost.com (Postfix) with ESMTP id 01B707EFC7; Sun, 28 Feb 2021 19:52:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type :content-transfer-encoding; s=jidanni.org; bh=KE6KmPPXym9GVX1LAW S7EvPJ6Ok=; b=IIo9U9CAXicDLQzL3wWy4Yvrok2VEsckMuumsgO+jk9Kid7DjG NzV/GcdMqA1ebfJU1OIMtLVCeahclnmBsBLHCF91ZsDqXkv6vlJTBviuWgbKVLWT Vhfpuqy/LEBzM+Dfp78Qyt9rSKMEUx92v+x9WXTyTVnuw2uYS7w8Tx718= Received: from jidanni.org (111-246-96-43.dynamic-ip.hinet.net [111.246.96.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a29.g.dreamhost.com (Postfix) with ESMTPSA id 8AB897EDB6; Sun, 28 Feb 2021 19:52:49 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a29 From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson To: Richard Stallman Subject: Re: bug#46783: Catch mistaken (query-replace "a" "a") References: <87o8g7hjfu.5.fsf@jidanni.org> <87im6dt8hn.5.fsf@jidanni.org> Date: Mon, 01 Mar 2021 11:52:45 +0800 Message-ID: <87r1kzwmwi.5.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 46783 Cc: 46783@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> "RMS" =3D=3D Richard Stallman writes: RMS> Could you have this ready for release by April 1 -- with documentati= on? Wait, don't forget EmacsCare=E2=84=A2! EmacsCare=E2=84=A2, on by default, monitors the user's keystrokes 24 hour= s a day for signs of OldTimersDisease. Holding down keys too long, saliva dribbling on the keyboard, etc. will all notify caretakers to check on the grandperson. Keyboard navigation errors, and bad cognitive choices, like "trading apples for apples" also calculate in one's final score. Sent to caretakers every month. Though there is no cure yet for OldTimersDisease, EmacsCare=E2=84=A2 is r= eady for the Baby Boomers now reaching their golden years and worse. From unknown Sat Jun 21 10:23:53 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 29 Mar 2021 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator