如何从Emacs内的Perforce结帐文件? [英] How do I checkout files under Perforce from within Emacs?
问题描述
我在工作中使用Perforce进行源代码控制,我想从Emacs中的源代码控制下打开编辑文件。
I use Perforce for source control at work and I want to 'open for edit' files that under source control from within Emacs.
如何做?我需要在Emacs中设置什么?有插件吗?我还要执行其他p4操作,如提交我的更改等。
How can that be done? What do I need to setup in Emacs? Is there a plug in? I also want to perform other p4 operations such as submitting my changes, etc.
推荐答案
Perforce / Emacs集成
< a href =http://p4el.sourceforge.net/p4.el.html =nofollow noreferrer> http://p4el.sourceforge.net/p4.el.html
Perforce/Emacs Integration http://p4el.sourceforge.net/p4.el.html
一旦你有p4.el安装并准备好了,你可以使用emacs的内置帮助来查看p4.el的功能:Cx p?将列出名单。 C-h f p4-xyz提供p4-xyz的defun信息。每个Perforce命令都有一个相应的p4.el命令。不遵循
vc
模型。使用'C-x p帮助命令'为Perforce帮助...
Once you have p4.el installed and ready to go you can use emacs' built-in help to review p4.el's functions: C-x p ? will bring up the list. C-h f p4-xyz provides defun information for p4-xyz. Each Perforce command has a corresponding p4.el command. The
vc
model is not followed. Use 'C-x p help commands' for Perforce help...
这篇关于如何从Emacs内的Perforce结帐文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!