From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Edgar Vincent Newsgroups: gmane.emacs.help Subject: Why does (file-exists-p "") return t? Date: Thu, 09 Feb 2023 10:41:41 +0000 Message-ID: <87zg9n15f1.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12752"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 09 11:48:35 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pQ4Tj-00036u-Fs for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 09 Feb 2023 11:48:35 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pQ4TA-0007Gg-9T; Thu, 09 Feb 2023 05:48:00 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pQ4T8-0007Fj-EU for help-gnu-emacs@gnu.org; Thu, 09 Feb 2023 05:47:58 -0500 Original-Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pQ4T6-0003JO-KE for help-gnu-emacs@gnu.org; Thu, 09 Feb 2023 05:47:58 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id ACE682405A3 for ; Thu, 9 Feb 2023 11:47:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1675939672; bh=tFt+T8gOiwmSxaOf+BRTFjuZRVQDoV5Oshh8EgXNRdo=; h=From:To:Subject:Date:From; b=eI9b5FFPJCocT8qpTxI1DV6v4uXSg5Y16ya+WmTGrrR5gNe/NIH+zeRT/jWnIf8bb 8500FKdTscKj8sENPIxvfUZ1T+AU7qi6qQ5UKlJTYLST2hHoZ+azmyFyNavMoJy5uT TaV42ttHQYwKB1LkXQhSQI7VT9fdGQ3NSKkibB7K+0pTmqJTT3PQ93fmCVhbm/teBU T8w3TspYstqOMyUah9elqbYTkTHG6SULr87unKLAglnrLiImRlsCKnmy3lEDZXFqK+ ZxOwebBFNssvzRCcJNDouibFrEHUR59VzJhKuPUuzMrb27uY8jQvUJXX79RxZrcXGm LHaW6JdUQ8Nqg== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PCD932cV3z6tqB for ; Thu, 9 Feb 2023 11:47:51 +0100 (CET) Received-SPF: pass client-ip=185.67.36.66; envelope-from=e-v@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:142666 Archived-At: Hello everyone, I just noticed that (file-exists-p =E2=80=9C=E2=80=9D) returns t on my syst= em (Emacs 28.2 on Arch Linux). I am not familiar with Emacs=E2=80=99 file handling internals, so the answe= r might be obvious. However, I did not find any mention of this case in the docstring or the El= isp manual. Thanks a lot, Edgar Vincent