From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: font-lock form BEGIN_SRC Date: Thu, 26 Mar 2009 12:03:26 -0700 Message-ID: <87ocvof6o1.fsf@gmail.com> References: <59b700510903261158p17afe119ie83b78916bd92be2@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LmurV-0006FI-LJ for emacs-orgmode@gnu.org; Thu, 26 Mar 2009 15:03:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LmurQ-0006EZ-5y for emacs-orgmode@gnu.org; Thu, 26 Mar 2009 15:03:32 -0400 Received: from [199.232.76.173] (port=59350 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LmurP-0006EW-WD for emacs-orgmode@gnu.org; Thu, 26 Mar 2009 15:03:28 -0400 Received: from rv-out-0708.google.com ([209.85.198.243]:8058) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LmurP-0006ZQ-Er for emacs-orgmode@gnu.org; Thu, 26 Mar 2009 15:03:27 -0400 Received: by rv-out-0708.google.com with SMTP id f25so922595rvb.6 for ; Thu, 26 Mar 2009 12:03:26 -0700 (PDT) In-Reply-To: <59b700510903261158p17afe119ie83b78916bd92be2@mail.gmail.com> (Deric Bytes's message of "Thu, 26 Mar 2009 18:58:34 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Deric Bytes Cc: emacs-orgmode@gnu.org Hi Deric, This is possible with MuMAMo, see the following link for Details. Unfortunately it is not very stable, and in my experience leads to problems with folding/unfolding of outline levels. http://www.mail-archive.com/emacs-orgmode@gnu.org/msg08069.html The Author/Maintainer of MuMaMo is reworking some of the core buffer subdivision stuff, so it is possible that this could improve in the near future. As an interim solution you can also try \C-c' from inside the src block. Best -- Eric Deric Bytes writes: > Hi I would like the text in BEGIN_SRC to display the colour and > tab-indentation of the appropriate emacs-mode whilst viewing the org > file. I would also like to be able to hide the markup tag BEGIN_SRC. > > > #+BEGIN_SRC emacs-lisp > (defun org-xor (a b) > "Exclusive or." > (if a (not b) b)) > #+END_SRC > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode