emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <schulte.eric@gmail.com>
To: Fabrice Popineau <fabrice.popineau@gmail.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: C# and org-mode
Date: Sat, 17 Nov 2012 10:16:21 -0700	[thread overview]
Message-ID: <877gpk9ml6.fsf@gmail.com> (raw)
In-Reply-To: <CAFgFV9P_VF38nLCG+UkcPf3cvWXCPJ-6FXvih-otArCNepj=DQ@mail.gmail.com> (Fabrice Popineau's message of "Sat, 17 Nov 2012 15:23:17 +0100")

Fabrice Popineau <fabrice.popineau@gmail.com> 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

  reply	other threads:[~2012-11-17 17:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-17 14:23 C# and org-mode Fabrice Popineau
2012-11-17 17:16 ` Eric Schulte [this message]
2012-11-20  3:05   ` Luis Anaya

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877gpk9ml6.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=fabrice.popineau@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).