From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nicolas Petton Newsgroups: gmane.emacs.help,gmane.emacs.devel Subject: Re: no empty (zero) string predicate in Elisp Date: Sat, 16 May 2015 11:23:56 +0200 Message-ID: <87a8x4ub83.fsf@blueberry.home> References: <87h9s4rhx5.fsf@debian.uxu> <87wq107e40.fsf@petton.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1431768271 20258 80.91.229.3 (16 May 2015 09:24:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 May 2015 09:24:31 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, Emanuel Berg To: emacs-devel Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat May 16 11:24:21 2015 Return-path: Envelope-to: geh-help-gnu-emacs@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 1YtYKS-0008AH-07 for geh-help-gnu-emacs@m.gmane.org; Sat, 16 May 2015 11:24:20 +0200 Original-Received: from localhost ([::1]:34041 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YtYKQ-0002V2-KY for geh-help-gnu-emacs@m.gmane.org; Sat, 16 May 2015 05:24:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58937) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YtYKB-0002Sa-T7 for help-gnu-emacs@gnu.org; Sat, 16 May 2015 05:24:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YtYK8-0000pO-Fp for help-gnu-emacs@gnu.org; Sat, 16 May 2015 05:24:03 -0400 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:41060) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YtYK8-0000p0-8N for help-gnu-emacs@gnu.org; Sat, 16 May 2015 05:24:00 -0400 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 9057C208AD for ; Sat, 16 May 2015 05:23:58 -0400 (EDT) Original-Received: from frontend2 ([10.202.2.161]) by compute3.internal (MEProxy); Sat, 16 May 2015 05:23:58 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=D58CZoSzfgOj/Xa0hb7ujsdQ2wM=; b=TD6yi gf/pmjS3javIvSH1P0LrtEOD8Unp6c6q3az7JIpXVeJaSX2I+2wyJqN1+y1lXAu2 4Ka4RnHQ65edP06V6A0Pcrc58zc8DzOVZ09wsT5CmXBrEDwdKlpNb2/mCtXuZNRN O/9aeVslbu7xZqKC64gwHENwGI3YcqcTA5rkVE= X-Sasl-enc: DDZe5mabM8UmnTuHnbNMiY6I/Nd5V2qGzDc8qVIBHsAX 1431768238 Original-Received: from blueberry.home (unknown [86.69.211.216]) by mail.messagingengine.com (Postfix) with ESMTPA id A503068009F; Sat, 16 May 2015 05:23:57 -0400 (EDT) In-reply-to: <87wq107e40.fsf@petton.fr> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 66.111.4.28 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:104464 gmane.emacs.devel:186529 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Nicolas Petton writes: > You can use `string-empty-p' from subr-x.el or `seq-empty-p' from > seq.el (which works on all sequence data types). > > seq.el will be included in Emacs 25.1, but in the meantime you can > install it from GNU Elpa. BTW, would it be wise to obsolete `string-reverse' and `string-empty-p' From=20subr-x in favor of `seq-reverse' and `seq-empty-p' which are much more generic? Nico =2D-=20 Nicolas Petton http://nicolas-petton.fr --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org iQEcBAEBAgAGBQJVVwysAAoJECM1h6R8IHkQKrQIAI7J+tRTQ8TDJVeoT2pj6qoE AhG3vjTW0GBE7jWQWIxxzdGVLHhxqS5uEYKcaYATIGSsw0VbW+B+IyKrzym6IYCI n/CJ0ocpDmqpryK9+f9w3h/jTkuGoYsRKZ2egwnc45g3mPp37Ijb6lDAm5kdL9xk vvPmnJpaBS9Zw0RIOVulaHMaYksewMeD4m9VEDGGlcR7aLPXtkDZsml8HknH8uwj xoVlThuG6dLZReOWOdE/JVTmucJyncvy7aoQLUtr8fC7ud8+0DzirEeOUAzLRwcZ vH2xgQFy7AKY74oDF8i8ZBOi9rLQUZ7OB5LnFu/e1fR3Zax/3me5+jSMU17hRMA= =zDA7 -----END PGP SIGNATURE----- --=-=-=--