如何在emacs上设置p4.el?

时间:2009-09-03 06:57:23

标签: emacs perforce

我尝试了sourceforge页面中给出的基本设置并进行了设置 P4CONFIG,P4USER,P4PORT。 打开emacs后,我加载p4.el并尝试设置客户端名称 使用p4-set-client-name并抛出此错误:

Click <mouse-2> on a completion to select it.
In this buffer, type RET to select the completion near point.

Possible completions are:
Can't create a new user - over license quota.
License count: 1000 users used of 1000 licensed.
Try deleting old users with 'user -d'.

但是当我尝试使用p4v打开它时它打开就好了。 我做错了什么?

1 个答案:

答案 0 :(得分:2)

我确保在您的emacs进程(M-x getenv)中正确设置了您的P4USER环境变量。当然,看起来你的emacs产生的p4过程使用了错误的P4USER。

另请注意,在Windows上,您可以“p4设置P4USER = username”而不是使用环境变量;这将立即生效。