CarbonEmacs、符号链接和 dired-find-file

发布于 2024-08-21 23:47:39 字数 339 浏览 5 评论 0原文

当我列出目录(Cxd)时,所有符号链接的名称都以“@”结尾;例如:

 .bashrc@ -> ./system/dot-bashr

然后,当我尝试使用“e”或“f”(dired-find-file)打开这样的文件时,我收到消息:

    File no longer exists; type `g' to update dired buffer

否则,所有链接都在 Emacs 中正常工作。

有什么提示吗?

-- tsf

PS:我之前发布了基本相同的消息,但我忘记了标签,然后没有看到它出现。如果它出现两次,我深表歉意。

When I list a directory (C-x-d), all symbolic links have names ending with '@'; eg.:

 .bashrc@ -> ./system/dot-bashr

Then when I try to open such a file with "e" or "f" (dired-find-file), I get the message:

    File no longer exists; type `g' to update dired buffer

Otherwise, all links work normally within Emacs.

Any hints?

-- Tsf

PS: I posted basically the same message before but I forgot the tags, and then did not see it appear. I appologize if it appears twice.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

千紇 2024-08-28 23:47:39

我自己找到了答案。由于一些从 Unix 继承的历史原因(我不记得了),我的 emacs profile.el 有这样一行:

   (setq dired-listing-switches "-alF")

这些参数被传递给命令“ls”;用“@”标记符号链接的选项。

抱歉打扰大家了!

-- TSF

I found the answer myself. For some historical reasons inherited from Unix and which I do not remember, my emacs profile.el had the line:

   (setq dired-listing-switches "-alF")

and these arguments are passed to the command "ls"; option which marks symbolic links with '@'.

Sorry to bother everybody!

-- Tsf

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文