emacs.d
emacs.d copied to clipboard
haskell mode define key
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.
@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.
aha! I wondered how it had gone unnoticed
I'll remind you both that there's been no update to this repo for a while because I'm not using it. :)