jkitchin / org-ref

org-mode modules for citations, cross-references, bibliographies in org-mode and useful bibtex tools to go with it.
GNU General Public License v3.0
1.36k stars 243 forks source link

Void variable bibtex-completion-format-citation-functions #221

Closed devonwa closed 8 years ago

devonwa commented 8 years ago

Getting the following on load of the latest jmax update: let*: Symbol's value as variable is void: bibtex-completion-format-citation-functions

Traced it back to here: org-ref-helm-bibtex L93

(setq org-ref-insert-cite-function 'org-ref-helm-insert-cite-link
      org-ref-cite-onclick-function 'org-ref-cite-click-helm)

Possibly related to this function: org-ref L109

(defcustom org-ref-completion-library
  'org-ref-helm-bibtex
  "String for library to define completion functions.
The completion library should provide functions for
`org-ref-insert-link-function', `org-ref-insert-cite-function',
`org-ref-insert-label-function', `org-ref-insert-ref-function',
and `org-ref-cite-onclick-function', and set those variables to
the values of those functions."
  :type 'symbol
  :options '(org-ref-helm-bibtex    ; completion with helm + helm-bibtex
         org-ref-helm-cite      ; completion with helm in org-ref
         org-ref-ivy-bibtex     ; completion with ivy
         org-ref-reftex     ; org-completion
         )
  :group 'org-ref)

Not sure if this is an actual bug or just an implementation issue on the cluster or my account.

jkitchin commented 8 years ago

This means you need to update helm-bibtex in the Emacs Options-> Manage packages menu.

John


Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu

On Fri, May 13, 2016 at 12:45 PM, Devon Walker notifications@github.com wrote:

Getting the following on load of the latest jmax update: let*: Symbol's value as variable is void: bibtex-completion-format-citation-functions

Traced it back to here: org-ref-helm-bibtex L93 https://github.com/jkitchin/org-ref/blob/master/org-ref-helm-bibtex.el#L93

(setq org-ref-insert-cite-function 'org-ref-helm-insert-cite-link org-ref-cite-onclick-function 'org-ref-cite-click-helm)

Possibly related to this function: org-ref L109 https://github.com/jkitchin/org-ref/blob/master/org-ref.el#L109

(defcustom org-ref-completion-library 'org-ref-helm-bibtex "String for library to define completion functions. The completion library should provide functions for org-ref-insert-link-function',org-ref-insert-cite-function', org-ref-insert-label-function',org-ref-insert-ref-function', and `org-ref-cite-onclick-function', and set those variables to the values of those functions." :type 'symbol :options '(org-ref-helm-bibtex ; completion with helm + helm-bibtex org-ref-helm-cite ; completion with helm in org-ref org-ref-ivy-bibtex ; completion with ivy org-ref-reftex ; org-completion ) :group 'org-ref)

Not sure if this is an actual bug or just an implementation issue on the cluster or my account.

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/jkitchin/org-ref/issues/221

devonwa commented 8 years ago

That worked. Thanks.