haskell-mode icon indicating copy to clipboard operation
haskell-mode copied to clipboard

Question/suggestion: Movement types

Open pmiddend opened this issue 5 years ago • 1 comments

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.

pmiddend avatar Apr 12 '20 07:04 pmiddend

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.

purcell avatar Apr 15 '20 02:04 purcell