On Jun 15, 2006, at 8:44 PM, Adrian Robert wrote:

Thank you for your help, but I was not able to make it work- I  
therefore found a newer csharp-mode: http://mfgames.com/linux/csharp- 
mode
this _also_ gives an error at initialization(below), but it at least  
fontifies my buffer.

File mode specification error: (void-variable compilation-error- 
regexp-alist)

> 1) cc-mode in emacs-unicode-2 branch has not been updated to same  
> code that is in trunk yet.

Could be- I copied cc-mode from darwinports emacs.app 22.0.50 into  
emacs.app site-lisp(and deleted the built-in). C-mode still works,  
but when I started the old C# mode, I got another error:
File mode specification error: (error "Font-lock trying to use  
keywords before setting them up")

> 2) I have some modifications in Emacs.app cc-mode for improved  
> handling Objective-C.  I don't see how these could effect C#, but  
> could be there is a bug somewhere.

How would I detect this was the possibility?

> 3) Some of your own customization and/or site-lisp is loaded  
> differently in Emacs.app vs. Carbon Emacs.  To check this, try  
> running both with the '-Q' (capital Q) option, and explicitly  
> loading just the dependencies you need for C# mode.

Tried it, ran only
(autoload 'csharp-mode "csharp-mode"
   "Major mode for editing C# code." t)
(setq auto-mode-alist (cons '( "\\.cs\\'" . csharp-mode ) auto-mode- 
alist ))

and opened a .cs file, with the same results


_______________________________________________
Emacs-app-dev- mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emacs-app-dev-

Reply via email to