emacs - 如何在拖放时禁用复制文件

标签 emacs

根据 doc

Emacs supports “drag and drop”: dropping a file into an ordinary Emacs window visits the file using that window. As an exception, dropping a file into a window displaying a Dired buffer moves or copies the file into the displayed directory.



如何在 dired 模式下禁用文件的移动或复制,以便 emacs 可以在任何模式下访问该文件?

最佳答案

套装dired-dnd-protocol-alistnil .

(setq dired-dnd-protocol-alist nil)

...或使用 M-x customize去做吧。

关于emacs - 如何在拖放时禁用复制文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2719785/

相关文章:

unix - 如何让 emacsclient 找到执行它的 emacs 守护进程

python - 多线程 Python 代码中的 Emacs pdb 和断点问题

emacs - Emacs 可以区分 ctrl-r 和 ctrl-shift-r 吗?

xml - 在 emacs XML 模式下,如何漂亮地格式化 XML 模式文件?

emacs - 如何删除emacs中的文本区域?

shell - zsh 和 emacs 的 (e)shell 之间的优缺点

emacs - 在 emacs 和 Textmate 中工作

emacs - 在 Emacs 中,如何在同一字符串内标记字符串?

emacs - 使 C-c 直接传递给 emacs 中的 term

emacs - 在 emacs-lisp 中,如何将点定位在文本字符串的中间?