Say that you write such code (using ruby ββmode, but I saw how it happens in other modes):
If you put a dot on the first line and press Mq, you get the following:
How to avoid this? I am using version 21.3.
Explanation: This does not happen when I add an empty line between the comment and the code. In the process, when I want to replenish my comments, I spend an annoying three-step process:
- I add an empty line before and after the comment
- Md
- delete blank lines
It would be much nicer if Mq handled repeated additions of comments without the need to add and remove empty lines. Emacs already knows which text is a comment, so there should be a way to do this.
source share