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: Mon, 28 Sep 2020 15:50:19 +0200 Message-ID: References: <20200927124520.25321.62354@vcs0.savannah.gnu.org> <20200927124522.BA20F207E0@vcs0.savannah.gnu.org> <9B45E488-F245-4A94-A492-C60B617A734B@acm.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24671"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= , emacs-devel@gnu.org To: John Yates Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Sep 28 16:00:25 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 1kMthZ-0006Ge-AJ for ged-emacs-devel@m.gmane-mx.org; Mon, 28 Sep 2020 16:00:25 +0200 Original-Received: from localhost ([::1]:41162 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kMthY-0002xM-9L for ged-emacs-devel@m.gmane-mx.org; Mon, 28 Sep 2020 10:00:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40764) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kMtY0-0007qx-Ip for emacs-devel@gnu.org; Mon, 28 Sep 2020 09:50:32 -0400 Original-Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]:43593) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kMtXw-0006gC-BF for emacs-devel@gnu.org; Mon, 28 Sep 2020 09:50:32 -0400 Original-Received: by mail-wr1-x432.google.com with SMTP id k15so1400567wrn.10 for ; Mon, 28 Sep 2020 06:50:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:references:cc:date:in-reply-to:message-id :mime-version; bh=HYN1n8qcNcDAaHkxCnQptcBXhstVjvwZVQXYpeM0x9s=; b=gnbCULNlQ0cjNOsRL5l+M2zEstbm4fYXHeiewB8ZKuD3dYcqTTI7T3tycnkvHvcz5j OVMHYiVWtXM7k5ZlcuhY5Calbi2eWIfpIiUb3ffK6csPBzOL3rYostrvu+kfgHdRZETW fd/eWFmZOruN8LZlzvrMrqLqBRNjxOjZP/w4Ay8iCC84nvFAWR4ad6bXj0T03eN7jJhd XDWSKHtBB1eOnP+byo3/EmDn3ukQobFCpdJ9LJYVh3WA3Ao5t2ZINnI6EMe48EA3S3yV 6EDOqpogsrAjA9ZnHQll04X2xLZ5GJiPV0fjsX13kCKqQk2S7eZOtOYxUZX2hzlBLarh U3MA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:references:cc:date:in-reply-to :message-id:mime-version; bh=HYN1n8qcNcDAaHkxCnQptcBXhstVjvwZVQXYpeM0x9s=; b=JTdCCOr8U1oAWYAFdsyBH3GfnERpv6A2UDcnM0tdYaniArfalc1SpAMpibmxKOMP2w wBnZ4x/7lPMGjfsLnoFUyj79yYXIkvD29XErk1HNFXS3blOVmzY3HqUq8VoGAgNuk2oP 1zZkghkEVoPsAQALHq/JOKPBwySGmYTnev5Fji42smNSrv0L+AgmtZ6weDeSkf5RUB9v STTdJF5EG3FxwoK8qUSpOS+eXcSCpyPQLLVMGNsdYixN35GfmPYKjLp00vCL9kIXBRtD bq12+QNC8NzCeB9KY+YPbsma7xX5R/Y+K1MYTFhes9fMQG1qFDQiN5XOJQS6yyRhbw1x /iSg== X-Gm-Message-State: AOAM530PdZ8gpzRsp82IeI0q33DPAfAyZCv85pNJVC7P9bY+s3F1Hgsl ZmCkKrLgXmLvm61PTy6pOcJIqRVDcOM= X-Google-Smtp-Source: ABdhPJwXkIsUuoyTmG9djO2NMG4tHkV7IFQ/F1s31rvvqwU9HBM5JuCSvZoiM9MX4nzoDkIxvNJPpg== X-Received: by 2002:adf:aadb:: with SMTP id i27mr1851281wrc.258.1601301021809; Mon, 28 Sep 2020 06:50:21 -0700 (PDT) Original-Received: from rpluim-mac ([2a01:e34:ecfc:a860:ec55:f484:fbc:8e04]) by smtp.gmail.com with ESMTPSA id 91sm1651632wrq.9.2020.09.28.06.50.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Sep 2020 06:50:20 -0700 (PDT) In-Reply-To: (John Yates's message of "Mon, 28 Sep 2020 07:43:03 -0400") Received-SPF: pass client-ip=2a00:1450:4864:20::432; envelope-from=rpluim@gmail.com; helo=mail-wr1-x432.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:256593 Archived-At: >>>>> On Mon, 28 Sep 2020 07:43:03 -0400, John Yates said: John> Is there a role for the imperative mood? John> Return @var{instring} after replacing every occurence of John> @var{fromstring} with @var{tostring}. John> I find it typically shorter and more contractual. I think that fails to pass Mattias' requirement of making it clear that the returned string is not a destructively modified 'instring' Robert --