From mboxrd@z Thu Jan 1 00:00:00 1970 From: Abdo Haji-Ali Subject: Bug: org-copy-subtree: Invalid function: org-preserve-local-variables Date: Sun, 3 Feb 2019 14:43:25 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:37928) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gqJ0D-0001Xk-GG for emacs-orgmode@gnu.org; Sun, 03 Feb 2019 09:44:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gqJ0B-0005SO-C4 for emacs-orgmode@gnu.org; Sun, 03 Feb 2019 09:44:09 -0500 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:39327) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gqJ0B-0005Pj-5O for emacs-orgmode@gnu.org; Sun, 03 Feb 2019 09:44:07 -0500 Received: by mail-wr1-x431.google.com with SMTP id t27so11802893wra.6 for ; Sun, 03 Feb 2019 06:44:04 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org On the latest org-mode version, 9.2, I keep receiving the error 'org-copy-subtree: Invalid function: org-preserve-local-variables' whenever I try to move a subtree or when I access my agenda. This happens even if I run emacs with '-Q'. Emacs : GNU Emacs 25.3.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.22.10) of 2017-10-30 Package: Org mode version 9.2 (9.2-43-gf9a8cc-elpa @ /home/ah180/.emacs.d/elpa/org-20190128/) current state: ============== (setq org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate) org-occur-hook '(org-first-headline-recenter) org-src-tab-acts-natively t org-metaup-hook '(org-babel-load-in-session-maybe) org-capture-after-finalize-hook '((lambda nil (org-gcal-sync))) org-src-window-setup 'current-window org-confirm-shell-link-function 'yes-or-no-p org-gcal-file-alist '(("abdo.haji.ali@gmail.com" . "~/Work/Projects/dropbox-git/gcal.org")) org-tab-before-tab-emulation-hook '(org-tempo-complete-tag) org-agenda-custom-commands '(("c" "Simple agenda view" ((agenda "") (alltodo "")))) org-default-notes-file "~/Work/Projects/dropbox-git/tasks.org" org-todo-keyword-faces '(("TODO" :foreground "#DDDD00" :weight bold :box (:line-width 1 :style none)) ("NEXT" :foreground "red" :weight bold :box (:line-width 1 :style none)) ("DONE" :foreground "forest green" :weight bold :box (:line-width 1 :style none)) ("WAITING" :foreground "orange" :weight bold :box (:line-width 1 :style none)) ("HOLD" :foreground "cyan" :weight bold :box (:line-width 1 :style none)) ("CANCELLED" :foreground "forest green" :weight bold :box (:line-width 1 :style none)) ) org-startup-indented t org-after-todo-state-change-hook '(org-clock-out-if-current) org-from-is-user-regexp "\\" 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 '(org-tempo-setup (lambda nil (org-bullets-mode)) #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-show-all append local] 5] #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-refile-targets '((nil :maxlevel . 9) (org-agenda-files :maxlevel . 9)) org-bibtex-headline-format-function #[257 "\300 \236A\207" [:title] 3 "\n\n(fn ENTRY)"] org-todo-state-tags-triggers '(("CANCELLED" ("CANCELLED" . t)) ("WAITING" ("WAITING" . t)) ("HOLD" ("WAITING") ("HOLD" . t)) (done ("WAITING") ("HOLD")) ("TODO" ("WAITING") ("CANCELLED") ("HOLD")) ("NEXT" ("WAITING") ("CANCELLED") ("HOLD")) ("DONE" ("WAITING") ("CANCELLED") ("HOLD"))) org-archive-hook '(org-attach-archive-delete-maybe) org-directory "~/Work/Projects/dropbox-git/" org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-todo-keywords '((sequence "TODO(t)" "NEXT(n)" "WAITING(w)" "|" "DONE(d)") (sequence "HOLD(h@/!)" "|" "CANCELLED(c@/!)")) org-modules '(org-tempo org-w3m org-bbdb org-bibtex org-docview org-gnus org-info org-irc org-mhe org-rmail org-eww) org-capture-before-finalize-hook '(org-gcal--capture-post) org-gcal-client-secret "L87mfr8h7vhETM1jRUn9Hdwy" org-confirm-elisp-link-function 'yes-or-no-p org-gcal-client-id "543829701868-rl0ndisa6fk111rv0s1vq0eeiu7dfcsa.apps.googleusercontent.com" org-metadown-hook '(org-babel-pop-to-session-maybe) org-link-parameters '(("id" :follow org-id-open) ("eww" :follow eww :store org-eww-store-link) ("rmail" :follow org-rmail-open :store org-rmail-store-link) ("mhe" :follow org-mhe-open :store org-mhe-store-link) ("irc" :follow org-irc-visit :store org-irc-store-link :export org-irc-export) ("info" :follow org-info-open :export org-info-export :store org-info-store-link) ("gnus" :follow org-gnus-open :store org-gnus-store-link) ("docview" :follow org-docview-open :export org-docview-export :store org-docview-store-link) ("bibtex" :follow org-bibtex-open :store org-bibtex-store-link) ("bbdb" :follow org-bbdb-open :export org-bbdb-export :complete org-bbdb-complete-link :store org-bbdb-store-link) ("w3m" :store org-w3m-store-link) ("mu4e" :follow org-mu4e-open :store org-mu4e-store-link) ("file+sys") ("file+emacs") ("doi" :follow org--open-doi-link) ("elisp" :follow org--open-elisp-link) ("file" :complete org-file-complete-link) ("ftp" :follow (lambda (path) (browse-url (concat "ftp:" path)))) ("help" :follow org--open-help-link) ("http" :follow (lambda (path) (browse-url (concat "http:" path)))) ("https" :follow (lambda (path) (browse-url (concat "https:" path)))) ("mailto" :follow (lambda (path) (browse-url (concat "mailto:" path)))) ("news" :follow (lambda (path) (browse-url (concat "news:" path)))) ("shell" :follow org--open-shell-link)) org-agenda-mode-hook '((lambda nil (org-gcal-sync))) org-agenda-files '("~/Work/Projects/dropbox-git/gcal.org" "~/Work/Projects/dropbox-git/tasks.org") org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-confirm-babel-evaluate nil org-refile-target-verify-function 'abdo/verify-refile-target )