From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John Yates Newsgroups: gmane.emacs.devel Subject: Re: master 583cb26 2/3: Improve accuracy in string-replace description (bug#43598) Date: Mon, 28 Sep 2020 18:36:24 -0400 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> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30201"; mail-complaints-to="usenet@ciao.gmane.io" Cc: =?UTF-8?Q?Mattias_Engdeg=C3=A5rd?= , Robert Pluim , Drew Adams , Emacs developers To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Sep 29 00:38:10 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 1kN1mb-0007lw-Nt for ged-emacs-devel@m.gmane-mx.org; Tue, 29 Sep 2020 00:38:09 +0200 Original-Received: from localhost ([::1]:52294 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kN1ma-0006q5-OL for ged-emacs-devel@m.gmane-mx.org; Mon, 28 Sep 2020 18:38:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36560) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kN1lA-0006M6-4i for emacs-devel@gnu.org; Mon, 28 Sep 2020 18:36:40 -0400 Original-Received: from mail-lj1-f182.google.com ([209.85.208.182]:45926) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kN1l8-0001in-DV; Mon, 28 Sep 2020 18:36:39 -0400 Original-Received: by mail-lj1-f182.google.com with SMTP id c2so2342460ljj.12; Mon, 28 Sep 2020 15:36:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Yvbv7dsX56tFHeNOVgAvti6opILDMrLdghQkFUHxoj4=; b=hKODV3Yw485US9bJzwMllzLHR8lKbKaMZYh4q5L98hpyOb/0Xq4sgLGE0Czk9nyP8G rqYsq857DcNdROEAAkF2h/Tx1gPEF5Q3r5jNO2U8rOHam6qZjtXUms0GBHXOzkeQumiE uIVywKPdizxTqpsHfAEgj4LIxVLUQOkRJ4gI7bScB0ULUe3T6NaKtbuRQMkrSJaFU/U+ 47PbbBZwibiDKwh5LqNfKhfCrXacE6ONw01uRwE8jA+rcQE0K9db+x7yfSGb/eTJqkNH wAc8nukVZr38dq/YPgh5etDcUVnIz/H8yoFoVZRNAFXse5ETwgu7hVUhLNf5gJMNQ/E7 IKSA== X-Gm-Message-State: AOAM530dMpwkBlUn7YUXLv94bzS1CjL4HXZ7XnK5KFDL42JebqiSFpw7 Pyve5A/brQeO5nW+KoAE1zgryxP8HzxcMuHIb/UwKpjrxg0= X-Google-Smtp-Source: ABdhPJw4FpGvy8Y9D+T8MhSNHiqqUjifB1/rHuyu6E9ueYn6CLvT6pnEGGfPiofTClHQLIzolUg9w0zQY76A61IanYs= X-Received: by 2002:a2e:8810:: with SMTP id x16mr209185ljh.21.1601332595901; Mon, 28 Sep 2020 15:36:35 -0700 (PDT) In-Reply-To: <83k0wdlqj8.fsf@gnu.org> Received-SPF: pass client-ip=209.85.208.182; envelope-from=john.yates.sheets@gmail.com; helo=mail-lj1-f182.google.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/28 18:36:36 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] 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, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.199, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.614, 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:256646 Archived-At: On Mon, Sep 28, 2020 at 2:12 PM Eli Zaretskii wrote: > > > What do you find extremely confusing about it? > > The "equal" part. Return a string equivalent to @var{instring} with every occurence of @var{fromstring} replaced by @var{tostring}. This has the virtue that it does not commit to returning a string distinct from @var{instring} when there are no replacements. Interesting that we are wordsmithing new and equals. Originally I introduced this wording to solicit feedback on adopting the imperative mood. Cohorts of git users are being taught to use it. And as I stated in my first email, I find it emphasizes the contractual aspect of an API. /john