I have tried to set the company-backend as described on their github page and did not end up with the sweet resulting pop-up completion, in ref as in their image
What am I doing wrong? My relevant configs are as follows
(defun require-package (package &optional min-version no-refresh)
"Install given PACKAGE, optionally requiring MIN-VERSION.
If NO-REFRESH is non-nil, the available package lists will not be
re-downloaded in order to locate PACKAGE."
(if (package-installed-p package min-version)
t
(if (or (assoc package package-archive-contents) no-refresh)
(package-install package)
(progn
(package-refresh-contents)
(require-package package min-version t)))))
(require-package 'company)
(add-hook 'after-init-hook 'global-company-mode)
(eval-after-load "company"
'(add-to-list
'company-backends
'company-auctex
'company-jedi
'company-math
'company-reftex-citations
'company-reftex-labels
'company-shell
)
)
(setq company-dabbrev-downcase 0)
(setq company-idle-delay 0)
(require-package 'company-reftex)
(add-hook 'LaTeX-mode-hook 'turn-on-reftex) ; with AUCTeX LaTeX mode
(add-hook 'latex-mode-hook 'turn-on-reftex) ; with Emacs latex mode
(setq reftex-plug-into-AUCTeX t)
Cheers!
company
popup? Or is the issue that the help strings on the right-hand side are not complete? Your snippet is missingcompany-backends
andcompany-math
is misspelled. Is it a typo in your post?company-backends
was there. I have correctedcompany-math
and added an image of the non-expanding/missing pop-up.