emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: tsd@tsdye.com (Thomas S. Dye)
To: nicholas.dokos@hp.com
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: Capture error
Date: Wed, 31 Oct 2012 11:20:22 -1000	[thread overview]
Message-ID: <m1pq3y72zt.fsf@tsdye.com> (raw)
In-Reply-To: <4931.1351617345@alphaville.americas.hpqcorp.net> (Nick Dokos's message of "Tue, 30 Oct 2012 13:15:45 -0400")

Nick Dokos <nicholas.dokos@hp.com> writes:

> Thomas S. Dye <tsd@tsdye.com> wrote:
>
>> Nick Dokos <nicholas.dokos@hp.com> writes:
>> 
>> > Thomas S. Dye <tsd@tsdye.com> 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

  reply	other threads:[~2012-10-31 21:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-30  0:26 Capture error Thomas S. Dye
2012-10-30  0:51 ` Nick Dokos
2012-10-30  6:38   ` Thomas S. Dye
2012-10-30 12:53     ` Nick Dokos
2012-10-30 16:42       ` Thomas S. Dye
2012-10-30 17:15         ` Nick Dokos
2012-10-31 21:20           ` Thomas S. Dye [this message]
2012-10-30 17:35         ` Yagnesh Raghava Yakkala
2012-10-30 19:16           ` Thomas S. Dye

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1pq3y72zt.fsf@tsdye.com \
    --to=tsd@tsdye.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=nicholas.dokos@hp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).