Re: [O] Unable to finalize capture
On Oct 4, 2013, at 23:04 PM, Nick Dokos wrote: > Dror Atariah 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
Re: [O] Unable to finalize capture
Dror Atariah 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? > >> 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: 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? I'd probably clean up the .elc files and compile anew. Then restart emacs. Nick
Re: [O] Unable to finalize capture
On Oct 4, 2013, at 14:56 PM, Nick Dokos wrote: > Dror Atariah writes: > >> It seems like after the last update I've made to org-mode the >> capturing of notes does not work properly. Currently I have version >> 8.0.7 (20130930) from the ELPA. Hitting C-c c (i.e. org-capture) >> brings the list of capture templates and then I can choose one of them >> to open a buffer where I can actually entry the note. The problem is >> that once I'm done, hitting C-c C-c doesn't close the capturing >> buffer. The content is saved in the right place but I'm not returned >> to the place where I started the capturing. In the *Messages* buffer I >> get the following error: org-capture-finalize: Symbol's value as >> variable is void: org-bookmark-names-plist >> > > org-bookmark-names-plist is defined in org.el. Try evaluating > > (require 'org) This evaluation can be found in my init file. I can evaluate this manually without any problem. > and seeing if the variable is now defined: > > C-h v org-bookmark-names-plist RET The variable is not defined. Thus, I guess I'm facing the following case in your answer: > If the variable is not defined, check whether you have some old > obsolete org.el lying around: > > M-x locate-library RET org RET Returns: Library is file ~/.emacs.d/elpa/org-plus-contrib-20130930/org.elc > 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. What further steps can I take?
Re: [O] Unable to finalize capture
Dror Atariah writes: > It seems like after the last update I've made to org-mode the > capturing of notes does not work properly. Currently I have version > 8.0.7 (20130930) from the ELPA. Hitting C-c c (i.e. org-capture) > brings the list of capture templates and then I can choose one of them > to open a buffer where I can actually entry the note. The problem is > that once I'm done, hitting C-c C-c doesn't close the capturing > buffer. The content is saved in the right place but I'm not returned > to the place where I started the capturing. In the *Messages* buffer I > get the following error: org-capture-finalize: Symbol's value as > variable is void: org-bookmark-names-plist > org-bookmark-names-plist is defined in org.el. Try evaluating (require 'org) and seeing if the variable is now defined: C-h v org-bookmark-names-plist RET If so, the capture should work. Then you have to figure out why org.el[c] was not loaded. If the variable is not defined, check whether you have some old obsolete org.el lying around: M-x locate-library RET org RET and M-x list-load-path-shadows RET should give you some clues. -- Nick