From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel,gmane.emacs.help Subject: Re: no empty (zero) string predicate in Elisp Date: Sat, 16 May 2015 09:43:44 -0400 Message-ID: References: <87h9s4rhx5.fsf@debian.uxu> <87wq107e40.fsf@petton.fr> <87a8x4ub83.fsf@blueberry.home> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1431783852 21316 80.91.229.3 (16 May 2015 13:44:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 May 2015 13:44:12 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, Emanuel Berg , emacs-devel To: Nicolas Petton Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 16 15:44:05 2015 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 1YtcNo-0005wq-Mr for ged-emacs-devel@m.gmane.org; Sat, 16 May 2015 15:44:04 +0200 Original-Received: from localhost ([::1]:34694 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YtcNo-0002R1-5K for ged-emacs-devel@m.gmane.org; Sat, 16 May 2015 09:44:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43216) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YtcNZ-00025j-6c for emacs-devel@gnu.org; Sat, 16 May 2015 09:43:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YtcNV-0007fc-Rm for emacs-devel@gnu.org; Sat, 16 May 2015 09:43:49 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:17704) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YtcNV-0007fM-Kr; Sat, 16 May 2015 09:43:45 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgUFAGvvdVRFpYts/2dsb2JhbAA3gVOhb4EIgXUBAQQBViMFCws0EhQYDSSIE6IRjGQJAQIBAoM+A4NwBKNjhFg X-IPAS-Result: AgUFAGvvdVRFpYts/2dsb2JhbAA3gVOhb4EIgXUBAQQBViMFCws0EhQYDSSIE6IRjGQJAQIBAoM+A4NwBKNjhFg X-IronPort-AV: E=Sophos;i="5.11,557,1422939600"; d="scan'208";a="120189317" Original-Received: from 69-165-139-108.dsl.teksavvy.com (HELO pastel.home) ([69.165.139.108]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 16 May 2015 09:43:46 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 771162608; Sat, 16 May 2015 09:43:44 -0400 (EDT) In-Reply-To: <87a8x4ub83.fsf@blueberry.home> (Nicolas Petton's message of "Sat, 16 May 2015 11:23:56 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 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:186536 gmane.emacs.help:104468 Archived-At: > BTW, would it be wise to obsolete `string-reverse' and `string-empty-p' > From subr-x in favor of `seq-reverse' and `seq-empty-p' which are much > more generic? string-reverse i already marked as obsolete. As for string-empty-p, I'm not sure, because it depends on whether you care about the fact that the arg is a string (e.g. you care about the fact that (string-empty-p nil) is nil rather than (seq-empty-p nil) being t). Stefan