setting up haskell-mode in gnu-emacs (OSX)

Hi, I'm having troubles to set-up haskell-mode in gnu-emacs. I'm new to emacs,... Instructions says: via package manager add: M-x package-install <RET> haskell-mode <RET> I can open package manager, but where should I paste the command? Thanks, m.

On Tue, Dec 10, 2013 at 12:13 AM, Miro Karpis
I'm having troubles to set-up haskell-mode in gnu-emacs. I'm new to emacs,... Instructions says: via package manager add: M-x package-install <RET> haskell-mode <RET> I can open package manager, but where should I paste the command?
That's not really pasteable as such. M-x refers to pressing Meta-x (for a terminal this may not be available without special configuration) or Esc followed by x. <RET> is the Return key. So: press Esc, x (minibuffer shows "M-x "), type "package-install", press Return, type "haskell-mode", press Return. (If you have configured Terminal to use Option for Meta --- this is not default as it disables internationalization --- then you can press Option-x instead of Esc followed by x.) -- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net

Thanks,
now I'm getting "Install package: haskell-mode[No match]". I'm doing this
via gnu-emacs in OSX
Do I need to download the package and place it somewhere?
Thanks,
m.
On Tue, Dec 10, 2013 at 6:27 AM, Brandon Allbery
On Tue, Dec 10, 2013 at 12:13 AM, Miro Karpis
wrote: I'm having troubles to set-up haskell-mode in gnu-emacs. I'm new to emacs,... Instructions says: via package manager add: M-x package-install <RET> haskell-mode <RET> I can open package manager, but where should I paste the command?
That's not really pasteable as such.
M-x refers to pressing Meta-x (for a terminal this may not be available without special configuration) or Esc followed by x. <RET> is the Return key.
So: press Esc, x (minibuffer shows "M-x "), type "package-install", press Return, type "haskell-mode", press Return. (If you have configured Terminal to use Option for Meta --- this is not default as it disables internationalization --- then you can press Option-x instead of Esc followed by x.)
-- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net

You might not have the right package archive available. Try
M-x package-list-packages
And then see if haskell-mode is listed. If not, you’ll need to add
require 'package)
(add-to-list 'package-archives
'("marmalade" .
"http://marmalade-repo.org/packages/"
))
(package-initialize)
to your .emacs (or the equivalent statement for MELPA).
On Dec 10, 2013, at 1:19 AM, Miro Karpis
Thanks,
now I'm getting "Install package: haskell-mode[No match]". I'm doing this via gnu-emacs in OSX
Do I need to download the package and place it somewhere?
Thanks, m.
On Tue, Dec 10, 2013 at 6:27 AM, Brandon Allbery
wrote: On Tue, Dec 10, 2013 at 12:13 AM, Miro Karpis wrote: I'm having troubles to set-up haskell-mode in gnu-emacs. I'm new to emacs,... Instructions says: via package manager add: M-x package-install <RET> haskell-mode <RET> I can open package manager, but where should I paste the command? That's not really pasteable as such.
M-x refers to pressing Meta-x (for a terminal this may not be available without special configuration) or Esc followed by x. <RET> is the Return key.
So: press Esc, x (minibuffer shows "M-x "), type "package-install", press Return, type "haskell-mode", press Return. (If you have configured Terminal to use Option for Meta --- this is not default as it disables internationalization --- then you can press Option-x instead of Esc followed by x.)
-- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners
participants (3)
-
Brandon Allbery
-
Jack Henahan
-
Miro Karpis