如何在 emacs 上设置 p4.el?
我尝试了 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 打开它时,它打开得很好。 我做错了什么?
I tried the basic setup as given in the sourceforge page and set
P4CONFIG, P4USER, P4PORT.
and after opening emacs I load p4.el and try to set the client name
using p4-set-client-name and it throws out this error:
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'.
But when I try opening it using p4v it opens up just fine.
What am I doing wrong ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我会确保您的 P4USER 环境变量在您的 emacs 进程中正确设置(Mx getenv)。当然,看起来从您的 emacs 生成的 p4 进程正在使用不正确的 P4USER。
另请注意,在 Windows 上,您可以“p4 set P4USER=username”,而不是使用环境变量;这将立即生效。
I'd make sure that your P4USER environment variable is set properly in your emacs process (M-x getenv). For sure, it looks like p4 procs spawned from your emacs are using an incorrect P4USER.
Also note that on Windows, you can "p4 set P4USER=username" rather than using an environment variable; this will take effect right away.