From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Urs Rau (UK)" 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 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=56643 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PrFPo-0007Fs-2i for emacs-orgmode@gnu.org; Sun, 20 Feb 2011 14:57:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PrFPm-0001rn-R2 for emacs-orgmode@gnu.org; Sun, 20 Feb 2011 14:57:56 -0500 Received: from mail1.itdojo.org ([217.33.40.109]:39374) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PrFPm-0001rB-Ib for emacs-orgmode@gnu.org; Sun, 20 Feb 2011 14:57:54 -0500 Received: from qts-fe2.global.local ([10.245.0.30]) by mail1.itdojo.org (8.13.1/8.13.1) with ESMTP id p1KJvdjr003774 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Sun, 20 Feb 2011 19:57:45 GMT Content-Language: en-US List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode On latest git version release_7.4-419-g68114f, [Org-mode version 7.4 (relea= se_7.4.419.g68114f)] , I am trying to archive to a date-tree and get the er= ror:=20 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.=20 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" che= ck, 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 \;=20 ./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 buf= fer. ./lisp/org-datetree.el: (or keep-restriction (widen)) Regards, --=20 Urs Rau