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- > bounces+f.j.wright=live.co...@gnu.org] On Behalf Of n179911 > Sent: Friday, 29 September 2017 11:00 pm > To: help-emacs-windows@gnu.org > 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.