emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Symbol's function definition is void: org-datetree-find-year-c


From: Urs Rau (UK)
Subject: [Orgmode] Symbol's function definition is void: org-datetree-find-year-create / autoload org-datetree library?
Date: Sun, 20 Feb 2011 19:57:37 +0000

On latest git version release_7.4-419-g68114f, [Org-mode version 7.4 
(release_7.4.419.g68114f)] , I am trying to archive to a date-tree and get the 
error: 

Symbol's function definition is void: org-datetree-find-year-create

I found that if I '(load "org-datetree.el")' in the scratch buffer, it then 
succeeds. 

Does org-datetree not get auto-loaded?

Also I have searched the *.el files to find the definition of 
"org-datetree-find-year-create" and found inconsistent use of the 
"keep-restriction" check, sometimes it is all lower case, sometimes it is all 
uppercase, I guess lisp is not case sensitive?

$ find ./ -type f -exec grep -i "keep-restriction" {} /dev/null \; 
./lisp/org-agenda.el:             (date &optional keep-restriction))
./lisp/org-capture.el:            (DATE &optional KEEP-RESTRICTION))
./lisp/org-datetree.el:(defun org-datetree-find-date-create (date &optional 
keep-restriction)
./lisp/org-datetree.el:If KEEP-RESTRICTION is non-nil, do not widen the buffer.
./lisp/org-datetree.el:    (or keep-restriction (widen))

Regards,

-- 
Urs Rau




reply via email to

[Prev in Thread] Current Thread [Next in Thread]