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: no empty (zero) string predicate in Elisp Date: Sat, 16 May 2015 19:17:44 +0300 Message-ID: References: <87h9s4rhx5.fsf@debian.uxu> <87wq107e40.fsf@petton.fr> <87a8x4ub83.fsf@blueberry.home> <83wq08fxdr.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11342c2c05a6ba0516354df0 X-Trace: ger.gmane.org 1431793073 29919 80.91.229.3 (16 May 2015 16:17:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 May 2015 16:17:53 +0000 (UTC) Cc: Nicolas Petton , Emanuel Berg , emacs-devel To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 16 18:17:53 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 1Yteme-0001ih-OU for ged-emacs-devel@m.gmane.org; Sat, 16 May 2015 18:17:52 +0200 Original-Received: from localhost ([::1]:35101 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ytemd-0001Lm-Gy for ged-emacs-devel@m.gmane.org; Sat, 16 May 2015 12:17:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42570) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ytema-0001Lh-6a for emacs-devel@gnu.org; Sat, 16 May 2015 12:17:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YtemZ-0002qh-8l for emacs-devel@gnu.org; Sat, 16 May 2015 12:17:48 -0400 Original-Received: from mail-la0-x233.google.com ([2a00:1450:4010:c03::233]:34965) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YtemX-0002qL-Lt; Sat, 16 May 2015 12:17:45 -0400 Original-Received: by labbd9 with SMTP id bd9so163910010lab.2; Sat, 16 May 2015 09:17:44 -0700 (PDT) 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:cc:content-type; bh=FkLJJbmirZLQJFQaFvLDxkbW/5UKB3dKl/+4hzdJ3wU=; b=anxCwzZ+6wMLVXyMJP5lUIcmd7H71Jye7eEn8vNmQoiQIyZ4mMvABEY9RzwUy1j0Ob VRc1ieQVMyGSxM6u0tKFU1X+eoSxPhGoltkc0skvi8aqk7R4PnQCWmThOKuaWuqoPKfL tidXZwaSUIqbLPC43giu8IQ7FXVVTCD5joGVba80SqDHgoJzTpLU+kbJTUezc60WEbUZ yDiJ6cNdkmJI9kmWYIrbn45RMGQIDkS/oChbNKd64TcR4NUpBSfeKZWoREF8To6vb6Q9 orFgOAGjxWpXGIV7Irho5Z6W1oDjrjDiZ++pW1cnnwH+XXUYuoNglKU5oQVqAowZ4cix sO1g== X-Received: by 10.152.243.9 with SMTP id wu9mr11010214lac.63.1431793064844; Sat, 16 May 2015 09:17:44 -0700 (PDT) Original-Received: by 10.112.25.7 with HTTP; Sat, 16 May 2015 09:17:44 -0700 (PDT) In-Reply-To: <83wq08fxdr.fsf@gnu.org> X-Google-Sender-Auth: DbNcaxGGuyaUCmtn_R6Kc38t_7Q X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::233 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:186543 Archived-At: --001a11342c2c05a6ba0516354df0 Content-Type: text/plain; charset=UTF-8 On 16 May 2015 at 16:46, Eli Zaretskii wrote: > > Date: Sat, 16 May 2015 16:36:18 +0300 > > From: Bozhidar Batsov > > Cc: help-gnu-emacs@gnu.org, Emanuel Berg , > > emacs-devel > > > > And one more thing - `string-empty-p` uses string comparison (`string=`) > > instead of length comparison. > > Are you saying that length comparison is better, or vice versa? > I'm saying that they are different. I prefer the string= comparison. --001a11342c2c05a6ba0516354df0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On 1= 6 May 2015 at 16:46, Eli Zaretskii <eliz@gnu.org> wrote:
> Date: Sat, 16 May 2015 16:36:18 +0300
> From: Bozhidar Batsov <bozhi= dar@batsov.com>
> Cc: help-gnu-emacs@gnu.org, Emanuel Berg <embe8573@stu= dent.uu.se>,
>=C2=A0 =C2=A0 =C2=A0 =C2=A0emacs-devel <emacs-devel@gnu.org>
>
> And one more thing - `string-empty-p` uses string comparison (`string= =3D`)
> instead of length comparison.

Are you saying that length comparison is better, or vice versa?
<= /blockquote>

I'm saying that they are different. I p= refer the string=3D comparison. =C2=A0

--001a11342c2c05a6ba0516354df0--