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.devel Subject: Re: file-equal-p Date: Thu, 16 Feb 2023 14:43:34 +0200 Message-ID: <83v8k13hmx.fsf@gnu.org> References: <87a61es8fh.fsf.ref@yahoo.com> <87a61es8fh.fsf@yahoo.com> <83fsb681me.fsf@gnu.org> <87pmaaq9ua.fsf@yahoo.com> <87ilg199tt.fsf@gmx.de> <87lekxpz3y.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20042"; mail-complaints-to="usenet@ciao.gmane.io" Cc: michael.albinus@gmx.de, schwab@suse.de, emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Feb 16 13:43:58 2023 Return-path: Envelope-to: ged-emacs-devel@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 1pSdcD-00050k-IX for ged-emacs-devel@m.gmane-mx.org; Thu, 16 Feb 2023 13:43:57 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSdc0-0004Hu-HG; Thu, 16 Feb 2023 07:43:44 -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 1pSdbv-0004Gd-4j for emacs-devel@gnu.org; Thu, 16 Feb 2023 07:43:40 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pSdbu-0007KU-Nk; Thu, 16 Feb 2023 07:43:38 -0500 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=8eCM7mZQKJSTYk7tW60ile8jDgXuKD3N9z6EpzikjLc=; b=XmPs8D2fogE5 iiBYkYgFeZrqQS6FL489FTo0TYezMkvw1OsAuGpNLZhfLV1lgbVGrVqmGT4ypHaJYEpY9pCoopwXn 9RUwRm5Qer6jbfnQ5gEibHnGljmGrPMp5AlwcBxla6apB3wjDsPyaCSgalzW3M+chdScNvQmHKNtK QxLE4ZgWqS59+IL1IkJDEG3vKmKPrVFMeTq5sleIffi4N6ggk1bYH6cm3pXVckfGZGMf8zXjqu8ta Lx/EoJArwzCMq4Z+x0vcboOZMtFa7IobK7QdpxZiLVOP6kGJoNdMj880DuoER0YkWts5LBOihzGWU GMVdcUxFmiwEWVC6n1+W5Q==; Original-Received: from [87.69.77.57] (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 1pSdbs-0007SX-H5; Thu, 16 Feb 2023 07:43:37 -0500 In-Reply-To: <87lekxpz3y.fsf@yahoo.com> (message from Po Lu on Thu, 16 Feb 2023 20:35:13 +0800) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:303412 Archived-At: > From: Po Lu > Cc: Andreas Schwab , Eli Zaretskii , > emacs-devel@gnu.org > Date: Thu, 16 Feb 2023 20:35:13 +0800 > > Michael Albinus writes: > > > For this we have file-attribute-file-identifier. So it might be > > sufficient to call > > > > (equal (file-attribute-file-identifier f1-attr) (file-attribute-file-identifier f2-attr)) > > > > Best regards, Michael. > > This looks like the better idea, yes. Would using that be ok for Emacs > 29? Or is it something for master? OK to do what?