From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: FR: source code Date: Fri, 18 Jan 2008 09:20:59 +0100 Message-ID: <5476A1F0-C9C7-480B-A5B3-441CFA9DAF39@gmail.com> References: <87bq7w5zp0.fsf@shellarchive.co.uk> <60164EE4-391B-4801-AED1-6E0B566FF253@gmail.com> <87tzldh9zs.fsf@shellarchive.co.uk> Mime-Version: 1.0 (Apple Message framework v915) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JFnLX-0001gE-PG for emacs-orgmode@gnu.org; Fri, 18 Jan 2008 04:17:08 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JFnLU-0001eD-3l for emacs-orgmode@gnu.org; Fri, 18 Jan 2008 04:17:06 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JFnLT-0001db-FD for emacs-orgmode@gnu.org; Fri, 18 Jan 2008 04:17:03 -0500 Received: from ug-out-1314.google.com ([66.249.92.172]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JFnLT-0000vw-I4 for emacs-orgmode@gnu.org; Fri, 18 Jan 2008 04:17:03 -0500 Received: by ug-out-1314.google.com with SMTP id a2so502186ugf.48 for ; Fri, 18 Jan 2008 01:17:02 -0800 (PST) In-Reply-To: <87tzldh9zs.fsf@shellarchive.co.uk> 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: Phil Jackson Cc: emacs-orgmode@gnu.org On Jan 16, 2008, at 7:59 PM, Phil Jackson wrote: > Carsten Dominik writes: > >> On Jan 8, 2008, at 12:22 PM, Phil Jackson wrote: > > [...] > >>> is the lack of a method to 'embed' source code into a document ala: >>> >>> >>> ... >>> > > [...] > >> It seems to me that there are really two issues here: >> >> 1. Font-locking in the buffer >> 2. Export >> >> I guess one problem is that the stuff in BEGIN_EXAMPLE and similar >> structures is not protected from font-lock a la org-mode. >> Maybe this is the main issue you are having Phil? >> >> How does Muse behave in your examlple? I don't know Muse too well. > > The code isn't actually font-locked in the buffer itself but is syntax > highlighted upon export (in (x)html anyway). Without actually reading > the code, I think it just takes the region applies the mode > specified by > the 'lang' attribute and then uses htmlize.el on it. > > I *personally* still can't decide if this is within org's scope > though, > not to say I wouldn't find it very handy. So then am confused what you initial message was about. The feature your are asking for is then an exporting feature, right? Maybe you need to restate what exactly you would like to see. - Carsten > > > Cheers, > Phil > -- > Phil Jackson > http://www.shellarchive.co.uk > > > _______________________________________________ > 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