emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: org-copy-subtree: Invalid function: org-preserve-local-variables
@ 2019-02-03 14:43 Abdo Haji-Ali
  2019-02-03 16:14 ` Kyle Meyer
  0 siblings, 1 reply; 4+ messages in thread
From: Abdo Haji-Ali @ 2019-02-03 14:43 UTC (permalink / raw)
  To: emacs-orgmode

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 "\\<Abdul-Lateef Haji-Ali\\>"
 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
 )

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

* Re: Bug: org-copy-subtree: Invalid function: org-preserve-local-variables
  2019-02-03 14:43 Bug: org-copy-subtree: Invalid function: org-preserve-local-variables Abdo Haji-Ali
@ 2019-02-03 16:14 ` Kyle Meyer
  2019-02-03 16:40   ` Abdo Haji-Ali
  0 siblings, 1 reply; 4+ messages in thread
From: Kyle Meyer @ 2019-02-03 16:14 UTC (permalink / raw)
  To: Abdo Haji-Ali, emacs-orgmode

Hello,

Abdo Haji-Ali <abdo.haji.ali@gmail.com> writes:

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

This is very likely a problem in your Org installation due to an
interaction with the Org version that comes with Emacs 25.  (It lacks
the macro org-preserve-local-variables.)

See <https://orgmode.org/worg/org-faq.html#mixed-install>.

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

* Re: Bug: org-copy-subtree: Invalid function: org-preserve-local-variables
  2019-02-03 16:14 ` Kyle Meyer
@ 2019-02-03 16:40   ` Abdo Haji-Ali
  2019-02-04 10:02     ` Abdo Haji-Ali
  0 siblings, 1 reply; 4+ messages in thread
From: Abdo Haji-Ali @ 2019-02-03 16:40 UTC (permalink / raw)
  To: Kyle Meyer; +Cc: emacs-orgmode

I just updated emacs to 27.0.50 and I am seeing the exact same error.
I think org-preserve-local-variables is in org-macs which is part of
org-mode source code.

On Sun, Feb 3, 2019 at 4:14 PM Kyle Meyer <kyle@kyleam.com> wrote:
>
> Hello,
>
> Abdo Haji-Ali <abdo.haji.ali@gmail.com> writes:
>
> > 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)
>
> This is very likely a problem in your Org installation due to an
> interaction with the Org version that comes with Emacs 25.  (It lacks
> the macro org-preserve-local-variables.)
>
> See <https://orgmode.org/worg/org-faq.html#mixed-install>.



-- 
Abdo Haji-Ali

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

* Re: Bug: org-copy-subtree: Invalid function: org-preserve-local-variables
  2019-02-03 16:40   ` Abdo Haji-Ali
@ 2019-02-04 10:02     ` Abdo Haji-Ali
  0 siblings, 0 replies; 4+ messages in thread
From: Abdo Haji-Ali @ 2019-02-04 10:02 UTC (permalink / raw)
  To: Kyle Meyer; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1122 bytes --]

Updating to the latest org-mode (9.2.1) seems to solve this issue.

On Sun, Feb 3, 2019 at 4:40 PM Abdo Haji-Ali <abdo.haji.ali@gmail.com>
wrote:

> I just updated emacs to 27.0.50 and I am seeing the exact same error.
> I think org-preserve-local-variables is in org-macs which is part of
> org-mode source code.
>
> On Sun, Feb 3, 2019 at 4:14 PM Kyle Meyer <kyle@kyleam.com> wrote:
> >
> > Hello,
> >
> > Abdo Haji-Ali <abdo.haji.ali@gmail.com> writes:
> >
> > > 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)
> >
> > This is very likely a problem in your Org installation due to an
> > interaction with the Org version that comes with Emacs 25.  (It lacks
> > the macro org-preserve-local-variables.)
> >
> > See <https://orgmode.org/worg/org-faq.html#mixed-install>.
>
>
>
> --
> Abdo Haji-Ali
>


-- 
Abdo Haji-Ali

[-- Attachment #2: Type: text/html, Size: 1948 bytes --]

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

end of thread, other threads:[~2019-02-04 10:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-03 14:43 Bug: org-copy-subtree: Invalid function: org-preserve-local-variables Abdo Haji-Ali
2019-02-03 16:14 ` Kyle Meyer
2019-02-03 16:40   ` Abdo Haji-Ali
2019-02-04 10:02     ` Abdo Haji-Ali

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