From mboxrd@z Thu Jan 1 00:00:00 1970 From: Abdo Haji-Ali Subject: Re: Bug: org-copy-subtree: Invalid function: org-preserve-local-variables Date: Mon, 4 Feb 2019 10:02:28 +0000 Message-ID: References: <87zhrc97e4.fsf@kyleam.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000005fb6cf05810e991b" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:56589) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gqb5x-00064R-Ie for emacs-orgmode@gnu.org; Mon, 04 Feb 2019 05:03:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gqb5t-00089F-Of for emacs-orgmode@gnu.org; Mon, 04 Feb 2019 05:03:15 -0500 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]:55517) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gqb5s-0007yB-DJ for emacs-orgmode@gnu.org; Mon, 04 Feb 2019 05:03:13 -0500 Received: by mail-wm1-x335.google.com with SMTP id y139so12373115wmc.5 for ; Mon, 04 Feb 2019 02:03:07 -0800 (PST) In-Reply-To: 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: Kyle Meyer Cc: emacs-orgmode@gnu.org --0000000000005fb6cf05810e991b Content-Type: text/plain; charset="UTF-8" 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 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 wrote: > > > > Hello, > > > > Abdo Haji-Ali 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 . > > > > -- > Abdo Haji-Ali > -- Abdo Haji-Ali --0000000000005fb6cf05810e991b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Updating to the latest org-mode (9.2.1) seems to solve thi= s issue.

On Sun, Feb 3, 2019 at 4:40 PM Abdo Haji-Ali <abdo.haji.ali@gmail.com>= wrote:
I just u= pdated 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-varia= bles'
> > whenever I try to move a subtree or when I access my agenda.
> >
> > This happens even if I run emacs with '-Q'.
> >
> > Emacs=C2=A0 : GNU Emacs 25.3.1 (x86_64-redhat-linux-gnu, GTK+ Ver= sion 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.=C2=A0 (It l= acks
> the macro org-preserve-local-variables.)
>
> See <https://orgmode.org/worg/org-faq.htm= l#mixed-install>.



--
Abdo Haji-Ali


--
Abdo Haji-Ali
--0000000000005fb6cf05810e991b--