Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 TRAMP 连接到远程服务器,并且我想使用一些目录本地变量。我有哪些选择?我应该使用 emacs-server 并这样做,还是应该将目录本地变量添加到我的 .emacs 文件中?有没有办法强制 TRAMP 查找 .dir-locals.el 文件?
If you're using Emacs 24.3 or later, set enable-remote-dir-locals to t.
enable-remote-dir-locals