From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Code blocks in lists? Date: Fri, 18 May 2012 15:44:02 +0200 Message-ID: <87pqa17gf1.fsf@gmail.com> References: <80bollkhmu.fsf@somewhere.org> <87obpl3lre.fsf@gmail.com> <1337342641.WXHGMQZGWMUF@spammotel.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60332) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SVNWZ-0005vC-2r for emacs-orgmode@gnu.org; Fri, 18 May 2012 09:47:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SVNWU-00057T-2s for emacs-orgmode@gnu.org; Fri, 18 May 2012 09:47:18 -0400 Received: from plane.gmane.org ([80.91.229.3]:36199) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SVNWT-00057P-PR for emacs-orgmode@gnu.org; Fri, 18 May 2012 09:47:13 -0400 Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SVNWL-0006TX-Rc for emacs-orgmode@gnu.org; Fri, 18 May 2012 15:47:05 +0200 In-Reply-To: <1337342641.WXHGMQZGWMUF@spammotel.com> (WXHGMQZGWMUF@spammotel.com's message of "Fri, 18 May 2012 13:50:13 +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: WXHGMQZGWMUF@spammotel.com Cc: public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org, Eric Schulte , Sebastien Vauban Hello, WXHGMQZGWMUF@spammotel.com writes: > * Before command > > 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. > > * Command to execute > > (let ((org-current-export-file (current-buffer))) > (org-export-blocks-preprocess)) > > * After command > > 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. > > * Summary of the changes > > The code blocks "meta data": > - is indented in column 0 `org-export-blocks-preprocess' shouldn't do that. I assume you want to preserve indentation in your blocks, but block boundaries shouldn't be moved in any case. Eric Schulte may have an opinion about this. I CC him. There's nothing to do as far as lists are concerned, unfortunately. Regards, -- Nicolas Goaziou