bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#58446: 28.2; file-attribute-device-number returns a cons cell instea


From: Lars Ingebrigtsen
Subject: bug#58446: 28.2; file-attribute-device-number returns a cons cell instead of an integer
Date: Wed, 12 Oct 2022 13:13:30 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Thierry Volpiatto <thievol@posteo.net> writes:

> The device-number in file-attributes (nth 11) is a cons cell when called
> on remote files (see tramp-get-device).
> It would be great to notify this in Emacs documentation and how to
> interpret this value e.g. (-1 . 1).
> I noticed this in fixing a bug in dired-async.el, the code was using `=`
> to compare the two values which is legitimate according to docstring.

Hm...  would it be possible for Tramp to stash that information
somewhere else?  It is (as you say) documented to be a number.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]