From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= Newsgroups: gmane.emacs.devel Subject: Re: master 583cb26 2/3: Improve accuracy in string-replace description (bug#43598) Date: Tue, 29 Sep 2020 16:08:09 +0200 Message-ID: <9E276356-7FBE-4B99-A180-134051CB4ACE@acm.org> 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> <87r1qkem66.fsf@gnus.org> Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.17\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38127"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Robert Pluim , Emacs developers , Drew Adams , John Yates To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Sep 29 16:13:02 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 1kNGNK-0009pB-K0 for ged-emacs-devel@m.gmane-mx.org; Tue, 29 Sep 2020 16:13:02 +0200 Original-Received: from localhost ([::1]:48104 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kNGNJ-0002bc-MB for ged-emacs-devel@m.gmane-mx.org; Tue, 29 Sep 2020 10:13:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48214) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kNGIs-0004o0-G7 for emacs-devel@gnu.org; Tue, 29 Sep 2020 10:08:26 -0400 Original-Received: from mail72c50.megamailservers.eu ([91.136.10.82]:57496 helo=mail92c50.megamailservers.eu) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kNGIm-0005QV-Mu for emacs-devel@gnu.org; Tue, 29 Sep 2020 10:08:26 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1601388492; bh=wqyyra5PRxYL+k52z9sPAB7En7dnP0viCJRqE5fkgkQ=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=MT8oMPd1u1N6qDs7+0/vs2sDj7VF99xYcstPa74lywb/8ZK30pj5hdYHt3nV+0NRf 2UMuv/NGIOXt0nXI83T5TNdogVjAjBdoHGOKJKjXQSO8DmWbXldLIJJHqOHpMZwf+Q nkIysHaFMHstj0AXaFr5aiJCUh6IDsWeDQaLY7tE= Feedback-ID: mattiase@acm.or Original-Received: from stanniol.lan (c-304ee655.032-75-73746f71.bbcust.telenor.se [85.230.78.48]) (authenticated bits=0) by mail92c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 08TE8AVN026510; Tue, 29 Sep 2020 14:08:11 +0000 In-Reply-To: <87r1qkem66.fsf@gnus.org> X-Mailer: Apple Mail (2.3445.104.17) X-CTCH-RefID: str=0001.0A782F28.5F733FCC.00C3, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=aY8fYigt c=1 sm=1 tr=0 a=63Z2wlQ1NB3xHpgKFKE71g==:117 a=63Z2wlQ1NB3xHpgKFKE71g==:17 a=kj9zAlcOel0A:10 a=M51BFTxLslgA:10 a=OocQHUDgAAAA:8 a=QaUqgL3MIRSOL2g-3gwA:9 a=xuqpBN_9UB3NEfQN:21 a=RzuW_88nOQYmoT1b:21 a=CjuIK1q_8ugA:10 a=3fbLLLLNgwQA:10 a=xUZTl98r3Qw_uB5NK3jt:22 X-Origin-Country: SE Received-SPF: softfail client-ip=91.136.10.82; envelope-from=mattiase@acm.org; helo=mail92c50.megamailservers.eu X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/29 10:08:14 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x (no timestamps) [generic] X-Spam_score_int: 7 X-Spam_score: 0.7 X-Spam_bar: / X-Spam_report: (0.7 / 5.0 requ) BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665 autolearn=no 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:256696 Archived-At: 29 sep. 2020 kl. 15.40 skrev Lars Ingebrigtsen : >> Is it guaranteed to be new if no replacements happen? >=20 > Nope. It used to be, but it's unnecessary and more inefficient. The returned string is not guaranteed to be new even if replacements = took place, for that matter.