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 09:12:09 +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> 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="7387"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mattiase@acm.org, emacs-devel@gnu.org, drew.adams@oracle.com, John Yates To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Sep 29 09:13:20 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 1kN9p9-0001pW-QF for ged-emacs-devel@m.gmane-mx.org; Tue, 29 Sep 2020 09:13:19 +0200 Original-Received: from localhost ([::1]:59988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kN9p8-0007oF-SU for ged-emacs-devel@m.gmane-mx.org; Tue, 29 Sep 2020 03:13:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55670) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kN9o7-0006PW-Qq for emacs-devel@gnu.org; Tue, 29 Sep 2020 03:12:15 -0400 Original-Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:40417) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kN9o6-0000I2-7F; Tue, 29 Sep 2020 03:12:15 -0400 Original-Received: by mail-wr1-x42d.google.com with SMTP id j2so4065265wrx.7; Tue, 29 Sep 2020 00:12:13 -0700 (PDT) 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=OEN5Up0g74aBZtQEr60FfYS988TCwCxj1HL0+gttTEs=; b=qQtBDkhHtlVIwhXhChQW4Zc5AQI9r1olbmI0iNZWeFNWcNTxsDsMRBcNSfqT7RWzzm t+B/Tragu6dd8n+oiFeT72gbvdlea/CFCAzfvYGHkOLjAGMOAFPZJksTYFf4N0wmlAls k0c5Ck9jweKnMFeXP1DbBfwid0l97UoIAbVsXxbqIYW5Rra4M2dzH1S+OtQ+10JJU2aU pzlpLeOeJSn4nVOLCqgfOTma1FWPTI32mhZ2uw3KZU6N+iOOiRbTjG1KS6U3zBg3YwBF 0G0qivroUlYVXHJZJGa7clKnOLKTH/mpmZlQjzOzXXqyUIpzp0EQJKVsjiFo1JxcEGm0 E56g== 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=OEN5Up0g74aBZtQEr60FfYS988TCwCxj1HL0+gttTEs=; b=tKUBYyKFDzropkZAGmebmhE6bsL8DebW8WDVDLVqAcBmWPgBAOv2nSJZEwoKZUWKpQ JTNO5O1R+bgC/ziUeNZZXwb0+cb8/G3PH/N0x4AYx5q6z0AyCfc/9tYaX9rVkDtT2u73 DOrwOMBHSzl8jinDZv8aLcaxdV3kLn2cNnuweS1K4nHOmmLwwx4XQuJmWw/TtPv9w5Gz 1u0XYZtrfcHG/si/tHpxu13+y3rlAxXtADZjKD6CKbApr146x/AICdmGUl7/Yt0PSEtt acZxAnUuIDmFOEI3BDK1gQj0kW4kCfnC9CVIHU8GKOp7NjiJaOqoFL0KO1uTSfk+fkjb p+pg== X-Gm-Message-State: AOAM532V0ZG+pE6QRvz4KNKxH/4b5FDt8VM/hWjxP+z3lcBTzuylQttT PeogoiNrlYwnzijTbdsxQTb8ueQjh4Q= X-Google-Smtp-Source: ABdhPJzUv/WTTWMCFvu13M2hMmvAW2Y8LS5pHWONhLBBrUL6vYP9ULEIzt6BxYVdb1JtGA3W6maI4w== X-Received: by 2002:adf:fe43:: with SMTP id m3mr2508965wrs.19.1601363531781; Tue, 29 Sep 2020 00:12:11 -0700 (PDT) Original-Received: from rpluim-mac ([2a01:e34:ecfc:a860:ec55:f484:fbc:8e04]) by smtp.gmail.com with ESMTPSA id 10sm4064601wmi.37.2020.09.29.00.12.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Sep 2020 00:12:10 -0700 (PDT) In-Reply-To: <83d025l34x.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 29 Sep 2020 05:37:18 +0300") Received-SPF: pass client-ip=2a00:1450:4864:20::42d; envelope-from=rpluim@gmail.com; helo=mail-wr1-x42d.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:256671 Archived-At: >>>>> On Tue, 29 Sep 2020 05:37:18 +0300, Eli Zaretskii said: >> From: John Yates >> Date: Mon, 28 Sep 2020 18:36:24 -0400 >> Cc: Drew Adams , Robert Pluim ,=20 >> Mattias Engdeg=C3=A5rd ,=20 >> Emacs developers >>=20 >> On Mon, Sep 28, 2020 at 2:12 PM Eli Zaretskii wrote: >> > >> > > What do you find extremely confusing about it? >> > >> > The "equal" part. >>=20 >> Return a string equivalent to @var{instring} with every occurence >> of @var{fromstring} replaced by @var{tostring}. Eli> Thanks, this is better. But "equivalent" is too vague to be usefu= l. Eli> What's wrong with the below? That's the natural way I'd say that. Eli> Replace every occurrence of FROMSTRING with TOSTRING in INSTRING, Eli> and return the result. That=CA=BCs the 'imperative' version of what I originally proposed. I like it. Robert --=20