haskell-mode
haskell-mode copied to clipboard
Question/suggestion: Movement types
I'm reading "Mastering Emacs" right now, which describes the various ways in which you can move your caret in emacs: Move by s-expr, moving in lists, moving by paragraphs, by sentences, ...
While reading this, I'm trying out these movements on my Haskell files, and am confused about what happens. Moving inside lists seems to do something sensible, but what does moving by paragraph/sentence/s-expr do? Is that documented somewhere? If not, I guess it should be, so one can efficiently move and edit using emacs' keybindings and commands.
If not, I guess it should be, so one can efficiently move and edit using emacs' keybindings and commands.
I'm not sure it's practical to try to define the meanings of each of these actions precisely. Generally the deal is that you try various combinations of them and develop an intuition for how they work. Only Lisp really has well-defined behaviour for these things in source code.