From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Code blocks in lists? Date: Fri, 18 May 2012 11:02:13 +0200 Message-ID: <87obpl3lre.fsf@gmail.com> References: <80bollkhmu.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47397) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SVJ7v-0005Dg-DX for emacs-orgmode@gnu.org; Fri, 18 May 2012 05:05:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SVJ7o-0002s1-VZ for emacs-orgmode@gnu.org; Fri, 18 May 2012 05:05:34 -0400 Received: from plane.gmane.org ([80.91.229.3]:47556) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SVJ7o-0002rn-Lz for emacs-orgmode@gnu.org; Fri, 18 May 2012 05:05:28 -0400 Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SVJ7d-0006g7-PR for emacs-orgmode@gnu.org; Fri, 18 May 2012 11:05:17 +0200 In-Reply-To: <80bollkhmu.fsf@somewhere.org> (Sebastien Vauban's message of "Fri, 18 May 2012 10:39:21 +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: Sebastien Vauban Cc: public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org Hello, "Sebastien Vauban" writes: > Hello, > > As demonstrated by the following ECM, it seems that I can't put code blocks > inside lists: > > * Installation > > 1. Download and install color-theme. > > #+begin_src emacs-lisp > (add-to-list 'load-path "/path/to/color-theme-6.6.0") > (require 'color-theme) > #+end_src > > 2. Download and install color-theme-leuven. > > #+begin_src emacs-lisp > (add-to-list 'load-path "/path/to/color-theme-leuven") > (require 'color-theme-leuven) > #+end_src > > 3. Restart Emacs. > > I guess this is the same root cause as the problem I tried to described at > http://lists.gnu.org/archive/html/emacs-orgmode/2012-02/msg00247.html. > > Here, the fact that it is an enumerated list makes the problem stand > out. I still cannot reproduce it. > Any advice? What happens if you eval: (let ((org-current-export-file (current-buffer))) (org-export-blocks-preprocess)) in your buffer? Regards, -- Nicolas Goaziou