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: Thu, 28 Feb 2019 01:09:55 +0300 Message-ID: Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="208860"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel@gnu.org To: monnier@iro.umontreal.ca Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 27 23:20:00 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 1gz7YV-000s7C-DO for ged-emacs-devel@m.gmane.org; Wed, 27 Feb 2019 23:19:59 +0100 Original-Received: from localhost ([127.0.0.1]:51406 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gz7YU-0005gY-Eq for ged-emacs-devel@m.gmane.org; Wed, 27 Feb 2019 17:19:58 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57416) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gz7Xo-0005AB-L0 for emacs-devel@gnu.org; Wed, 27 Feb 2019 17:19:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gz7Op-0004fq-Mb for emacs-devel@gnu.org; Wed, 27 Feb 2019 17:10:00 -0500 Original-Received: from mail-lj1-x233.google.com ([2a00:1450:4864:20::233]:42077) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gz7Op-0004e0-73 for emacs-devel@gnu.org; Wed, 27 Feb 2019 17:09:59 -0500 Original-Received: by mail-lj1-x233.google.com with SMTP id d14so15284675ljl.9 for ; Wed, 27 Feb 2019 14:09:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=content-transfer-encoding:from:mime-version:date:subject:message-id :cc:to; bh=HOaH/E7h10mmZDog0Pl97+wUJpFcMZuf8sPNg26aOOc=; b=nNIrs3A/BSolHn2b4TBpYwyK2kBHmZr4bUQMnVIplBKIkFK1Pqh7TO6UlCDgxjjKX6 plGtULmfhsXjOslG21LG1Xu+x6uTyF8J7a0LnvRE+maIDTYlpbAf0dSCcjD242yuIsUh 5Kc9SLTK4H/MGVHVnVUN6O89EY5otTad7/xbJFh2kjANua0kZwpB/7Ss0Xgw0AIRU4w1 200pmS8JEIWaENuVl29lQS9lyj0RMKk0VPfaEEKrp+ta70ReNQ3bBqrUDBe5U+C0hYzN VkYW72y0w8OYoVqBnAuaqjCrX62JBeMjvmv7Xu3Soa9ZSZKJaVSot7SEMKZp7QkODCn9 na9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version:date :subject:message-id:cc:to; bh=HOaH/E7h10mmZDog0Pl97+wUJpFcMZuf8sPNg26aOOc=; b=N9MmSMnXDgFljatDJXa/tmq4rmgQsXTGv+xXRbu46B+oKlWcoQx8iFlZOIpwDr6ZaR MADXNaAPxMtZrXCVulEzEylnjdPJOstmZTpUTax/tREAR04JxDGyAUA+lUFQS1F2PDS/ YJaGbiayWrJL5256oqyHwGk81xxWGUCVnrafLo1MqF2xroUcYVX+gz25MX1+OtUuc2Ua CnYk7VVXsaBnaMhz4mVHpj40sAPMB6drJYWF+cYDumftI0lEfDlBASh5pty+quoA6AKF o7/3qwrhTKNzCpv6DvbN9ZJYqiKOkxzAh2VyCM41sZdOY5OC3Yc0rOWEa2Y5wwzRZN6U Zhog== X-Gm-Message-State: APjAAAXDdwxIwBqxLtdSULQgMYMiBpCMJ9M+Q2T2z8ZEg7R0vYRvMuVf aCSFKbtVqhODuKcwTCol4HhDwJVf X-Google-Smtp-Source: AHgI3IZI5KYH5mUlrOr1cpk8c+V6l89ZCAdOIraVTBNz7T0sW5SEs/+BxuHSkmJRSMp46FsF42IqTw== X-Received: by 2002:a2e:8456:: with SMTP id u22mr2663037ljh.108.1551305396929; Wed, 27 Feb 2019 14:09:56 -0800 (PST) Original-Received: from [192.168.1.94] (95-28-87-228.broadband.corbina.ru. [95.28.87.228]) by smtp.gmail.com with ESMTPSA id v2sm3709650ljg.6.2019.02.27.14.09.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Feb 2019 14:09:56 -0800 (PST) X-Mailer: iPad Mail (16A404) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::233 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:233682 Archived-At: > The problem is that docstrings describe the behavior of a specific functio= n, so they usually don't mention the more general aspects that affect all fu= nctions of a given subsystem, such as here the general treatment of the empt= y string when used as a file name. Otherwise, every file-name-manipulating f= unction would have to repeat this information in its docstring. So, maybe FILENAME argument at least could be renamed to NAME to give at lea= st some hint that this is not a filename, but just a name hint which will be= expanded and canonised to real filename? -- lg=