From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-copy-subtree: Invalid function: org-preserve-local-variables Date: Tue, 08 Jan 2019 23:16:41 +0100 Message-ID: <87d0p6dcc6.fsf@nicolasgoaziou.fr> References: <87pnt88bw2.fsf@uwaterloo.ca> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:48397) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ggzfx-0001Xy-TK for emacs-orgmode@gnu.org; Tue, 08 Jan 2019 17:16:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ggzfx-0000tl-4p for emacs-orgmode@gnu.org; Tue, 08 Jan 2019 17:16:45 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:44413) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ggzfw-0000sD-VK for emacs-orgmode@gnu.org; Tue, 08 Jan 2019 17:16:45 -0500 In-Reply-To: <87pnt88bw2.fsf@uwaterloo.ca> (Britt Anderson's message of "Mon, 07 Jan 2019 15:13:01 -0500") 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: Britt Anderson Cc: Aaron Ecay , emacs-orgmode@gnu.org Hello, Britt Anderson writes: > Using org version 9.2 and emacs version 26.1 I received the error in the > subject line when trying to move or archive subtrees. It seems to me > that this is related to the > > (eval-and-compile (require 'org-macs)) > > line in org.el as replacing it with (require 'org-macs) solved that > problem. > > Can someone tell me whether this is actually related to something else > that I may have set up faulty or whether there is a more correct fix. This was introduced recently by Aaron Ecay in commit 581fd9064535bef40c620bbd8f8d1fa0b28feb66. I'm Cc'ing him as he may know if we can safely remove that. Regards, -- Nicolas Goaziou