emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <eric.schulte@gmx.com>
To: Sebastien Vauban <wxhgmqzgwmuf@spammotel.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [bug] Code blocks (in a LOB) are not ingested anymore
Date: Sat, 03 Dec 2011 07:52:48 -0700	[thread overview]
Message-ID: <87fwh1lnap.fsf@gmx.com> (raw)
In-Reply-To: 80pqg772o9.fsf@somewhere.org

Hi Seb,

I *do* get a single code block loaded when running your ECM.  What
values does the `org-babel-src-name-regexp' variable have on your
system?  If it is not equal to

  "^[ 	]*#\\+name:[ 	]*"

then my guess is that you have old versions of Org-mode defining this
variable, and these definitions are not updated when you load the newer
Org-mode over-top. Please see the bottom of the following commit message
for an explanation and a workaround.

  http://orgmode.org/w/?p=org-mode.git;a=commit;h=7e93b90f8816346a16ad49cee22870b17c05b211

If you are using the development version of Emacs24 this problem will be
resolved after Org-mode pushes to Emacs in the coming weeks.

Best -- Eric

"Sebastien Vauban" <wxhgmqzgwmuf@spammotel.com> writes:

> #+TITLE:     ECM for code blocks not being ingested anymore
> #+DATE:      2011-12-02
> #+PROPERTY:  eval yes
>
> * Overview
>
> Ingesting a LOB file does not load its code blocks anymore -- as if the file
> was empty, or if there were no code blocks at all in it!
>
> * Test case
>
> ** How many blocks?
>
> There is 1 block in this file. That's what this code block should answer.
>
> #+begin_src emacs-lisp :exports results
> (org-babel-lob-ingest (buffer-file-name))
> #+end_src
>
> #+results:
> : 0
>
> While a couple of days ago, it correctly answered "1", now it answers "0" as
> you can see/test.
>
> ** Block to be found
>
> #+name: defvar-now
> #+begin_src sql
> DECLARE @now smalldatetime
> -- implementation is not important in this context!
> #+end_src
>
> Best regards,
>   Seb

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/

  reply	other threads:[~2011-12-03 14:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-02  9:17 [bug] Code blocks (in a LOB) are not ingested anymore Sebastien Vauban
2011-12-03 14:52 ` Eric Schulte [this message]
2011-12-08 10:48   ` Sebastien Vauban

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=87fwh1lnap.fsf@gmx.com \
    --to=eric.schulte@gmx.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=wxhgmqzgwmuf@spammotel.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).