emacs.d icon indicating copy to clipboard operation
emacs.d copied to clipboard

haskell mode define key

Open maninalift opened this issue 10 years ago • 3 comments

Firstly thanks for sharing your emacs.d, it is proving a great help to me.

I'm leaving an issue here FY(and anyone else's)I, rather than expecting help..

In bodil-haskell there are a couple of places with define-key haskell-mode-map not guarded by an eval-after-load "haskell-mode". I had to add the latter to get it to load.

Also I had to open up emacs and do M-x package-list-packages to refresh the package list before the config would load without crashing out failing to download packages. I don't know if there is a way to get this to happen automatically when (but only when) required.

maninalift avatar Apr 13 '15 13:04 maninalift

@bodil Thanks for sharing ... it is also a great help for me too!

Regarding the unguarded haskell-mode-map access: I had the same problem and I think the unguarded access works fine for haskell-mode 13.12 and before but not for the current HEAD (for example installed via MELPA)

This commit https://github.com/haskell/haskell-mode/commit/e99f8e40221cb62e2966f68f8a98784738ee068e removed the haskell-mode-map from autoloading. So the variable is no longer available before loading haskell-mode.

andimarek avatar Apr 21 '15 15:04 andimarek

aha! I wondered how it had gone unnoticed

maninalift avatar Apr 22 '15 19:04 maninalift

I'll remind you both that there's been no update to this repo for a while because I'm not using it. :)

bodil avatar Apr 22 '15 20:04 bodil