On Oct 4, 2013, at 23:04 PM, Nick Dokos wrote: > Dror Atariah <dror...@gmail.com> writes: > >>> M-x locate-library RET org RET >> Returns: >> Library is file ~/.emacs.d/elpa/org-plus-contrib-20130930/org.elc > > N.B. Never used elpa, so take with appropriately sized grain of salt. > > Not sure whether this is a problem, but why is org.elc in the main > directory and not under > > ~/.emacs.d/elpa/org-plus-contrib-20130930/org/lisp? > > Maybe you are using a left-over org.elc?
Probably, this is somehow the case... I think the directory structure that you can see is the default one of ELPA - I don't think I tweaked it. >>> and >>> >>> M-x list-load-path-shadows RET >> Returns (I hope I collected only the relevant entries): >> /Users/user_name/.emacs.d/elpa/org-plus-contrib-20130930/org hides >> /Users/user_name/.emacs.d/elpa/org-20130930/org >> /Users/user_name/.emacs.d/elpa/org-plus-contrib-20130930/org hides >> /Users/user_name/.emacs.d/elpa/org-20130812/org >> /Users/user_name/.emacs.d/elpa/org-plus-contrib-20130930/org hides >> /Users/user_name/.emacs.d/elpa/org-20130923/org >> /Users/user_name/.emacs.d/elpa/org-plus-contrib-20130930/org hides >> /Users/user_name/.emacs.d/elpa/org-plus-contrib-20130812/org >> /Users/user_name/.emacs.d/elpa/org-plus-contrib-20130930/org hides >> /Users/user_name/.emacs.d/elpa/org-plus-contrib-20130923/org >> /Users/user_name/.emacs.d/elpa/org-plus-contrib-20130930/org hides >> /Applications/Emacs.app/Contents/Resources/lisp/org/org >> >> I guess that the above output suggests that org-mode is properly installed >> (via ELPA), isn't it? I'm afraid that I am not hinted by this output. >> > > Check that your org.el does include the definition of the variable. > Then load the uncompiled version using an explicit path: The file "~/.emacs.d/elpa/org-plus-contrib-20130930/org.el" contains the definition of the variable "org-bookmark-names-plist" > M-x load-file RET /Users/user_name/.emacsd./elpa/..../org/lisp/org.el RET > > *Now* is the variable defined? If so, does capture work? Indeed, loading it manually, solved the problem. > I'd probably clean up the .elc files and compile anew. Then restart > emacs. I didn't know how to recompile the files, and what exactly do you mean by cleaning the .elc's; so I did something else. I removed the old directories of org-mode from the ELPA directory, restarted emacs and it now seems to work fine. Thanks and all the best, Dror