From mboxrd@z Thu Jan 1 00:00:00 1970 From: ihor Subject: Re: org-element discovered inconsistensies Date: Sat, 8 Jun 2019 19:18:24 -0400 Message-ID: <18bd667a-6c5d-5870-1449-259714680560@antonovs.family> References: <87ef4l599r.fsf@nicolasgoaziou.fr> <87y32oip3s.fsf@alphaville.usersys.redhat.com> <87muirznxx.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------4BDCCA4B370BA9110016F500" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:56538) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hZkba-0006wA-KN for emacs-orgmode@gnu.org; Sat, 08 Jun 2019 19:18:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hZkbZ-0004r4-BK for emacs-orgmode@gnu.org; Sat, 08 Jun 2019 19:18:34 -0400 Received: from mail.antonovs.family ([100.25.240.195]:53916) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hZkbZ-0004o8-6o for emacs-orgmode@gnu.org; Sat, 08 Jun 2019 19:18:33 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.antonovs.family (Postfix) with ESMTP id 634DB138D21 for ; Sat, 8 Jun 2019 23:18:26 +0000 (UTC) Received: from mail.antonovs.family ([127.0.0.1]) by localhost (mail.antonovs.family [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id sHB2lKOAaVfl for ; Sat, 8 Jun 2019 23:18:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.antonovs.family (Postfix) with ESMTP id AE625138E87 for ; Sat, 8 Jun 2019 23:18:25 +0000 (UTC) Received: from mail.antonovs.family ([127.0.0.1]) by localhost (mail.antonovs.family [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id j3-MF2Uw087a for ; Sat, 8 Jun 2019 23:18:25 +0000 (UTC) Received: from [192.168.88.27] (ool-44c123d3.dyn.optonline.net [68.193.35.211]) by mail.antonovs.family (Postfix) with ESMTPSA id 82472138D21 for ; Sat, 8 Jun 2019 23:18:25 +0000 (UTC) In-Reply-To: <87muirznxx.fsf@nicolasgoaziou.fr> Content-Language: en-US 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: emacs-orgmode@gnu.org This is a multi-part message in MIME format. --------------4BDCCA4B370BA9110016F500 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Great! Thanks, I think you missed Node Properties - they are still located under=20 Elements on Syntax page https://orgmode.org/worg/dev/org-syntax.html#Elements https://orgmode.org/worg/dev/org-syntax.html#Node_Properties I think it should be moved to Greater Elements section And it is also listed as Element on API page https://orgmode.org/worg/dev/org-element-api.htm I have also discovered more: Syntax page states: > With the exception of inlinetasks=20 , items=20 ,=20 planning=20 ,=20 clocks=20 ,=20 node properties=20 and table=20 rows , every=20 other element type can be assigned attributes. But=C2=A0 this list is not full - if you check the source code=20 https://code.orgmode.org/bzg/org-mode/src/master/lisp/org-element.el#L386= 6 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;; Item. + =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;; Table Row. + =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;; Node Property. + =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;; Headline. =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;; Sections (must be checked after = headline). =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;; Planning.+ =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;; Property drawer. =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;; Paragraph. =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;; Clock. + =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;; Inlinetask. + ;; From there, elements can have affiliated keywords. So Pragraph, Property Drawer, Sections and Headlines are missing from=20 this list On 6/8/19 6:56 PM, Nicolas Goaziou wrote: > Hello, > > ihor writes: > >> So these are things that I have discovered so far: > [...] > > I think I fixed the issues you pointed out. Thank you. > > Regards, > --------------4BDCCA4B370BA9110016F500 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

Great! Thanks,

I think you missed Node Properties - they are still located under Elements on Syntax page

https://orgmode.org/worg/dev/org-syntax.h= tml#Elements

https://orgmode.org/worg/dev/org-s= yntax.html#Node_Properties

I think it should be moved to Greater Elements section

And it is also listed as Element on API page

https= ://orgmode.org/worg/dev/org-element-api.htm


I have also discovered more:

Syntax page states:

> With the exception of inlinetasks, items, planning, clocks, node properties and = table rows, every other element type can be assigned attributes.

But=C2=A0 this list is not full - if you check the source code https://code.orgmode.org/bz= g/org-mode/src/master/lisp/org-element.el#L3866

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;; Item. +
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;; Table Row. +
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;; Node Property. +
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;; Headline.
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;; Sections (must be checked a= fter headline).
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;; Planning.+
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;; Property drawer.
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;; Paragraph.
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;; Clock. +
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ;; Inlinetask. +
;; From there, elements can have affiliated keywords.

So Pragraph, Property Drawer, Sections and Headlines are missing from this list



On 6/8/19 6:56 PM, Nicolas Goaziou wrote:
Hello,

ihor <ihor@antonovs.family> writes:

So these are things that I=
 have discovered so far:
[...]

I think I fixed the issues you pointed out. Thank you.

Regards,

--------------4BDCCA4B370BA9110016F500--