Re: [O] Bug: [PATCH] Org-babel: separate #+attr_... for code block and for results block [7.9.3d (release_7.9.3d-834-g60083a.dirty @ /home/vdyadov/Work/Tools/emacs/org-mode/lisp/)]

2013-01-24 Thread Nicolas Goaziou
Hello, vdya...@elvees.com (Дядов Васил Стоянов) writes: With my patch to ob-core.el org-babel works fine with your suggestion. It just skips #+attr_...: lines as blank lines (original behaviour of org-babel is to skip blank lines between #+end_src and #+results, when it searches results

Re: [O] Bug: [PATCH] Org-babel: separate #+attr_... for code block and for results block [7.9.3d (release_7.9.3d-834-g60083a.dirty @ /home/vdyadov/Work/Tools/emacs/org-mode/lisp/)]

2013-01-24 Thread Дядов Васил Стоянов
Hi, I looked into generated html, not result of org-element-property. But you're right: org-element-property works exactly as you say. I'll change the patch to ob-core.el to reflect behavior of org-element-property. With best regards, Vasil Of course not. With: #+attr_html: alt=big image

Re: [O] Bug: [PATCH] Org-babel: separate #+attr_... for code block and for results block [7.9.3d (release_7.9.3d-834-g60083a.dirty @ /home/vdyadov/Work/Tools/emacs/org-mode/lisp/)]

2013-01-24 Thread Bastien
Hi Vasil, vdya...@elvees.com (Дядов Васил Стоянов) writes: I'll change the patch to ob-core.el to reflect behavior of org-element-property. Please fill in the form to assign your copyright to the FSF, otherwise we will not be able to take any patch for Org's core.

[O] Bug: [PATCH] Org-babel: separate #+attr_... for code block and for results block [7.9.3d (release_7.9.3d-834-g60083a.dirty @ /home/vdyadov/Work/Tools/emacs/org-mode/lisp/)]

2013-01-23 Thread Дядов Васил Стоянов
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list.

Re: [O] Bug: [PATCH] Org-babel: separate #+attr_... for code block and for results block [7.9.3d (release_7.9.3d-834-g60083a.dirty @ /home/vdyadov/Work/Tools/emacs/org-mode/lisp/)]

2013-01-23 Thread Nicolas Goaziou
Hello, vdya...@elvees.com (Дядов Васил Стоянов) writes: Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to

Re: [O] Bug: [PATCH] Org-babel: separate #+attr_... for code block and for results block [7.9.3d (release_7.9.3d-834-g60083a.dirty @ /home/vdyadov/Work/Tools/emacs/org-mode/lisp/)]

2013-01-23 Thread Дядов Васил Стоянов
Why syntax is invalid? I've taken a look at the source code in org-elements.el and found that it is taking into account some expressions, like #+results: and so on(see org-element-affiliated-keywords, org-element--affiliated-re) when attaching properties to objects. And everything works fine

Re: [O] Bug: [PATCH] Org-babel: separate #+attr_... for code block and for results block [7.9.3d (release_7.9.3d-834-g60083a.dirty @ /home/vdyadov/Work/Tools/emacs/org-mode/lisp/)]

2013-01-23 Thread Nicolas Goaziou
vdya...@elvees.com (Дядов Васил Стоянов) writes: Why syntax is invalid? Affiliated keywords have to be put above elements they refer to, without a blank line in-between. I've taken a look at the source code in org-elements.el and found that it is taking into account some expressions, like

Re: [O] Bug: [PATCH] Org-babel: separate #+attr_... for code block and for results block [7.9.3d (release_7.9.3d-834-g60083a.dirty @ /home/vdyadov/Work/Tools/emacs/org-mode/lisp/)]

2013-01-23 Thread Дядов Васил Стоянов
Hi, Nicolas Goaziou n.goaz...@gmail.com writes: Affiliated keywords have to be put above elements they refer to, without a blank line in-between. Ok. Elements doesn't care about order for affiliated keywords (here results and attr_html), but Babel, which isn't built on Elements (yet),

Re: [O] Bug: [PATCH] Org-babel: separate #+attr_... for code block and for results block [7.9.3d (release_7.9.3d-834-g60083a.dirty @ /home/vdyadov/Work/Tools/emacs/org-mode/lisp/)]

2013-01-23 Thread Bastien
vdya...@elvees.com (Дядов Васил Стоянов) writes: PS: Is there any good documentation and explanation of org-mode internals? We don't have anything specific, the documentation of org-mode internals is... in the code itself :) -- Bastien