On 2012 Jan 23, at 12:27, Laurent PETIT wrote: >> On Friday, January 20, 2012 9:40:53 AM UTC+1, Norman Gray wrote: >>> >>> Thus C-M-(, C-M-), C-M-f, -b, -u, -d and -k do most of what one wants, in >>> terms of creating and moving around balanced brackets. >> >> >> why did nobody mention C-M-Space, yet? To me it's one of the most >> important keystrokes across all modes in Emacs, that somehow support the >> sexp-concept. One of the keystrokes that I miss in all the other modern >> editor components. In particular, the way it handles being called several >> times in a row (more important in non-lisps, though). >> > > It isn't particularly helpful to just name things only by their keyboard > shortcuts, unless you only want positive feedback only from your fellow > emacsers ...
True enough, but I think this particular sub-thread was about the pros and cons of a particular editing mode within emacs (paredit), in which context it's reasonable to presume that the people taking an interest, are already of the faith. For those using emacs but not familiar with those particular keystrokes, C-h k can provide documentation on what a particular keystroke means. If you're interested, C-M-f, and -b move forward and backward by one balanced s-expression, C-M-u moves up a level of parentheses, and -d down, M-( (not C-M-( as I had above) inserts a balanced pair of parentheses, and M-) moves out of one, inserts a newline and re-indents. Plus they do analogous things in other modes (for example C modes). All the best, Norman -- Norman Gray : http://nxg.me.uk -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en