joostkremers / ebib

A BibTeX database manager for Emacs.
https://joostkremers.github.io/ebib/
BSD 3-Clause "New" or "Revised" License
272 stars 37 forks source link

`ebib-add-keywords-to-entry` and `ebib-edit-current-field` do not generate the same list of completion candidates #280

Closed benthamite closed 7 months ago

benthamite commented 11 months ago

Thank you for creating and maintaining this package. It has become an integral part of my workflow.

I noticed that the list of candidate keywords available for completion differs depending on whether I run ebib-add-keywords-to-entry or ebib-edit-current-field (with point on the keywords field). Specifically, only when I do the former do I see all the keywords I define in ebib-keywords. By contrast, running the latter only displays the keywords present in any of the existing entries.

Let me know if this suffices to reproduce the issue; otherwise, I’d be happy to provide more details.

joostkremers commented 9 months ago

Hi, thanks for reporting this (and apologies for the late reply). You are right, the two functions use different methods to collect the candidate list for completion. I'll see about a way to fix this.

joostkremers commented 7 months ago

I have pushed a commit that should fix this issue.

benthamite commented 7 months ago

Great, thank you!