From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: missing element in org-element.el Date: Fri, 19 Apr 2013 16:37:36 +0200 Message-ID: <8761zipowf.fsf@gmail.com> References: <87wqryd24s.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40766) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UTCRa-00064g-EN for emacs-orgmode@gnu.org; Fri, 19 Apr 2013 10:37:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UTCRY-0000IW-Mo for emacs-orgmode@gnu.org; Fri, 19 Apr 2013 10:37:42 -0400 Received: from mail-wi0-x233.google.com ([2a00:1450:400c:c05::233]:46740) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UTCRY-0000IQ-F4 for emacs-orgmode@gnu.org; Fri, 19 Apr 2013 10:37:40 -0400 Received: by mail-wi0-f179.google.com with SMTP id l13so917149wie.6 for ; Fri, 19 Apr 2013 07:37:39 -0700 (PDT) In-Reply-To: <87wqryd24s.fsf@gmail.com> (Thorsten Jolitz's message of "Fri, 19 Apr 2013 16:30:11 +0200") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Thorsten Jolitz Cc: emacs-orgmode@gnu.org Hello, Thorsten Jolitz writes: > comparing this > > ,---------------------------------------------------------------------------- > | (defconst org-element-all-elements > | '(babel-call center-block clock comment comment-block diary-sexp drawer > | dynamic-block example-block export-block fixed-width > | footnote-definition headline horizontal-rule inlinetask item > | keyword latex-environment node-property paragraph plain-list > | planning property-drawer quote-block quote-section section > | special-block src-block table table-row verse-block) > | "Complete list of element types.") > `---------------------------------------------------------------------------- > > > to this > > ,------------------------------------------------------------------ > | (defconst org-element-secondary-value-alist > | '((headline . :title) > | (inlinetask . :title) > | (item . :tag) > | (footnote-reference . :inline-definition)) > | "Alist between element types and location of secondary value.") > `------------------------------------------------------------------ > > reveals that 'footnote-reference' is missing in the first list. A `footnote-reference' is an object type (see `org-element-all-objects'), not an element: as such it doesn't belong to `org-element-all-elements'. `org-element-secondary-value-alist' is a list of elements and objects containing a secondary string. Regards, -- Nicolas Goaziou