Plugins 安装Emacs插件

Plugins 安装Emacs插件,plugins,emacs,installation,Plugins,Emacs,Installation,我正在使用指导页面为Emacs安装一个Prolog插件,上面说: In a nutshell, place the downloaded file where Emacs can see it, and insert into your ~/.emacs or ~/.xemacs/init.el the following lines: 将文件放在Emacs可以看到的地方意味着什么?如何插入~/.Emacs?“将文件放在Emacs可以看到的地方”意味着将文件prolog.el放在a中,例如

我正在使用指导页面为Emacs安装一个Prolog插件,上面说:

In a nutshell, place the downloaded file where Emacs can see it, 
and insert into your ~/.emacs or ~/.xemacs/init.el the following 
lines:
将文件放在Emacs可以看到的地方意味着什么?如何插入~/.Emacs?

“将文件放在Emacs可以看到的地方”意味着将文件
prolog.el
放在a中,例如
~/.Emacs.d/
的子目录中(如
~/.Emacs.d/elisp
),如果需要


其他说明涉及修改,例如,
~/.emacs.d/init.el。
将这些说明中给出的行插入到您自己的emacs初始化文件中,然后保存该文件并重新启动emacs。

根据您的发行版,可能会出现prolog模式 已经发货了。如果打开prolog文件,请检查modeline( 在底部的东西)说
prolog
在某个地方,你可以走了。大概 它没有正确关联,请尝试
M-x
(Alt+x)并键入
prolog模式
,点击回车键。现在,
prolog
应该出现在modeline中。 如果不继续,请安装该文件。否则你会有一堆垃圾
您必须手动更新计算机上的软件。

嗨,基思,您能给我一个终端命令,将文本插入文件吗?@KeithFlower`~/.emacs.d/“不是故意在加载路径中。它包含与包本身名称相同的包的配置文件。因此,手动将其添加到加载路径实际上是一种非常糟糕的做法。谢谢,我的意思是使用
~/.emacs.d/
作为插件的(父)目录示例,正如我链接的说明中明确指出的那样。emacs确实带有Prolog模式,但它不是很好。这是一个单独的插件。=)不,是一样的<代码>1.24而不是
1.22
。不过,已发布的版本在2010/2011年有一名维护人员。也许值得,也许不值得。不可能,我不知道。只是听到朋友们抱怨了很多。谢谢当然可以。但我不是在基于Debian的发行版上;-)请联系该网页的维护人员以更新其文本,因为与Emacs一起分发的prolog.el现在就是该包(带有一些额外的增强)。