emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Urs Rau (UK)" <urs.rau@om.org>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: Symbol's function definition is void: org-datetree-find-year-create / autoload org-datetree library?
Date: Sun, 20 Feb 2011 19:57:37 +0000	[thread overview]
Message-ID: <CB89A036-9B60-44D0-BFF2-71D96DA0A5D8@uk.om.org> (raw)

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	other threads:[~2011-02-20 19:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-20 19:57 Urs Rau (UK) [this message]
2011-03-19 13:51 ` Symbol's function definition is void: org-datetree-find-year-create / autoload org-datetree library? Matt Lundin
2011-03-19 13:53   ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CB89A036-9B60-44D0-BFF2-71D96DA0A5D8@uk.om.org \
    --to=urs.rau@om.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).