Hello,

"Sebastien Vauban"
<wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org> writes:

> The fact that the following output a normally behaving headline[1], AFAICS.
>
> #+begin_src sh :results drawer :exports both
> echo "* Unescaped headline"
> #+end_src
>
> #+results:
> :RESULTS:
> * Unescaped headline
> :END:
>
> Though, effectively, when exported, it's not right:

[...]

> Do you mean it, because of the wrong export?  By wrong, I don't mean "buggy",
> but "not foreseen as I (= me) thought".

Both cycling mechanism and fontification are bad indicators about the
syntax at point. Use either `org-element-at-point' or
`org-element-context' to know what is really parsed, according to the
Org syntax.

I will slowly integrate org-element-at-point in core interactive
functions, like visibility cycling. Though, fontification will have to
wait, because the parser isn't ready for that yet.


Regards,

-- 
Nicolas Goaziou


Reply via email to