jkitchin / jmax

Johns customizations to maximize emacs
185 stars 59 forks source link

org-ref-insert-cite-link fails with "concat: Wrong type argument: sequencep, 67" #37

Closed icymist closed 10 years ago

icymist commented 10 years ago

Hello there,

I am using org-ref both on my Mac and on a Linux Desktop. While on the Mac org-ref works as expected, on the linux desktop it is not the case.

First, the key "C-c ]" is not getting defined to org-ref-insert-cite-link.

Second, if I try to do M-x org-ref-insert-cite-link, it fails with the message "concat: Wrong type argument: sequencep, 67"

I am using Emacs 24.2.1 with built-in org.

I am pretty new to emacs and org-mode, but would like to use the wonderful org-ref in my research workflow. Would be great if this is fixed and let me know if you need any more debugging output.

Loading /home/chaitanya/mytools/customizations/emacs/org-ref.el (source)...done Loaded ~/mytools/customizations/emacs/org-ref.el For information about GNU Emacs and the GNU system, type C-h C-a. paper.org has auto save data; consider M-x recover-this-file Loading reftex...done Compiling label environment definitions...done Scanning entire document... Scanning file /home/chaitanya/work/mypapers/XXX/paper.org Scanning document... done File mode specification error: (wrong-type-argument integer-or-marker-p org-ref-insert-cite-key) Loading vc-git...done Using default bibliography Scanning bibliography database mynewrefs.bib Select: [n]ext [p]revious [r]estrict [ ]full_entry [q]uit RET [?]Help+more concat: Wrong type argument: sequencep, 67

icymist commented 10 years ago

The that I was trying to include ends with an integer (like bibkey12).

jkitchin commented 10 years ago

this is definitely not enough information to figure much out. what version is the builtin org? you need an org8+ version. I use one from the orgmode elpa. http://orgmode.org/elpa.html

icymist commented 10 years ago

Org: 8.2.8 (8.2.8-elpaplus org-plus-contrib-20141006)

The problem seems to have been with Emacs.

It works with version 24.3 that I compiled myself.

Thanks for the code. It's awesome.

jkitchin commented 10 years ago

No problem. Glad it works!