From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean-Marie Gaillourdet Subject: Support for Bird-style Literate Haskell Date: Thu, 24 Nov 2011 11:31:28 +0100 Message-ID: <38DB773C-B3C2-491F-ADBD-315ED2CC7640@gaillourdet.net> Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:41904) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTWbY-00055z-SE for emacs-orgmode@gnu.org; Thu, 24 Nov 2011 05:32:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RTWbS-0004EQ-2f for emacs-orgmode@gnu.org; Thu, 24 Nov 2011 05:32:32 -0500 Received: from smtprelay03.ispgateway.de ([80.67.31.30]:42422) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTWbR-0004Du-Tx for emacs-orgmode@gnu.org; Thu, 24 Nov 2011 05:32:26 -0500 Received: from [109.239.60.164] (helo=[IPv6:::1]) by smtprelay03.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1RTWbO-0006NN-VW for emacs-orgmode@gnu.org; Thu, 24 Nov 2011 11:32:23 +0100 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: emacs-orgmode List Hi everybody, I'd be interested to use org syntax in the comments of a literate = haskell file. I know and use occasionally org-babel. Though, this = question is not about org-babel. I am merely interested in telling = org-mode to leave the code parts of a literate Haskell file alone, i.e. = similar to code blocks in org-mode. I have no propblem with switching = between org-mode and literate-haskell-mode depending on what I am = currently editing. I am not interested in org-babel because I don't want = to have a separate weaving step in my build system. In case you don't know: Literate Haskell files (ending with .lhs) come = in two flavors: bird style and latex style. In bird style every line is = a comment unless it has '>' in the first column. And in latex style code = blocks are surround with \begin{code} and \end{code}. Haskell = implementations do not care what is in the non-code parts. So, I'd like = to use org markup and especially the editing features of org-mode. I'd = prefer to work in bird-style and latex-style would be fine as well. Do you have any ideas/pointers how to achieve that? Thanks for your help! Cheers,=20 Jean=