[Mono-list] C# mode for emacs?

Chris Raine c.raine@gmx.net
Sun, 20 Jun 2004 20:22:24 +0200


Just for the record just in case any other FC2 developer is stranded
without xemacs syntax highlighting support, here is the solution for the
script from davh.dk : 

<quote>

c-paren-re and c-identifier-re were helper macros that got removed from
cc-mode, as noted in the changelog for 2002-09-10.

If you add these to csharp-mode.el, things seem to work ok.

Here they are:

;;; Helpers for building regexps.
(defmacro c-paren-re (re)
`(concat "\\(" ,re "\\)"))
(defmacro c-identifier-re (re)
`(concat "\\[^_]"))

</quote> 


regards, 
chris

On Sat, 2004-06-19 at 23:40, Chris Raine wrote:
> but, just for the record, both modes mentioned do not work with the FC2
> version of XEmacs - and I could not find out why. I know this is far OT,
> but I still hope that somehow will email me in private and drop me few
> lines of hint to get them working again. Both worked on RH9. 
> 
> regards, 
> chris 
> 
> 
> 
> On Sat, 2004-06-19 at 21:52, Erik Dasque wrote:
> > Yes, you will find some emacs modes at :
> > 
> > http://www.mono-project.com/using/monodevelop.html
> > 
> > Erik
> > 
> > On Jun 19, 2004, at 1:47 PM, Mark Fonnemann wrote:
> > 
> > > Hello-
> > >
> > > is there a way to make emacs implement a C# mode? (i know there exists 
> > > such
> > > modes for C, C++, fortran, etc.) i'm new to Mono and i'm trying to use 
> > > emacs to
> > > write code but it's kinda of annoying as is without a C# mode. any 
> > > help to
> > > rectify this situation would be greatly appreciated...
> > >
> > > mark. :-)
> > >
> > >
> > >
> > >
> > > 		
> > > __________________________________
> > > Do you Yahoo!?
> > > New and Improved Yahoo! Mail - Send 10MB messages!
> > > http://promotions.yahoo.com/new_mail
> > > _______________________________________________
> > > Mono-list maillist  -  Mono-list@lists.ximian.com
> > > http://lists.ximian.com/mailman/listinfo/mono-list
> > 
> > _______________________________________________
> > Mono-list maillist  -  Mono-list@lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
> > 
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>