emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: org-datetree.el references undefined function org-find-property [8.2.10 (release_8.2.10 @ /Users/damien/.emacs.d/elpa/org-plus-contrib-20160314/)]
@ 2016-03-16 15:39 Damien Pollet
  2016-03-16 21:26 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Damien Pollet @ 2016-03-16 15:39 UTC (permalink / raw)
  To: emacs-orgmode


Hi. When invoking org-capture to add an entry to my journal, Emacs
sometimes complains that "symbols's function definition is void:
org-find-property". Very much like in this report:

https://lists.gnu.org/archive/html/emacs-orgmode/2016-02/msg00267.html

M-x describe-function does not find that symbol. I found an occurrence
of it in org-datetree.el, and a colleague recommended to (require
'org-datetree) but that didn't have any effect.

I usually open an org-mode file and retry the org-capture, and sometimes
that makes the problem go away, but not today, it seems. This is with
Spacemacs master, keeping all packages pretty up-to-date with Melpa etc.

Thanks in advance

------------------------------------------------------------------------



Emacs  : GNU Emacs 24.5.1 (x86_64-apple-darwin15.2.0, Carbon Version 157 AppKit 1404.34)
 of 2015-12-15 on Kosumi.local
Package: Org-mode version 8.2.10 (release_8.2.10 @ /Users/damien/.emacs.d/elpa/org-plus-contrib-20160314/)

current state:
==============
(setq
 org-journal-file-format "%Y-%m-%d.org"
 org-id-locations-file "/Users/damien/.emacs.d/.cache/.org-id-locations"
 org-journal-mode-hook '(#[nil "\301\b\302\303\304$\207"
                           [org-journal-encrypt-on org-add-hook
                            org-journal-encryption-hook nil t]
                           5]
                         (lambda nil
                          (org-add-hook org-journal-encrypt-on
                           (quote org-journal-encryption-hook) nil t)
                          )
                         )
 org-pandoc-epub-rights "Copyright 2016 Damien Pollet <>"
 org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe
                      org-babel-hide-result-toggle-maybe org-babel-header-arg-expand)
 org-clock-persist-file "/Users/damien/.emacs.d/.cache/org-clock-save.el"
 org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook)
 org-special-ctrl-k t
 org-occur-hook '(org-first-headline-recenter)
 org-imenu-depth 8
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-html-format-drawer-function '(lambda (name contents) contents)
 org-log-done t
 org-latex-format-inlinetask-function 'org-latex-format-inlinetask-default-function
 org-confirm-shell-link-function 'yes-or-no-p
 org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
 org-link-translation-function 'toc-org-unhrefify
 org-present-mode-hook '(spacemacs//org-present-start)
 org-agenda-restore-windows-after-quit t
 org-special-ctrl-a/e t
 org-return-follows-link t
 org-latex-format-headline-function 'org-latex-format-headline-default-function
 org-default-notes-file "notes.org"
 org-capture-templates '(("j" "Journal entry" entry
                          (file+datetree
                           (concat (file-name-as-directory org-journal-dir)
                            "current.org")
                           )
                          "* %(format-time-string org-journal-time-format)%i%?")
                         ("x" "Org Repo Checklist Item" checkitem
                          (file+headline (ort/todo-file) "Checklist"))
                         ("t" "Org Repo Todo" entry
                          (file+headline (ort/todo-file) "Todos")
                          "* TODO  %?			%T\n %i\n Link: %l\n")
                         )
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-latex-format-drawer-function '(lambda (name contents) contents)
 org-from-is-user-regexp "\\<Damien Pollet\\>"
 org-src-mode-hook '(org-src-babel-configure-edit-buffer
                     org-src-mode-configure-edit-buffer)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-babel-pre-tangle-hook '(save-buffer)
 org-mode-hook '((lambda nil
                  (add-hook (quote before-save-hook) (quote org-align-all-tags) nil t))
                 spacemacs/load-yasnippet toc-org-enable
                 org-journal-update-auto-mode-alist org-bullets-mode flyspell-mode
                 spacemacs/add-org-surrounds evil-org-mode org-eldoc-load
                 #[nil "\300\301\302\303\304$\207"
                   [org-add-hook change-major-mode-hook org-show-block-all append
                    local]
                   5]
                 #[nil "\300\301\302\303\304$\207"
                   [org-add-hook change-major-mode-hook org-babel-show-result-all
                    append local]
                   5]
                 org-babel-result-hide-spec org-babel-hide-all-hashes
                 spacemacs//init-company-org-mode company-mode)
 org-archive-hook '(org-attach-archive-delete-maybe)
 org-ascii-format-drawer-function '(lambda (name contents width) contents)
 org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe)
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
                  org-cycle-hide-inline-tasks org-cycle-show-empty-lines
                  org-optimize-window-after-visibility-change)
 org-publish-timestamp-directory "/Users/damien/.emacs.d/.cache/.org-timestamps/"
 org-bullets-bullet-list '("◆" "▶" "•" "*")
 org-present-mode-quit-hook '(spacemacs//org-present-end)
 org-journal-date-format "%A, %Y-%m-%d"
 org-export-async-init-file "/Users/damien/.emacs.d/layers/org/org-async-init.el"
 org-confirm-elisp-link-function 'yes-or-no-p
 org-startup-with-inline-images t
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-html-format-headline-function 'org-html-format-headline-default-function
 org-reveal-start-hook '(org-decrypt-entry)
 org-html-format-inlinetask-function 'org-html-format-inlinetask-default-function
 org-fontify-whole-heading-line t
 org-agenda-files '("~/Documents/tasks.org" "~/Documents/journal/")
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 org-journal-time-format "%R  "
 org-src-fontify-natively t
 )

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bug: org-datetree.el references undefined function org-find-property [8.2.10 (release_8.2.10 @ /Users/damien/.emacs.d/elpa/org-plus-contrib-20160314/)]
  2016-03-16 15:39 Bug: org-datetree.el references undefined function org-find-property [8.2.10 (release_8.2.10 @ /Users/damien/.emacs.d/elpa/org-plus-contrib-20160314/)] Damien Pollet
