From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: master baf331e 3/3: Rename replace-in-string to string-replace Date: Mon, 28 Sep 2020 17:44:14 +0200 Message-ID: <87sgb1gb3l.fsf@gnus.org> References: <20200926222500.20662.9159@vcs0.savannah.gnu.org> <20200926222503.227F720441@vcs0.savannah.gnu.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="17710"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Robert Pluim , Emacs developers To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Sep 28 17:45: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 1kMvL8-0004Mi-9M for ged-emacs-devel@m.gmane-mx.org; Mon, 28 Sep 2020 17:45:22 +0200 Original-Received: from localhost ([::1]:42336 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kMvL7-0008Kf-Ab for ged-emacs-devel@m.gmane-mx.org; Mon, 28 Sep 2020 11:45:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52724) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kMvKD-0007m4-MQ for emacs-devel@gnu.org; Mon, 28 Sep 2020 11:44:25 -0400 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:41262) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kMvKB-0000Oc-Ui for emacs-devel@gnu.org; Mon, 28 Sep 2020 11:44:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=KWVsBTyOweC0kgbm2uiM/jNzuVsVPEI26thAoOO91h4=; b=HLxQAL/A5iMvPx+0GMjKfTvJQt uzUg3TjP+5N70srgTbhlL8Aq1rkEfdmzDCNTf5bSCJDLftMDfp42SbdNtYGdAnPkdQSj4GnW3NmSo F4YwNaJGgIhapKUHVZlb47MV0vGd07iBkSGWbHcYOdvvJGlf+WivvAHgoe4mtSipLi3I=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kMvK4-0000A2-7a; Mon, 28 Sep 2020 17:44:18 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEUnGx1gVVSEenm1 rqz////q5UYNAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+QJHA8pK7V4WPQAAAGySURBVDjLbZPbgYUg DEQTbCDBBgxp4Er6720noFzdXX5UjpMhD4hYuASREbGqUSOqXRiPC5wDNKpEe5h+QSqsnRP0CegG DaAR7xHtHarpUNSI3t/AzmEeWM9QZYaCByQL5Ju2O1Q4yQCSoKbCp8cw1y/ol4cpIr9B/ZqrPAFC 8QTlCYKcPQbgX6AiTaxKXFUZoM1Qc3sAfgIomk0gcL8ANoOwiQ0pAARw5DHzoFrNqiiPT16gdM4/ 8+0CMgE1zX1OjzeANdqK5e9QE9QbUCp2XiDJBJQKJx5N/A3YpQ2Q6Vm9AZq1ZzvLBKp7Wo/MywbA yO+u1ahxAkpg+g/wVNyrUmajI989pmHWcZbkWvv5+OChaAYFI9Qf0NCV8EBldQHMVoJimDIG/txg HqJ0iYDHFiIvgBzcs5TBL0WWo2ydjszlWIBl75lcLwfC1c9T0ZGQqAu8XdZxVb0jWeNAK0u3h8JD m1TumFWPJ4g46lGkb3mwc4LZqDj5ZHPcOQz7Aqx5fau61ZO2TOcLcJpxXaxhED4rFIBkEWG1NUzj w8OIe15viXqWFQpVMMxzyQvmn+ABfgCqME+6CcvxdQAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMC0w OS0yOFQxNTo0MTo0MyswMDowMB9pqhkAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjAtMDktMjhUMTU6 NDE6NDMrMDA6MDBuNBKlAAAAAElFTkSuQmCC X-Now-Playing: Pet Shop Boys's _Alternative (cd2)_: "If Love Were All" In-Reply-To: (Stefan Kangas's message of "Mon, 28 Sep 2020 16:56:28 +0200") Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org 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, 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:256610 Archived-At: Stefan Kangas writes: > Robert Pluim writes: > >> Do we need a (defalias 'string-replace-regexp >> 'replace-regexp-in-string)? > > Or (define-obsolete-function-alias 'replace-regexp-in-string > #'string-replace-regexp "28.1") I sympathise with the impulse, because `replace-regexp-in-string' is probably the most awkward of the commonly used function names, in my extremely, super-duper, incredibly humble opinion (nobody has humbler opinions than I do, everybody knows that). But I don't think the churn would be worth it. (And shouldn't it be `re-replace'? `regexp-replace-string'? Let the bikeshedding commence!) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no