From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bozhidar Batsov Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] * lisp/subr.el (string-suffix-p): New function. Date: Fri, 22 Nov 2013 09:06:10 +0200 Message-ID: References: <96EB3F8805134461A3BA58983F643449@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e0115f8fa27e2d304ebbea677 X-Trace: ger.gmane.org 1385103978 13261 80.91.229.3 (22 Nov 2013 07:06:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Nov 2013 07:06:18 +0000 (UTC) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 22 08:06:21 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Vjkok-0007ab-Bc for ged-emacs-devel@m.gmane.org; Fri, 22 Nov 2013 08:06:18 +0100 Original-Received: from localhost ([::1]:37197 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vjkoj-0005WG-Mr for ged-emacs-devel@m.gmane.org; Fri, 22 Nov 2013 02:06:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50500) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vjkof-0005WB-RS for emacs-devel@gnu.org; Fri, 22 Nov 2013 02:06:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vjkod-0007wh-Ob for emacs-devel@gnu.org; Fri, 22 Nov 2013 02:06:13 -0500 Original-Received: from mail-oa0-x232.google.com ([2607:f8b0:4003:c02::232]:45809) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vjkod-0007wX-JE for emacs-devel@gnu.org; Fri, 22 Nov 2013 02:06:11 -0500 Original-Received: by mail-oa0-f50.google.com with SMTP id n16so937848oag.23 for ; Thu, 21 Nov 2013 23:06:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=kmfqK0/bqHZb5CtgpEBNOsgriRsq4TAmesGLeSEMYeI=; b=Y56e7cDsWdc1Mx01gZmjAoixMeBHkyDntdviSoAZV6rd/1f2oj0UGhJ+nC50WCgcQk ADdtVMcz2ixmMD2KBPDA2n5yEhIMOXeKKkVV1iYmqDyAW7znA4Mb/ebgor79imVEfZym EoZODl6ZGf586QnpioHEXQVDYMhgQT9qbaamjHncq6y7p8kLZ/CUYfOx+8Nrw/HC+F5x q2VKl2gtfZ60CHxaL5pOijT1MXZMf8muMFh/LxUgVp36+aABcbousqw0EVtEdflqeqoT pdk8Yti8EcCKdk1c/HQjKwkhfFD+d72eIAPiim+rboK9n3eXSC3NgTyolFw+uTT2eGFJ EQhA== X-Received: by 10.60.156.232 with SMTP id wh8mr648419oeb.56.1385103970782; Thu, 21 Nov 2013 23:06:10 -0800 (PST) Original-Received: by 10.76.21.207 with HTTP; Thu, 21 Nov 2013 23:06:10 -0800 (PST) In-Reply-To: <96EB3F8805134461A3BA58983F643449@gmail.com> X-Google-Sender-Auth: 9XShDlMgv8wKyF8PNpcbXvND8Lg X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c02::232 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:165536 Archived-At: --089e0115f8fa27e2d304ebbea677 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable No comments =3D=3D no objections? :-) On 20 November 2013 13:24, Bozhidar Batsov wrote: > Hi guys, > > We do have `string-prefix-p' function, but oddly enough we didn=E2=80=99t= have a > matching `string-suffix-p', so I=E2=80=99ve implemented it. > > I also think it might be a good idea to alias those two functions to > `string-starts-with-p' and `string-ends-with-p=E2=80=99. > > -- > Cheers, > Bozhidar > > --089e0115f8fa27e2d304ebbea677 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
No comments =3D=3D no objections? :-)


On 20 November 2013 13:24, B= ozhidar Batsov <bozhidar@batsov.com> wrote:
Hi guys,

We do have `string-prefix-p' function, bu= t oddly enough we didn=E2=80=99t have a matching `string-suffix-p', so = I=E2=80=99ve implemented it.

I also think it might be a good idea to alias those two functions t= o `string-starts-with-p' and `string-ends-with-p=E2=80=99.
=

--=C2=A0
Cheers,
Bozhidar


--089e0115f8fa27e2d304ebbea677--