From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: master 583cb26 2/3: Improve accuracy in string-replace description (bug#43598) Date: Tue, 29 Sep 2020 17:23:58 +0200 Message-ID: References: <20200927124520.25321.62354@vcs0.savannah.gnu.org> <20200927124522.BA20F207E0@vcs0.savannah.gnu.org> <9B45E488-F245-4A94-A492-C60B617A734B@acm.org> <50bea60b-b70b-4a80-b85b-0c9283a033de@default> <83o8lplu2v.fsf@gnu.org> <83k0wdlqj8.fsf@gnu.org> <83d025l34x.fsf@gnu.org> <83zh58k6a8.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18192"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mattiase@acm.org, john@yates-sheets.org, drew.adams@oracle.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Sep 29 17:25:24 2020 Return-path: Envelope-to: ged-emacs-devel@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 1kNHVM-0004dS-0q for ged-emacs-devel@m.gmane-mx.org; Tue, 29 Sep 2020 17:25:24 +0200 Original-Received: from localhost ([::1]:57326 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kNHVK-0005mF-Jf for ged-emacs-devel@m.gmane-mx.org; Tue, 29 Sep 2020 11:25:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42370) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kNHU9-0004Us-Bo for emacs-devel@gnu.org; Tue, 29 Sep 2020 11:24:09 -0400 Original-Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:41325) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kNHU2-0000ib-V2; Tue, 29 Sep 2020 11:24:09 -0400 Original-Received: by mail-wr1-x434.google.com with SMTP id w5so5858776wrp.8; Tue, 29 Sep 2020 08:24:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=jbaBjxHn0Opo8ADdw3/+WzKau4np8A80NtUNcs/sZ/U=; b=h2tOwLUnDSD7SQH9FMwaJbvo7GdVUwq8eQ2C4RUgn94Y8/Rqvg660h1Rq7M6ukwmy3 D2oFMsUJTno0oBbygZiWA3QL12cuubnyURBzjKMsUZUMAlxIX7UEyrvWAOBbOXXY9kP+ LEGf9nj6MebR7Fr8AjRvt+dd7AKDy3PmI7Y0fLjkvSZi7epSL1Ifgj5QKk0FiUSn5JuX DqcEu7GIrVPw6Bjzot//ZhzPnHZDjeKDyKulvnnN5bvsgrwfTy8VPvG8dc9+9gCuaXnm zwcYe6Z7FGcKfKzkGiv+oCqxM9xP58dKhcJ7Ii3tRfi0dYF7TapBEKLfnd0dUblPT5on ubQQ== 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 :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=jbaBjxHn0Opo8ADdw3/+WzKau4np8A80NtUNcs/sZ/U=; b=IrihHn7NJExh9GA+YscisPPVY834/ZaM0ofY3gc0hn551gbMWIqLOTLqUc/2S9kskX Mk4OuhXXcoqEnDivpGKFQ0uh1IDWSdAlFRiJ250fCLOPAIdeAi9xtFKC9UQ5IUzKR7C3 HT3q9R7HHKibToA3vYnxWqE7BCMeZO3H8vxEQabfDdGFq4azSruF++5fd1524esziQPZ iVnxhkOBetQCl3kywMHVQfcbNwgs+Sa1xdGybODTSV7moa4B1Pk8NdIoJE/ijZIdgUs9 ifqN1vvZd/G3tc6Jeo7VKr0tqZjbqMskslXg0YtWSN3SZuJvkJ4WOh4wwgHpE7yjh+tM fQ/g== X-Gm-Message-State: AOAM533SWmpUGbLwA4mblbHbIrT4AxF2+Vs5KKqLZpcH7lVsgSe9kQ7c B5713Jd4rI7+3FnsbkZul7cSGEPczWK4RA== X-Google-Smtp-Source: ABdhPJzdGNnnhkR+ZvLvWbXMVwAsn92diOjxt4ZbfAk9GKGy7VtaLV9nCJe4t/TY1GHAWHvRtYdLwA== X-Received: by 2002:adf:ce05:: with SMTP id p5mr4932428wrn.110.1601393040408; Tue, 29 Sep 2020 08:24:00 -0700 (PDT) Original-Received: from rpluim-mac ([2a01:e34:ecfc:a860:ecae:91ea:4618:c981]) by smtp.gmail.com with ESMTPSA id l126sm5999110wmf.39.2020.09.29.08.23.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Sep 2020 08:23:59 -0700 (PDT) Gmane-Reply-To-List: yes In-Reply-To: <83zh58k6a8.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 29 Sep 2020 17:26:55 +0300") Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=rpluim@gmail.com; helo=mail-wr1-x434.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:256709 Archived-At: >>>>> On Tue, 29 Sep 2020 17:26:55 +0300, Eli Zaretskii said: >> From: Robert Pluim >> Cc: John Yates , drew.adams@oracle.com, >> mattiase@acm.org, emacs-devel@gnu.org >> Date: Tue, 29 Sep 2020 09:12:09 +0200 >>=20 Eli> What's wrong with the below? That's the natural way I'd say that. >>=20 Eli> Replace every occurrence of FROMSTRING with TOSTRING in INSTRING, Eli> and return the result. >>=20 >> That=CA=BCs the 'imperative' version of what I originally proposed. = I like >> it. Eli> Who did NOT like it, and why? I=CA=BCm not going to go back over this already too long thread, but there were various calls to have the word 'equal' appear, when my whole starting point was that the result string would not be equal to the original (except when it is :-)) Robert --=20