[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [h-e-w] How to install csharp mode in emacs
From: |
Francis Wright |
Subject: |
Re: [h-e-w] How to install csharp mode in emacs |
Date: |
Sat, 30 Sep 2017 14:59:42 +0000 |
I see that my reply has been manged and perhaps that's what happened to the
original email. Anyway, I think this ought to work in emacs 25.3:
(add-to-list 'package-archives
'("melpa-stable" . "https://stable.melpa.org/packages/") t)
(package-initialize)
> -----Original Message-----
> From: help-emacs-windows [mailto:help-emacs-windows-
> address@hidden On Behalf Of Francis Wright
> Sent: Saturday, 30 September 2017 3:42 pm
> To: n179911 <address@hidden>; address@hidden
> Subject: Re: [h-e-w] How to install csharp mode in emacs
>
> 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-
> > address@hidden On Behalf Of n179911
> > Sent: Friday, 29 September 2017 11:00 pm
> > To: address@hidden
> > 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.