emacs-devel
[Top][All Lists]
Advanced

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

Re: Enhancement for file-attributes


From: Stefan Monnier
Subject: Re: Enhancement for file-attributes
Date: Sun, 30 Sep 2012 21:16:31 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

> Would it be a good idea to enhance file-attributes by adding one more
> optional argument to it, which, when non-nil, will cause Emacs call
> 'stat', not 'lstat', on the argument file name?  This should avoid the
> need to call file-chase-links when all we want is to get the
> attributes of the file pointed to by the symlink.

It would have made a lot of sense originally, but I'm wondering whether
it's worth the trouble now.  In how many places would we save the
file-chase-links all?  Are these places important?


        Stefan



reply via email to

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