From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: C# and org-mode Date: Sat, 17 Nov 2012 10:16:21 -0700 Message-ID: <877gpk9ml6.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45638) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZlzT-0001Mu-SB for emacs-orgmode@gnu.org; Sat, 17 Nov 2012 12:15:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TZlzQ-0007q2-Pn for emacs-orgmode@gnu.org; Sat, 17 Nov 2012 12:15:35 -0500 Received: from mail-ie0-f169.google.com ([209.85.223.169]:62210) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZlzQ-0007py-Kv for emacs-orgmode@gnu.org; Sat, 17 Nov 2012 12:15:32 -0500 Received: by mail-ie0-f169.google.com with SMTP id 10so6235705ied.0 for ; Sat, 17 Nov 2012 09:15:32 -0800 (PST) In-Reply-To: (Fabrice Popineau's message of "Sat, 17 Nov 2012 15:23:17 +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: Fabrice Popineau Cc: "emacs-orgmode@gnu.org" Fabrice Popineau writes: > Hi, > > Given that there is this C# mode : > http://www.emacswiki.org/emacs/csharp-mode.el > is there a way to plug it in org-mode so that > C# becomes part of the languages available for src blocks? > I don't know much about C#. Assuming it is similar to C/C++ you could take a look at tweaking lisp/ob-C.el file in Org-mode to add C# support following the same model used to add C++ support in that file. For more sophisticated interaction with C#-mode you may want to implement a dedicated ob-csharp.el from this template. http://orgmode.org/w/worg.git/blob/HEAD:/org-contrib/babel/ob-template.el Best, > > Regards, > > Fabrice -- Eric Schulte http://cs.unm.edu/~eschulte