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

青春壹個敷衍的年華 提交于 2020-01-17 08:43:31

问题


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.



来源:https://stackoverflow.com/questions/43605918/emacs-dired-what-mean-one-dot-in-dired-mode

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!