Hello,
** Sebastien Vauban [2013-10-11 09:32:12 +0200]:

> Hello Vladimir,

[...]

> I confirm the problem on my Windows environment:

> - GNU Emacs 24.3.50.1 (i686-pc-mingw32) of 2013-09-30 on LEG570
> - Org-mode version 8.1.1 (release_8.1.1-13-ga1f9a1)

> ... and I don't see any problem with your syntax. I'm as puzzled as you are.

> Would you wanna help, I think trying to bisect Org mode would be a great step
> into fixing what I think to be a problem in Org.

Hm, this is my the best approach to "debug":
1. in all cases I run emacs like
   #+BEGIN_EXAMPLE
     emacs -Q --eval "(add-to-list 'load-path \"~/tmp/org-mode\")" --eval 
"(require 'org)" --eval "(require 'ox-html)" ex-call2.org
   #+END_EXAMPLE
2. this is the file 'ex-call2.org':
   #+BEGIN_SRC org
     ,* This is title of first section
     
     Call me:
     ,#+CALL: simp-func()

     ,* Function definition

     ,#+NAME: simp-func()
     ,#+BEGIN_SRC emacs-lisp :var name="My name is..."
       (format "[You passed data] %S" name)
     ,#+END_SRC
   #+END_SRC
3. before run 'C-c C-e h h' (export into HTML) I run ~M-x org-version~
   to ensure what version I run;
4. I started from releases: 8.2.1, 8.2... 8.0 and found that in all
   release begins with 8.1 I see mentioned message, but in releases
   8.0.6 and 8.0.7 there is another message:
   #+BEGIN_QUOTE
     Reference 'simp-func' not found in this buffer
   #+END_QUOTE
   so I decided to find out which commit changed this message.
5. I did: =git bisect release_8.1 release_8.0.7= and after some steps I
   got:
   #+BEGIN_EXAMPLE
     685b2967247597f75d22cb77896bc8a70503b2c3 is the first bad commit
     commit 685b2967247597f75d22cb77896bc8a70503b2c3
     Author: Eric Schulte <schulte.e...@gmail.com>
     Date:   Tue Jun 25 07:55:32 2013 -0600

         evaluate elisp header args at original call site
    
         * lisp/ob-core.el (org-babel-execute-src-block): Ensure that the
           location is set before anything else is done.
         * lisp/ob-ref.el (org-babel-ref-parse): Evaluate Emacs Lisp values in
           header arguments at the location of the original code block.
         * testing/lisp/test-ob.el (test-ob/location-of-header-arg-eval): Test
           defending the new header argument evaluation behavior.

     :040000 040000 9e11b15cf73c6a0a9856f2a3393f27419e251f14 
b106e079f13673e440c391bcb6a1e6dddb4994ed M lisp
     :040000 040000 3935206e2970ec1f338a8b5524906a6d32e58d0e 
19f36ce174bbfcd58f6e2bad5313d2de7cdc43c7 M testing
   #+END_EXAMPLE

I have to stop here because I don't know Emacs Lisp and org-mode
internals to debug further.

---
WBR, Vladimir Lomov

-- 
<wichert> solaris is bsd, so it should work
* Espy takes wichert's crack pipe away

Reply via email to