From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: org-megaup Date: Fri, 30 Aug 2019 15:42:28 -0400 Message-ID: <875zme1luj.fsf@alphaville.usersys.redhat.com> References: <23F4C7B9-BC30-475A-AFBA-0641301F7857@traduction-libre.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:55784) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i3mnA-0007lp-Fg for emacs-orgmode@gnu.org; Fri, 30 Aug 2019 15:42:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i3mn9-0000Xp-Cd for emacs-orgmode@gnu.org; Fri, 30 Aug 2019 15:42:40 -0400 Received: from 195-159-176-226.customer.powertech.no ([195.159.176.226]:39860 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i3mn9-0000WD-6D for emacs-orgmode@gnu.org; Fri, 30 Aug 2019 15:42:39 -0400 Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1i3mn6-000ZNW-1N for emacs-orgmode@gnu.org; Fri, 30 Aug 2019 21:42:36 +0200 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 Jean-Christophe Helary writes: > When I use org-megaup I get a "Invalid function: > org-preserve-local-variables" is there a way to fix that ? > org-megaup is not defined AFAICT - do you mean `org-metaup'? If not, disregard the rest of this message. If yes, I don't see any problems, so you might want to provide the context (e.g. are trying to move subtrees up, move table rows up or move items in a list up?) Check also the value of `org-metaup-hook' to see if something weird crept in there. If it happens regardless of context, I would edebug the org-metaup function and see where the error message comes from - BTW, org-preserve-local-variables is a macro, not a function (so that might have something to do with it), defined in org-macs.el. If your setup is curdled, that might not be loaded, so try `(load-library org-macs)` and see if that resolves if: if it does, then you have to figure out whether there is something wrong with your setup (if it doesn't load that file automatically) or how it got curdled (if it does). -- Nick "There are only two hard problems in computer science: cache invalidation, naming things, and off-by-one errors." -Martin Fowler