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.
我正在使用 Emacs Tramp 进行远程开发。我想一定有什么地方不对劲。我在使用时遇到了一些严重的速度问题ssh:,所以我切换到了scp:. 它似乎工作得更快。我尝试运行M-x compile,make它的行为似乎与我直接从 shell 提示符运行 make 不同。即,它无法找到 .h 文件。它可以从 shell 提示符编译。
ssh:
scp:
M-x compile
make
任何想法为什么会发生这种情况?
Try using M-x tramp-compile explicitly. The keybindings for compilation are automatically remapped when you're editing a remote file with TRAMP, but M-x compile may be operating on the local copy of the files. ?
M-x tramp-compile