[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Exzessive newlines in org-element item interpreter?
From: |
Thorsten Jolitz |
Subject: |
Re: [O] Exzessive newlines in org-element item interpreter? |
Date: |
Sun, 19 Oct 2014 10:04:37 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Thorsten Jolitz <address@hidden> writes:
> Nicolas Goaziou <address@hidden> 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
interpreter seems to have its own logic that is a bit difficult to grok
(or are there syntax errors too?):
#+BEGIN_SRC emacs-lisp
(org-element-interpret-data
'(item (:bullet "-" :tag "hello " :checkbox trans :counter 2)
(paragraph nil "world")))
#+END_SRC
#+results:
: - address@hidden [-] hello :: world
#+BEGIN_SRC emacs-lisp
(org-element-interpret-data
'(item (:bullet "+" :tag "hello " :checkbox trans :counter 2)
(paragraph nil "world")))
#+END_SRC
#+results:
: - address@hidden [-] hello :: world
#+BEGIN_SRC emacs-lisp
(setq org-list-allow-alphabetical t)
(when (featurep 'org-element) (load "org-element" t t))
(org-element-interpret-data
'(item (:bullet "a" :tag "hello " :checkbox trans :counter 2)
(paragraph nil "world")))
#+END_SRC
#+results:
: 1. address@hidden [-] hello :: world
--
cheers,
Thorsten
- [O] Exzessive newlines in org-element item interpreter?, Thorsten Jolitz, 2014/10/18
- Re: [O] Exzessive newlines in org-element item interpreter?, Nicolas Goaziou, 2014/10/19
- Re: [O] Exzessive newlines in org-element item interpreter?, Thorsten Jolitz, 2014/10/19
- Re: [O] Exzessive newlines in org-element item interpreter?,
Thorsten Jolitz <=
- Re: [O] Exzessive newlines in org-element item interpreter?, Nicolas Goaziou, 2014/10/19
- Re: [O] Exzessive newlines in org-element item interpreter?, Thorsten Jolitz, 2014/10/19
- Re: [O] Exzessive newlines in org-element item interpreter?, Nicolas Goaziou, 2014/10/19
- Re: [O] Exzessive newlines in org-element item interpreter?, Thorsten Jolitz, 2014/10/19
- Re: [O] Exzessive newlines in org-element item interpreter?, Nicolas Goaziou, 2014/10/20
- Re: [O] Exzessive newlines in org-element item interpreter?, Thorsten Jolitz, 2014/10/20
- Re: [O] Exzessive newlines in org-element item interpreter?, Nick Dokos, 2014/10/20
- Re: [O] Exzessive newlines in org-element item interpreter?, Thorsten Jolitz, 2014/10/20
- Re: [O] Exzessive newlines in org-element item interpreter?, Nicolas Goaziou, 2014/10/19