reddit / emacs

Error trying to load csharp mode -- weird interaction with R-mode???

nasadiya_sukta · 2022-02-21 17:26
I installed csharp-mode from Melpa. I don't have csharp-mode hooks enabled in my dot emacs, so I open a ".cs" file, and then type "M-x csharp-mode". I get this error: Symbol’s chain of function indirections contains a loop: R-mode Syntax highlighting does NOT occur (except for strings and comments, for some reason). However, the mode line does say that csharp-mode IS activated for the file. I don't understand why R-mode is involved with this process at all. I do have ESS installed. Here is the information for the package: csharp-mode is an installed package. Status: Installed in ‘csharp-mode-20210105.1950/’ (unsigned). Delete Version: 20210105.1950 Summary: C# mode derived mode Homepage: https://github.com/emacs-csharp/csharp-mode Keywords: c# languages oop mode Other versions: 0.11.0 (installed), 20211124.1105 (Melpa), 20200402.919 (melpa), 1.1.1 (Melpa Stable), 0.9.0 (marmalade).