如何在 emacs 上设置 p4.el?

发布于 2024-08-03 06:33:54 字数 466 浏览 0 评论 0原文

我尝试了 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

拥有 2024-08-10 06:33:54

我会确保您的 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文