Thierry Volpiatto <[email protected]> writes:

> Thierry Volpiatto <[email protected]> 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.


_______________________________________________
Tramp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to