编辑完成字段

huangapple go评论55阅读模式
英文:

Ebib: edit completion fields

问题

我试图在 Ebib 中更改 ebib--field-edit-functions,以向其字段添加address并提供自动完成。手册上说你需要自定义用户选项 ebib--field-edit-functions(实际上,它说的是 ebib-edit-fields-functions,这可能是个拼写错误),但我找不到它。也无法在初始化文件中手动执行此操作。该选项在 ebib-utils.el 中设置。有没有办法做到这一点?

英文:

I am trying to change ebib--field-edit-functions in Ebib to add address to its fields with completions. The manual says that you need to customize the user option ebib--field-edit-functions (actually, it says ebib-edit-fields-functions which is likely a typo), but I can't find it. Nor can I do it manually in the init file. The option is set in ebib-utils.el. Any ideas how to do this?

答案1

得分: 1

请注意,带有--(双破折号)的Elisp函数仅供内部调用。这在编码约定 [或(info "(elisp) Coding Conventions")]和定义提示 [或(info "(elisp) Tips for Defining")]中有说明。

请确保安装了最新版本的ebib包。ebib-field-edit-functions函数是在版本2.39中添加的,因此手册没有错误。

[它之前被现在已过时的ebib-fields-with-completion函数取代,所以你可能在旧版本的ebib中可以使用这个defcustom。]

英文:

Note that Elisp functions with the -- (double hyphen) in their names are for internal calls only. This is stated in Coding Conventions [or (info "(elisp) Coding Conventions")] and Tips for Defining [or (info "(elisp) Tips for Defining")].

Make sure to have the latest version of ebib package installed. The function ebib-field-edit-functions was added in Version 2.39, hence the manual is not wrong.

[It was preceded by the now obsolete function ebib-fields-with-completion, so you might have this defcustom available with an older version of ebib.]

huangapple
  • 本文由 发表于 2023年7月18日 14:40:38
  • 转载请务必保留本文链接:https://go.coder-hub.com/76710113.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定