From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#56673: 26.3; Doc of `file-equal-p' Date: Thu, 21 Jul 2022 08:59:35 +0300 Message-ID: <83o7xjngzc.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27651"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56673-done@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 21 08:00:54 2022 Return-path: Envelope-to: geb-bug-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 1oEPEz-00075Y-RA for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 21 Jul 2022 08:00:54 +0200 Original-Received: from localhost ([::1]:37618 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oEPEx-0005Ba-KY for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 21 Jul 2022 02:00:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46292) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oEPEA-0005BL-Tf for bug-gnu-emacs@gnu.org; Thu, 21 Jul 2022 02:00:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46742) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oEPEA-0000k8-K5 for bug-gnu-emacs@gnu.org; Thu, 21 Jul 2022 02:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oEPEA-0004Sh-G7 for bug-gnu-emacs@gnu.org; Thu, 21 Jul 2022 02:00:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Jul 2022 06:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 56673 X-GNU-PR-Package: emacs Mail-Followup-To: 56673@debbugs.gnu.org, eliz@gnu.org, drew.adams@oracle.com Original-Received: via spool by 56673-done@debbugs.gnu.org id=D56673.165838319517105 (code D ref 56673); Thu, 21 Jul 2022 06:00:02 +0000 Original-Received: (at 56673-done) by debbugs.gnu.org; 21 Jul 2022 05:59:55 +0000 Original-Received: from localhost ([127.0.0.1]:36490 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEPE3-0004Ro-19 for submit@debbugs.gnu.org; Thu, 21 Jul 2022 01:59:55 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33358) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oEPE0-0004RZ-5s for 56673-done@debbugs.gnu.org; Thu, 21 Jul 2022 01:59:54 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:46506) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oEPDs-0000hC-60; Thu, 21 Jul 2022 01:59:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=KEVqJB3U2Xyl+CseGsmNYopfixtOhdhUMXYtE36xhn0=; b=iNbBEDF/WXdY 9UvApmukiETuIYWvsd5JU9Y4qEyKMyZJ71Ra1q//4D9Vfnji1Y3OMoYhtxSGb0Scb+nna/i0rtxjy /BV6IL/2dzGBfSW1BFp1p3xfX4gu1oc8D0UJSJZbQ7GD/H8PxQbsedrCTRSsLlrhzerE0SRzC9Zs/ iSy9fEdGII8SNA2N+D1ThLSBv75Izxcnil/B4gOS0syhpWuVBJtqXxixgLr9LyGalRp5DtpPZk7yW EForkyu/VJjnKOBXE3OvFIV5JDAPI8VBsSFXGKlvHm1UxX3CcHrgd8vWcw9cWSTJXJkVFRWDCYrA7 1AQiD1T2lMA2LR6UHPA+GQ==; Original-Received: from [87.69.77.57] (port=2161 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oEPDr-0005dy-ER; Thu, 21 Jul 2022 01:59:43 -0400 In-Reply-To: (message from Drew Adams on Wed, 20 Jul 2022 20:41:45 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:237526 Archived-At: > From: Drew Adams > Date: Wed, 20 Jul 2022 20:41:45 +0000 > > 1. I don't understand this part of the doc (in both doc string and > manual): > > If FILE1 or FILE2 does not exist, the return value is unspecified. > > What's that about? It means the result could be anything: nil or non-nil, and you shouldn't expect anything specific. IOW, don't call this function unless both files exist. > In what case(s) is the result unspecified because one or both file > doesn't exist? All of them. There was a long discussion of this in bug#10489, and I'm not interested in reopening it. > 2. How about adding this sentence from the manual to the doc string > (also)? > > This is similar to comparing their truenames, except that remote file > names are also handled in an appropriate manner. The doc string already says that, albeit with different words. Closing.