From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: [bug] `Org-list-end-marker' displayed in exported documents Date: Thu, 24 Nov 2011 12:44:04 +0100 Message-ID: <8039ddpwxn.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org #+TITLE: ECM for Org-list-end-marker #+DATE: 2011-11-24 #+PROPERTY: eval yes * Overview When exporting the following test case to either HTML or PDF, we get =ORG-LIST-END-MARKER= displayed instead of the list of code blocks. Maybe this is still not the correct way to publish a list of code blocks, but what we get seems as well wrong to me. * Test case ** How many blocks? There are: #+begin_src emacs-lisp :exports results (org-babel-lob-ingest (buffer-file-name)) #+end_src #+results: : 1 blocks. ** Which blocks? The following code is certainly not sufficient, but would aim at providing some index to named code blocks (linkable, if possible). #+begin_src emacs-lisp :results list (mapcar #'list (reverse (org-babel-src-block-names))) #+end_src #+results: - (#("defvar-now" 0 10 (fontified t org-category "mc-lob" face org-meta-line font-lock-fontified t))) ** Example of block Define date variable =now=: #+name: defvar-now #+begin_src sql DECLARE @now smalldatetime -- implementation is not important in this context! #+end_src Best regards, Seb -- Sebastien Vauban