Re: How to install csharp mode in emacs
Francis Wright <[email protected]> Sat, 30 Sep 2017 14:41:57 +0000
| Newsgroups | gmane.emacs.windows |
|---|---|
| Message-ID | <DB6PR0901MB163889E59105936DC8574BD0E57F0@DB6PR0901MB1638.eurprd09.prod.outlook.com> |
I think you have introduced a newline in the wrong place (which matters because of the comment) and the code in your .emacs file should look like this:
(require 'package) ;; You might already have this line
(add-to-list 'package-archives
'("melpa-stable" . "https://stable.melpa.org/packages/") t)
(package-initialize)
However, I don't think you need the first line at all in emacs 25.3.
Something similar works fine for me using emacs 25.2 on Windows 10 to access melpa-stable.
Francis Wright
> -----Original Message-----
> From: help-emacs-windows [mailto:help-emacs-windows-
> [email protected]] On Behalf Of n179911
> Sent: Friday, 29 September 2017 11:00 pm
> To: [email protected]
> Subject: [h-e-w] How to install csharp mode in emacs
>
> Hi,
>
> I am using emacs 25.3 in Windows 10.
> I added this to top of my .emacs file:
> (require 'package) ;; You might already have this line (add-to-list 'package-
> archives
> '("melpa-stable" . "https://stable.melpa.org/packages/") t)
> (package-initialize)
>
> And then I start emacs, per
> https://github.com/josteink/csharp-mode
> When I do 'M-x package-install<RET>csharp-mode.', I get message 'no
> package found'.
>
> Can you please tell me how can I fix it?
>
> Thank you.