emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Eric Schulte" <schulte.eric@gmail.com>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: [BUG] org-export-normalize-links: Invalid function: org-if-unprotected-at
Date: Wed, 23 Sep 2009 08:38:14 -0600	[thread overview]
Message-ID: <m2d45h9161.fsf@gmail.com> (raw)
In-Reply-To: <42557C5E-A31B-408C-B77D-4A72617D297C@gmail.com> (Carsten Dominik's message of "Wed, 23 Sep 2009 14:48:12 +0100")

Carsten Dominik <carsten.dominik@gmail.com> writes:

> On Sep 23, 2009, at 4:59 AM, Eric Schulte wrote:
>
>> Hi,
>>
>> When publishing large html projects I sometimes run into the following
>> error.
>>
>> : org-export-normalize-links: Invalid function: org-if-unprotected-at
>>
>> This happens unpredictably, and I find that it can normally be fixed
>> by
>> some combination of...
>> - updating Org-mode with git pull
>> - running make clean && make in my Org-mode directory
>> - restarting Emacs
>>
>> My questions are
>> - has anyone else seen this?
>> - does anyone have advice for forensic analysis I should perform next
>>  time this happens?
>>
>> Thanks -- Eric
>>
>
> Hi Eric,
>
> I think this can happen when using a uncompiled version of org-exp.el
> that is
> getting a compiled version of org.el via (require 'org).
>
> Adding
>
>    (require 'org-macs)
>
> to org-exp.el (I just did that) should hopefully get rid of this issue.
>
> - Carsten

Hi Carsten,

I just grabbed the latest version of Org-mode, ran

  $ make clean && make

restarted Emacs, and tried again and ran into the same issue.

  org-export-normalize-links: Invalid function: org-if-unprotected-at

I then ran

  $ make clean

restarted Emacs, and tried again, and the publish worked without a
problem.  It seems to be a problem related to compiled version of either
org-exp.el or org-macs.el, but I have no idea which.  For now I'm
content running uncompiled.  Please let me know if there is some way for
me to investigate or provide more useful debugging info.

Thanks -- Eric

  reply	other threads:[~2009-09-23 14:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-23  3:59 [BUG] org-export-normalize-links: Invalid function: org-if-unprotected-at Eric Schulte
2009-09-23 13:48 ` Carsten Dominik
2009-09-23 14:38   ` Eric Schulte [this message]
2009-09-28 20:10     ` Carsten Dominik

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=m2d45h9161.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).