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

2019-09-14 19:42发布

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. enter image description here

1.Is this a correct behavior?

2.What mean one dot in dired mode?

标签: emacs dired
1条回答
爷的心禁止访问
2楼-- · 2019-09-14 19:58

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.

查看更多
登录 后发表回答