Hello,

Thorsten Jolitz <tjol...@gmail.com> writes:

> I noticed this issue again when calling `org-element-at-point` with
> point before the stars in 
>
> ,----
> | ** [#A] whatsup :mytag:it:
> | hello world
> `----
>
> in an emacs-lisp-mode buffer - it results in:
>
> ,----
> | (paragraph (:begin 193 :end 246 :contents-begin 206 :contents-end 245
> | :post-blank 1 :post-affiliated 206 ...))
> `----
>
> so it kind-of works outside org major-mode, but not correctly due to
> character-class problem in the regexp(s).

Again, `org-element-at-point' is not meant to be used outside of an Org
buffer. You can improve the situation by changing regexps, but you will
get bitten sooner or later.


Regards,

-- 
Nicolas Goaziou

Reply via email to