From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: Capture error Date: Wed, 31 Oct 2012 11:20:22 -1000 Message-ID: References: <4801.1351558296@alphaville> <13762.1351601621@alphaville> <4931.1351617345@alphaville.americas.hpqcorp.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:51376) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTfiP-0000G2-SC for emacs-orgmode@gnu.org; Wed, 31 Oct 2012 17:20:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TTfiN-0002C4-QF for emacs-orgmode@gnu.org; Wed, 31 Oct 2012 17:20:45 -0400 Received: from oproxy9.bluehost.com ([69.89.24.6]:49008) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1TTfiN-0002Bn-HA for emacs-orgmode@gnu.org; Wed, 31 Oct 2012 17:20:43 -0400 In-Reply-To: <4931.1351617345@alphaville.americas.hpqcorp.net> (Nick Dokos's message of "Tue, 30 Oct 2012 13:15:45 -0400") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: nicholas.dokos@hp.com Cc: Org-mode Nick Dokos writes: > Thomas S. Dye wrote: > >> Nick Dokos writes: >> >> > Thomas S. Dye wrote: >> > >> >> Hi Nick, >> >> >> >> I tried moving org-capture.elc out of the way and reloading Org, but >> >> with the same results. Starting emacs again didn't make a difference. >> >> >> >> I'm still getting org-refile: Invalid function: with-demoted-errors >> >> >> > >> > But note the different error: now org-refile complains. It may have had >> > the same compilation problem that the original function had. I'd suggest >> > cleaning out all the .elc files, trying it, and if that succeeds, remaking >> > from scratch. >> >> Sharp eyes! You must have been down this road before. >> >> Yes, cleaning out the .elc files corrects the problem. However, the >> problem comes back with a new make update. >> >> Thanks for your help and the interim solution. >> >> Any idea if the compilation problem is something in my setup that I >> should worry about? Or is it likely a problem with the Org build process >> that will get ironed out? >> > > Not sure. I don't see the problem in my setup, and I believe you use emacs > on a Mac, so it *may* be specific to your setup. > > OTOH, the with-demoted-errors calls were introduced recently, so there > may be a more general problem that I might not see because of > peculiarities in *my* setup. Thanks for pointing me to the solution. The automated build was finding the emacs that came with the Mac, which is apparently too old to know about with-demoted-errors. If I use local.mk to point to the emacs I'm using from MacPorts, then do make update, all seems to be well. All the best, Tom -- Thomas S. Dye http://www.tsdye.com