vspinu / zotelo

Manage zotero collections from emacsemacs.
121 stars 8 forks source link

Symbol's value as variable is void: file-local-variables-alist #12

Closed LiangGou closed 9 years ago

LiangGou commented 11 years ago

Hi,

I am trying to use zotelo. By following the instructions listed in this website, including:

Emacs 24.2.50.1+AUCTEX version: 11.87 firefox with zotero extension MozRepl (Activate on startup)

But, when i try to set the collection with (C-c z c), I get this error: Symbol's function definition is void: add-file-local-variable

Could you help me on this?

Thank you!

LiangGou commented 11 years ago

solve the problem. It turns out you can only run these cmds in emacs GUI not terminal.

vspinu commented 11 years ago

This should not be. It should work in terminal as well. I will check this tomorrow. I see you also figured how to set up the bib file

vspinu commented 11 years ago

I am afraid I cannot reproduce the problem. file-local-variables-alist is always defined in any version of emacs -q I have tried. It is part of files.el which is loaded at startup. I am afraid this is your local problem, which might be due to a very special emacs configuration of yours. Try putting (require 'files) in your .emacs.

Liang Gou notifications@github.com on Fri, 16 Aug 2013 11:00:04 -0700 wrote:

Hi, I am trying to use zotelo. By following the instructions listed in this website, including:

Emacs 24.2.50.1+AUCTEX version: 11.87 firefox with zotero extension MozRepl (Activate on startup)

But, when i try to update the collection, I get this error: Symbol's value as variable is void: file-local-variables-alist

And also, to me, it is not clear that how zotelo creates the connections among Zotero with the local .bib file used inside Emacs.

Could you help me on this?

Thank you!

— Reply to this email directly or view it on GitHub.