tmalsburg/helm-bibtex

No Available actions on helm-bibtex

Closed this issue · 11 comments

Hi, I'm facing a problem with helm-bibtex:
I could get a BibTex entries after I run M-x helm-bibtex, but it prompt "No Actions available" when I press C-z.

Screenshot:
Screen Shot 2022-10-19 at 14 56 44

Thanks for any help.

Please try tab instead of C-z.

I couldn't try it with C-z because that key combination is used by my window manager. However, when I rebind helm-execute-persistent-action to TAB, it works as expected. Could you please create a minimal reproducible example?

@tmalsburg Thanks for you reply.

My minimal configuration below:


(setq package-archives '(("melpa" . "https://melpa.org/packages/")
                         ("org" . "https://orgmode.org/elpa/")
                         ("elpa" . "https://elpa.gnu.org/packages/")))

(package-initialize)
(unless package-archive-contents
 (package-refresh-contents))

;; Initialize use-package on non-Linux platforms
(unless (package-installed-p 'use-package)
   (package-install 'use-package))

(require 'use-package)
(setq use-package-always-ensure t)


(use-package helm-bibtex
  :config
 (setq bibtex-completion-bibliography "/Users/hoo/Bib/hello.bib"
        bibtex-completion-pdf-field "File"
        bibtex-completion-additional-search-fields '(keywords))
  :bind
  ("C-c n B" . helm-bibtex))

This configuration works with TAB, but also can't get actions list.

And my system is Mac OS X 12.6(M1 chip), Emacs 28.2, using Emacs-28.2-universal.dmg

And I also tried on Ubuntu 20.04, also couldn't work.

I get an error message when I run your code because (I think) use-package is not installed on my system. Is there an easy way to include it in your code? (Sorry, not time to investigate myself.)

@tmalsburg I think it might be some problems in environment.

I've created a linux account for you on cloud to investigate the problem:

ip: 120.xx.xx.xxx
username: helmbibtex
passwd: 1q2w3e

You can connect the server with ssh helmbibtex@120.24.62.193

To see the problem:

  1. run emacs command
  2. M-x helm-bibtex
  3. press TAB

And sometimes a error: Symbol’s function definition is void: helm-mode--in-file-completion-p will also prompt when run M-x helm-bibtex

Could you please help me with that?

M-x helm-bibtex throws an error:

Symbol’s function definition is void: helm-mode--in-file-completion-p

Could you please post a minimal config here on GitHub? Thank you.

I think helm is not correctly installed.

For me, it doesn't even open. It raises related errors on both Windows and Arch:

helm-fuzzy-highlight-matches: Symbol’s function definition is void: helm-mode--in-file-completion-p

and

custom-initialize-reset: Symbol’s function definition is void: helm-mode--in-file-completion-p

Possible tips:

  • I use it alongside org-roam and org-roam-bibtex
  • helm-core was recently updated

See here #413 for a possible solution.

Thank you @tmalsburg @boturon, I'll try it, I will update the issue once I figure it out.

I just change to ivy-bibtex, and it just works.