Re: [O] Exzessive newlines in org-element item interpreter?

2014-10-20 Thread Nicolas Goaziou
Hello, Thorsten Jolitz tjol...@gmail.com writes: ,[ C-h f yes-or-no-p RET ] | yes-or-no-p is an alias for `y-or-n-p'. | | (yes-or-no-p PROMPT) | | Ask user a y or n question. ` = nil The interpreter produces _normalized_ syntax. It ignores indentation, capitalization on

Re: [O] Exzessive newlines in org-element item interpreter?

2014-10-20 Thread Thorsten Jolitz
Nicolas Goaziou m...@nicolasgoaziou.fr writes: Hello, Thorsten Jolitz tjol...@gmail.com writes: ,[ C-h f yes-or-no-p RET ] | yes-or-no-p is an alias for `y-or-n-p'. | | (yes-or-no-p PROMPT) | | Ask user a y or n question. ` = nil The interpreter produces _normalized_

Re: [O] Exzessive newlines in org-element item interpreter?

2014-10-20 Thread Nick Dokos
Thorsten Jolitz tjol...@gmail.com writes: Your interpretation of 'obvious' seems (obviously?) be a bit overly optimistic sometimes. Probably apocryphal but ... http://mystatpage.wordpress.com/tag/g-h-hardy/ -- Nick

Re: [O] Exzessive newlines in org-element item interpreter?

2014-10-20 Thread Thorsten Jolitz
Nick Dokos ndo...@gmail.com writes: Thorsten Jolitz tjol...@gmail.com writes: Your interpretation of 'obvious' seems (obviously?) be a bit overly optimistic sometimes. Probably apocryphal but ... http://mystatpage.wordpress.com/tag/g-h-hardy/ Nice. Whats really obvious is that spelling

Re: [O] Exzessive newlines in org-element item interpreter?

2014-10-19 Thread Nicolas Goaziou
Hello, Thorsten Jolitz tjol...@gmail.com writes: Hi List, evaluating this #+BEGIN_SRC emacs-lisp (org-element-interpret-data '(item (:bullet 1 :tag hello :checkbox trans :counter 2) (section nil world))) #+END_SRC #+results: : 1. [@2] hello :: :world the content is always

Re: [O] Exzessive newlines in org-element item interpreter?

2014-10-19 Thread Thorsten Jolitz
Nicolas Goaziou m...@nicolasgoaziou.fr writes: Hello, Thorsten Jolitz tjol...@gmail.com writes: Hi List, evaluating this #+BEGIN_SRC emacs-lisp (org-element-interpret-data '(item (:bullet 1 :tag hello :checkbox trans :counter 2) (section nil world))) #+END_SRC #+results: : 1.

Re: [O] Exzessive newlines in org-element item interpreter?

2014-10-19 Thread Thorsten Jolitz
Thorsten Jolitz tjol...@gmail.com writes: Nicolas Goaziou m...@nicolasgoaziou.fr writes: [...] You should not provide 'on, 'off or 'trans, and even less strings, but on, off or trans since your expression is already quoted. One more question: bullet strings are parsed 'as-is', but the

Re: [O] Exzessive newlines in org-element item interpreter?

2014-10-19 Thread Nicolas Goaziou
Hello, Thorsten Jolitz tjol...@gmail.com writes: One more question: bullet strings are parsed 'as-is', but the interpreter seems to have its own logic that is a bit difficult to grok (or are there syntax errors too?): This is simple: ordered lists bullets are always X., where X is a number

Re: [O] Exzessive newlines in org-element item interpreter?

2014-10-19 Thread Nicolas Goaziou
Thorsten Jolitz tjol...@gmail.com writes: So when creating an element with interpreted content (that is given as plain string), I use - headlines :: (section nil foo) - others :: (paragraph nil foo) If contents are already interpreted, - anything :: foo is sufficient, I think.

Re: [O] Exzessive newlines in org-element item interpreter?

2014-10-19 Thread Thorsten Jolitz
Nicolas Goaziou m...@nicolasgoaziou.fr writes: Hello, Thorsten Jolitz tjol...@gmail.com writes: One more question: bullet strings are parsed 'as-is', but the interpreter seems to have its own logic that is a bit difficult to grok (or are there syntax errors too?): This is simple: ordered

Re: [O] Exzessive newlines in org-element item interpreter?

2014-10-19 Thread Nicolas Goaziou
Thorsten Jolitz tjol...@gmail.com writes: The conclusion of your answer above is that the item-interpreter cannot produce the complete org-mode syntax for plain-lists that is recognized by the parser and described in the manual? This question is too tricky (and closed) for me to answer.

Re: [O] Exzessive newlines in org-element item interpreter?

2014-10-19 Thread Thorsten Jolitz
Nicolas Goaziou m...@nicolasgoaziou.fr writes: Thorsten Jolitz tjol...@gmail.com writes: The conclusion of your answer above is that the item-interpreter cannot produce the complete org-mode syntax for plain-lists that is recognized by the parser and described in the manual? This question