emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Herbert Sitz <hesitz@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Evaluation on export has stopped working, org-export-blocks hook was culprit?
Date: Fri, 28 Oct 2011 23:21:06 +0000 (UTC)	[thread overview]
Message-ID: <loom.20111029T005807-969@post.gmane.org> (raw)

I had a system that was working fine, but it seems to have stopped processing
babel source blocks on export.  I've switched between Org 7.4 and 7.7 on Win32
Emacs 23.1 and both have the problem.  

As I was writing this up I discovered that the problem was caused by a line I
had added to my .emacs.  This line was preventing any evaluation of source
blocks at all:
--------------------------------------------
 '(org-export-blocks (quote ((comment org-export-blocks-format-comment nil)
(ditaa org-export-blocks-format-ditaa nil) (dot org-export-blocks-format-dot
nil))))
--------------------------------------------

I had innocently been testing out export of comments with org-export-blocks hook
and I had forgotten I put that in .emacs some days ago.  

It seems to have prevented any processing of my source blocks on export.  That
is the export of the block simply exports the code between begin_src and
end_src, regardless of the value of :exports option (both, none, results, code).
 And, of course, the code in the source block was not getting evaluated.

Don't know if this is a known problem or not.  

Thanks,

Herb

                 reply	other threads:[~2011-10-28 23:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=loom.20111029T005807-969@post.gmane.org \
    --to=hesitz@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).