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#58446: 28.2; file-attribute-device-number returns a cons cell instead of an integer Date: Thu, 13 Oct 2022 10:09:05 +0300 Message-ID: <83zge09p4e.fsf@gnu.org> References: <87lepmusw5.fsf@posteo.net> <87pmexcn1h.fsf@gnus.org> <87edvd5bun.fsf@gmx.de> <87edvc9qvp.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1105"; mail-complaints-to="usenet@ciao.gmane.io" Cc: thievol@posteo.net, 58446@debbugs.gnu.org, michael.albinus@gmx.de To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 13 10:04:45 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 1oitCv-000Adj-C0 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Oct 2022 10:04:45 +0200 Original-Received: from localhost ([::1]:48112 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oitCu-0000Vb-53 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Oct 2022 04:04:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52958) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oisL0-0005Yu-G7 for bug-gnu-emacs@gnu.org; Thu, 13 Oct 2022 03:09:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60177) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oisL0-0000yc-5I for bug-gnu-emacs@gnu.org; Thu, 13 Oct 2022 03:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oisL0-0006Wh-0B for bug-gnu-emacs@gnu.org; Thu, 13 Oct 2022 03:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Oct 2022 07:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58446 X-GNU-PR-Package: emacs Original-Received: via spool by 58446-submit@debbugs.gnu.org id=B58446.166564494025080 (code B ref 58446); Thu, 13 Oct 2022 07:09:01 +0000 Original-Received: (at 58446) by debbugs.gnu.org; 13 Oct 2022 07:09:00 +0000 Original-Received: from localhost ([127.0.0.1]:59255 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oisKy-0006WS-FT for submit@debbugs.gnu.org; Thu, 13 Oct 2022 03:09:00 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39654) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oisKx-0006WG-7o for 58446@debbugs.gnu.org; Thu, 13 Oct 2022 03:08:59 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45862) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oisKr-0000xQ-Aw; Thu, 13 Oct 2022 03:08:53 -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=7LyaBe6wgBFeeTP/ntGSLNsJeOqocE3V/T5DP0lCW4s=; b=KT08Bvru17HH 3m3k578nH7NxSuX5jw/AI2WkDAd5Nd9WLY2R6u4CobpINNrPON3/WJY4ujurDwjU65kdax3TBihYP 594BVu0u6nhRuetquhcqqkDrgKL21brv33eBLYCJCT/m2OxJimRJKiTXTTr9qqWEEv51lvBdiiqVz LerrtxW/pN9C7kenokkAYOMW0ZDiXKxQ66Tpv6w+kXUSJr6T++gxTeRxU9k9aL7e7TNjw4X2zifL/ LcXeXNnfLzvU4VzsEKgsuZRmlgbv8QbGZMR/VoICggkB2dsbmmIJIT2NPBSZXCpBdrFeCpbPJzCri 2W7hcU/5ttc1h7vRrVP5pg==; Original-Received: from [87.69.77.57] (port=2022 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 1oisKq-0004Dm-Cw; Thu, 13 Oct 2022 03:08:53 -0400 In-Reply-To: <87edvc9qvp.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu, 13 Oct 2022 08:31:06 +0200) 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:245271 Archived-At: > Cc: Thierry Volpiatto , 58446@debbugs.gnu.org > From: Lars Ingebrigtsen > Date: Thu, 13 Oct 2022 08:31:06 +0200 > > Michael Albinus writes: > > But if we haven't needed that until now, we're probably not going to > need it going forward, and we should just document the current status > quo. > > > And perhaps we could even add a helper function to extract the > > information for a file's uniqueness: > > > > (defsubst file-attribute-file-number (attributes) > > "The inode and device numbers in ATTRIBUTES returned by `file-attributes'. > > It can be used to determine whether two files are identical." > > (nthcdr 10 attributes)) > > > > WDYT? > > Makes sense to me. Agreed.