emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Bug: Link descriptions in org-element parser


From: Nicolas Goaziou
Subject: Re: [O] Bug: Link descriptions in org-element parser
Date: Mon, 22 May 2017 13:37:30 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Hello,

Erik Sjöstrand <address@hidden> writes:

> I've updated to org-mode 9.0.7 but the problem remains. With this org-mode
> buffer
>
>     [[info:emacs#Directory%20variables][info:Directory variables]]
>
> org-element-parse-buffer give the following (indented):
>
> (org-data
>  nil
>  (section
>   (:begin 1 :end 92 :contents-begin 1 :contents-end 92 :post-blank 0
> :post-affiliated 1 :parent #0)
>   (paragraph
>    (:begin 1 :end 65 :contents-begin 1 :contents-end 64 :post-blank 1
> :post-affiliated 1 :parent #1)
>    (link
>     (:type info :path emacs#Directory%20variables :format bracket :raw-link
> info:emacs#Directory%20variables :application nil :search-option nil :begin
> 1 :end 63 :contents-begin 37 :contents-end 61 :post-blank 0 :parent #2)
>     (link (:type info :path Directory :format plain :raw-link
> info:Directory :application nil :search-option nil :begin 37 :end 52
> :contents-begin nil :contents-end nil :post-blank 1 :parent #3))
>     variables))))
>
> So the org-element-contents of the link is another link.

Then it was probably fixed in master branch, i.e., development version.
At least I cannot reproduce it. The fix will be included in Org 9.1.

Regards,

-- 
Nicolas Goaziou                                                0x80A93738



reply via email to

[Prev in Thread] Current Thread [Next in Thread]