Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

I don't really know where to start debugging this problem. Any ideas?

I believe the following are all the related setting that I have:

;; Capture-org
(setq org-default-notes-file (concat org-directory "/notes.org"))
(define-key global-map "\C-cc" 'org-capture)

(setq org-capture-templates
      (quote (("t" "todo" entry (file (concat org-directory "/gtd.org"))
               "* TODO %?\n%U\n%a\n" :clock-in t :clock-resume t)
              ("n" "note" entry (file (concat org-directory "/gtd.org"))
               "* %? :NOTE:\n%U\n%a\n" :clock-in t :clock-resume t)
              ("j" "Journal" entry (file+datetree (concat org-directory "/diary.org"))
               "* %?\n%U\n" :clock-in t :clock-resume t)
              ("v" "Vocabulary" entry
               (file+headline (concat org-directory "/vocab.org")
                              "Vocabulary")
               "* %^{The word} :drill:\n:PROPERTIES:\n:Part-of-speech: %^{Part of speech|verb|noun|adj|adv}\n:END:\n %t\n %^{Extended word (may be empty)} \n** Answer \n%^{The definition}")
              )))
share|improve this question
    
Do you have an @ symbol in your org-todo-keywords, which is one method of triggering the notes? Perhaps you have notes triggered with the @ symbol in your org-todo-keywords and you are also trying to trigger it a second time in your org-capture-templates? –  lawlist Oct 4 '13 at 14:11
    
@lawlist: C-h v org-todo-keywords yields: Its value is ((sequence "TODO" "DONE")); so it seems not to be the case. –  Dror Oct 4 '13 at 14:34
    
Thank you for eliminating that as a potential conflict. –  lawlist Oct 4 '13 at 14:36
    
See also this related post of mine: thread.gmane.org/gmane.emacs.orgmode/77368 –  Dror Oct 4 '13 at 14:43
    
Is your goal to enter the text of the :NOTE: in a completely separate buffer (different than the template)? For example, if the template creates a drawer for :NOTE:, instead of just moving the cursor down to that drawer and typing the note, would you rather have a completely separate buffer to enter the text of your note? –  lawlist Oct 4 '13 at 14:57
show 5 more comments

1 Answer 1

up vote 0 down vote accepted

It seems like there was some conflict between an older version and the current one in the ELPA directory. Removing the older version solved the problem for me.

share|improve this answer
    
Glad to hear that your problem has been resolved. –  lawlist Oct 6 '13 at 16:31
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.