From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: lg.zevlg@gmail.com Newsgroups: gmane.emacs.devel Subject: Re: file-exists-p on empty string Date: Wed, 27 Feb 2019 21:42:46 +0300 Message-ID: References: <83fts9kyay.fsf@gnu.org> Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="67066"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 27 19:43:33 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gz4B2-000HMy-OT for ged-emacs-devel@m.gmane.org; Wed, 27 Feb 2019 19:43:32 +0100 Original-Received: from localhost ([127.0.0.1]:49081 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gz4B1-00030M-Nk for ged-emacs-devel@m.gmane.org; Wed, 27 Feb 2019 13:43:31 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43655) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gz4AT-0002zn-5m for emacs-devel@gnu.org; Wed, 27 Feb 2019 13:42:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gz4AR-0002vU-A1 for emacs-devel@gnu.org; Wed, 27 Feb 2019 13:42:57 -0500 Original-Received: from mail-lf1-x12c.google.com ([2a00:1450:4864:20::12c]:43629) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gz4AO-0002tK-9d; Wed, 27 Feb 2019 13:42:52 -0500 Original-Received: by mail-lf1-x12c.google.com with SMTP id j1so13198968lfb.10; Wed, 27 Feb 2019 10:42:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=W296sIBGzCFDIBXSjbn905PsYPFUpFc7aiBkHpgFGMU=; b=FtXTZe4ZADAbyMnGWGWLiC7c+ugUM3xx0NiLWUR8+S1x/5+1LaIOto4DsXEJjl5BMx p3lVpQ2IzqKisPe4ToXy3F/i0tOjl1G5FbjkYGrv2AGkOzDCwcuGdLaM6fwADBsye9wZ zRHmHbtuY5Wu2NiJB+Jm+jrjo/ToWxNC1t5NIbbq9mrJ3eGa5TvvZ1wOdsVXViteByq1 YkUFy5+8Fco2MhZrxjZetkRlyFUVT0XoRlcNnMXNp9TcaS61q6JqKjidDg5pUWgLCIDK 68Mw0KsI2YnDg757kxgMs8dOoaWyVoegcEBLsXPAr0oI8mdp1jgWIMscRetne56hI0AF gtHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=W296sIBGzCFDIBXSjbn905PsYPFUpFc7aiBkHpgFGMU=; b=BwT5EWwcfRBaJSup3TSFdqGIJIu3WbwMbCoxc2qS27ApRldh0quQArgcN7Ba8npLwK XKCTOtTTV+TYnrg6C56cvuvYRi/BI1BCr3gHrOwZVzFl8G08Jq+iftTklYz+b50fW3xt fJ1bJhxnyDVMOhuuLVp3d6sMRKR5QfulKWEPp4BpbeeIEjmltIrry8/SAPO+C2n1XaFQ DQ7ogxOjitu14U10umIDNiDI1FtlE1O3TWuIgEsnPkrYLfQI5nk2swzwlTB3y9qT0wTu QLL4H26Gq0yAoMIDSp63sEYZkmhWdSMEsgo9Nufny9fg1tp4SCOduYTY9VzQCUbVLjYD SBHw== X-Gm-Message-State: AHQUAuYmT0HXCHlyBWuPcDYwq97/hKaU5wi9/eh95YbYNOhmCH6Attpc vTwNWuufqprqHuvOTkJOGwhAZoNI X-Google-Smtp-Source: AHgI3IZ2KlWou/yZobBqMil88+JkUJDY6KQUwc/eqrNYz309MMCfXoT+vzmjKgzttAy0Szj7ckGtwg== X-Received: by 2002:a19:ca4e:: with SMTP id h14mr1746767lfj.55.1551292969645; Wed, 27 Feb 2019 10:42:49 -0800 (PST) Original-Received: from [100.67.164.232] ([31.173.81.184]) by smtp.gmail.com with ESMTPSA id w28sm4018495lfc.10.2019.02.27.10.42.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Feb 2019 10:42:47 -0800 (PST) X-Mailer: iPad Mail (16A404) In-Reply-To: <83fts9kyay.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::12c X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:233668 Archived-At: >> From: Evgeny Zajcev >> Date: Wed, 27 Feb 2019 15:29:53 +0300 >>=20 >> It was quite surprising for me that >>=20 >> (file-exists-p "") >> =3D=3D> t >=20 > http://lists.gnu.org/archive/html/emacs-devel/2009-04/msg00528.html Ah! I=E2=80=99m sorry, I searched for it, google answered nothing=20 I use `(and (not (string-empty-p fn)) (file-exists-p fn))` at the moment, bu= t its kind of ugly =E2=80=94 lg=