emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Vladimir Lomov <lomov.vl@gmail.com>
To: Sebastien Vauban <sva-news@mygooglest.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG?] Strange message in minibuffer while exporting into HTML
Date: Fri, 11 Oct 2013 17:47:18 +0900	[thread overview]
Message-ID: <20131011084718.GE943@smoon> (raw)
In-Reply-To: <86siw89sar.fsf@somewhere.org>

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.eric@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	other threads:[~2013-10-11  8:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-11  4:11 [BUG?] Strange message in minibuffer while exporting into HTML Vladimir Lomov
2013-10-11  4:32 ` Vladimir Lomov
2013-10-11  7:32 ` Sebastien Vauban
2013-10-11  8:47   ` Vladimir Lomov [this message]
2013-10-11  7:45 ` Eric S Fraga
2013-10-11 11:38   ` Vladimir Lomov

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=20131011084718.GE943@smoon \
    --to=lomov.vl@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=sva-news@mygooglest.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).