@ 2016-03-16 21:26 ` Nicolas Goaziou
  2016-03-16 21:39   ` Damien Pollet
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2016-03-16 21:26 UTC (permalink / raw)
  To: Damien Pollet; +Cc: emacs-orgmode

Hello,

Damien Pollet <damien.pollet@inria.fr> writes:

> Hi. When invoking org-capture to add an entry to my journal, Emacs
> sometimes complains that "symbols's function definition is void:
> org-find-property". Very much like in this report:
>
> https://lists.gnu.org/archive/html/emacs-orgmode/2016-02/msg00267.html
>
> M-x describe-function does not find that symbol. I found an occurrence
> of it in org-datetree.el, and a colleague recommended to (require
> 'org-datetree) but that didn't have any effect.
>
> I usually open an org-mode file and retry the org-capture, and sometimes
> that makes the problem go away, but not today, it seems. This is with
> Spacemacs master, keeping all packages pretty up-to-date with Melpa etc.
>
> Emacs  : GNU Emacs 24.5.1 (x86_64-apple-darwin15.2.0, Carbon Version 157 AppKit 1404.34)
>  of 2015-12-15 on Kosumi.local
> Package: Org-mode version 8.2.10 (release_8.2.10 @ /Users/damien/.emacs.d/elpa/org-plus-contrib-20160314/)

The above looks supicious. "org-plus-contrib-20160314" should provide
Org 8.3.4 instead of 8.2.10, which is the one provided in Emacs.

Could you double-check your installation?


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bug: org-datetree.el references undefined function org-find-property [8.2.10 (release_8.2.10 @ /Users/damien/.emacs.d/elpa/org-plus-contrib-20160314/)]
  2016-03-16 21:26 ` Nicolas Goaziou
@ 2016-03-16 21:39   ` Damien Pollet
  0 siblings, 0 replies; 3+ messages in thread
From: Damien Pollet @ 2016-03-16 21:39 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-orgmode

On 16 Mar 2016, at 22:26, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
>> Package: Org-mode version 8.2.10 (release_8.2.10 @ /Users/damien/.emacs.d/elpa/org-plus-contrib-20160314/)
> 
> The above looks supicious. "org-plus-contrib-20160314" should provide
> Org 8.3.4 instead of 8.2.10, which is the one provided in Emacs.
> 
> Could you double-check your installation?

Yes, I rebooted emacs; org-version reports 8.3.4 now.

In fact the problem went away after the reboot and it usually happens after I update packages, so it probably was the previous release reporting about the freshly updated but not completely reloaded packages.

I discussed that with our local Emacs guru and he wasn't surprised there would be problems with hot-updating code.

--
Damien Pollet

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-03-16 21:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-16 15:39 Bug: org-datetree.el references undefined function org-find-property [8.2.10 (release_8.2.10 @ /Users/damien/.emacs.d/elpa/org-plus-contrib-20160314/)] Damien Pollet
2016-03-16 21:26 ` Nicolas Goaziou
2016-03-16 21:39   ` Damien Pollet

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).