如何在Emacs中检出Perforce下的文件?
时间:2020-03-06 14:33:48 来源:igfitidea点击:
我在工作中使用Perforce进行源代码控制,我想在Emacs中"打开以进行编辑"文件在源代码控制下。
那怎么办?我需要在Emacs中设置什么?有插件吗?我还想执行其他p4操作,例如提交更改等。
解决方案
Perforce / Emacs集成
http://p4el.sourceforge.net/p4.el.html
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...