Emacs, Dired+. What mean one dot in dired mode?

2019-09-14 19:43发布

问题:

Window 7, Emacs 25.1, Dired+ mode.

Path: d:\temp\test\test2\test3\

In folder test3 has 3 files: file1.txt, file2.txt, file3.txt.

When I am in folder test3 and click on two dots I'm up to one level (go to folder test2). OK.

But when I click on one dot (see picture) the cursor go to on file file1.txt.

1.Is this a correct behavior?

2.What mean one dot in dired mode?

回答1:

I would say this is correct behavior. In directory listings the single dot usually represents the current directory. You can also see it if you open a command window and run dir.

And that the first real file gets selected when clicking the single dot entry might also be a 'default' behavior of the dired module.



标签: emacs dired