serras / emacs-haskell-tutorial

Tutorial on setting up Emacs to do Haskell programming
690 stars 100 forks source link

Suggestion: don't bind haskell-interactive-bring directly #5

Closed purcell closed 10 years ago

purcell commented 10 years ago

Note that haskell-interactive-switch is the ideal top-level function for switching to the REPL. But also, once you're in the repl, haskell-interactive-switch-back will return you to the original source file: this was added very recently. Both commands are bound to C-c C-z in the two corresponding modes, so I'd suggest that your rebinding might make things less convenient for users.

serras commented 10 years ago

I see... what do you propose as a change? Note that one of the aims of the article is to provide a set of key bindings that do not interfere with each other, for that reason I've remapped most of the haskell-interactive bindings to C-c C-n.

purcell commented 10 years ago

I'd honestly suggest leaving the default C-c C-z, because it is commonly used in Emacs for languages REPLs.