Search code examples
emacsbibtex

Ebib: completion customization


Ebib allows to customize the fields that can be completed (in Ebib itself). The manual says that I can customize the user option ebib-edit-fields-functions. But when I try to customize it, I get an error.

Here's the sequence. Run emacs -Q (Windows 10). M-x ebib RET Ebib panes appear, no bibtex buffer loaded. M-x customize-option RET ebib-field-edit-functions RET. In the lower third pane I see the usual emacs customization interface: "For help using this buffer, see Easy Customization in the Emacs manual. Operate on all settings in this buffer." But there are no settings to modify. In the minibuffer the message is: "Wrong type argument: listp, "Fields" "

What am I doing wrong? Total Lisp ignoramus here.


Solution

  • This is a result of a bug in the line 1172 in ebib-utils.el. The correct code must read:

    :type '(repeat (cons (repeat :tag "Fields" (string))

    Pull request submitted on the Ebib github page.