From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: Link descriptions in org-element parser Date: Mon, 22 May 2017 13:37:30 +0200 Message-ID: <87y3tpf7gl.fsf@nicolasgoaziou.fr> References: <87y3tphkka.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45011) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dCleb-00047y-1b for emacs-orgmode@gnu.org; Mon, 22 May 2017 07:37:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dCleX-0002aN-V4 for emacs-orgmode@gnu.org; Mon, 22 May 2017 07:37:37 -0400 Received: from relay7-d.mail.gandi.net ([2001:4b98:c:538::200]:60030) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dCleX-0002ZI-Oc for emacs-orgmode@gnu.org; Mon, 22 May 2017 07:37:33 -0400 Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) by relay7-d.mail.gandi.net (Postfix) with ESMTPS id BFDE8CF3 for ; Mon, 22 May 2017 13:37:31 +0200 (CEST) In-Reply-To: ("Erik =?utf-8?Q?Sj=C3=B6strand=22's?= message of "Mon, 22 May 2017 07:51:57 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Erik =?utf-8?Q?Sj=C3=B6strand?= Cc: emacs-orgmode@gnu.org Hello, Erik Sj=C3=B6strand 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-li= nk > info:emacs#Directory%20variables :application nil :search-option nil :beg= in > 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, --=20 Nicolas Goaziou 0x80A93738