Closed tv42 closed 10 years ago
It does, my M-q works only on selected blocks of code (from the line where the mark is to the line where the cursor is). So:
godit RET foo RET bar RET C-p C-p C-SPACE C-n M-q RET RET
You're right. And I even knew that godit M-q needs a region. I guess that show's you how deeply ingrained my assumption of M-q reformatting the current paragraph is. Sorry.
godit RET foo RET bar RET M-q RET RET
Expected to see "foo bar" See two lines, "foo" and "bar"
E.g. https://github.com/kr/text has the necessary logic.