emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org-list-to-subtree strange behaviour


From: Nicolas Goaziou
Subject: Re: [O] org-list-to-subtree strange behaviour
Date: Sat, 16 Sep 2017 17:28:59 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Hello,

Robert Klein <address@hidden> writes:

> I'm trying to use org-list-to-subtree in a publishing projects
> sitemap-function.
>
> However, the org-list-to-subtree function only returns the first entry.
>
> That is, when I run
>
> (org-list-to-subtree  l '(:istart "** "))
>
> after setting the variable l (see below, I didn't want the
> 120+ lines interrupting this text) , I get this result:
>
>
> "**   [[file: openbsd-pxe.org][OpenBSD deployment via PXE]]
>
> #+begin_article-info
> #+BEGIN_date
> 2017-09-10
> #+END_date
>
> #+BEGIN_tags
> OpenBSD, PXE, Installation, Deployment
> #+END_tags
>
> #+begin_article-info
>
> "
>
> where I expected all nine entries in the list.

This is because L is not a valid list. In particular, it contains two
consecutive blank lines, which breaks the list.

Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]