tramp-devel
[Top][All Lists]
Advanced

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

Re: directory-files doesn't show "." and ".."


From: Michael Albinus
Subject: Re: directory-files doesn't show "." and ".."
Date: Thu, 18 Feb 2010 11:15:46 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux)

Thierry Volpiatto <address@hidden> writes:

> Thierry Volpiatto <address@hidden> writes:
>
>> Hi,
>> when i use directory-files with the FULL flag, it show the "." and ".."
>> with their complete path name:
>>
>> ,----[ (directory-files default-directory t) ]
>> | ("/ssh:thievol:/home/thierry/.emacs.d/themes/indian-theme.el"
>> |  "/ssh:thievol:/home/thierry/.emacs.d" >>>>>>>>>>>>>>>>>>>>>>>> ".."
>> |  "/ssh:thievol:/home/thierry/.emacs.d/themes/mybest-theme.el"
>> |  "/ssh:thievol:/home/thierry/.emacs.d/themes/basic-theme.el"
>> |  "/ssh:thievol:/home/thierry/.emacs.d/themes" >>>>>>>>>>>>>>>>> "."
>> |  "/ssh:thievol:/home/thierry/.emacs.d/themes/favorite-theme.el"
>> |  "/ssh:thievol:/home/thierry/.emacs.d/themes/forest-theme.el")
>> `----
>>
>> However:
>>
>> ,----[ (directory-files default-directory) ]
>> | ("indian-theme.el"
>> |  ".." >>>>>>>>>>>>> good
>> |  "mybest-theme.el"
>> |  "basic-theme.el"
>> |  "." >>>>>>>>>>>>>> good
>> |  "favorite-theme.el"
>> |  "forest-theme.el")
>> `----
>>
>> Is that a bug?

Yes.

> That fix the problem:

I've committed a slightly different fix. This also sorts the output now,
when nosort is nil (this was missing as well).

Thanks for reporting, and best regards, Michael.




reply via email to

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