简体   繁体   English

当我在远程服务器中打开emacs时,设置不起作用

[英]Setting doesn't work when I open emacs in remote server

First, I open my emacs, and use Mx shell. 首先,我打开我的emacs,并使用Mx shell。

Then in the shell, I type ssh **@**** 然后在外壳中,键入ssh **@****

Third, I use scp to transfer my .emacs.d folder into my remote home directory. 第三,我使用scp将.emacs.d文件夹传输到远程主目录中。

Fourthly, I type emacs 第四,我输入emacs

It opens in the shell. 它在外壳中打开。 But all the package don't work. 但是所有程序包都不起作用。 Why? 为什么? Thank you very much. 非常感谢你。

BTW: init.el instead of .emacs in .emacs.d directory 顺便说一句: .emacs.d目录中的init.el而不是.emacs

I find my answer finally. 我终于找到答案了。 In generally, in my home directory, it has a file called .emacs Just delete it. 通常,在我的主目录中,它有一个名为.emacs的文件。只需删除它即可。 Then you will get what you want. 然后,您将得到想要的东西。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM