I like that any comment appears on a separate line. I do not like to comment on one line with the code. In some languages you can write a block of comments, for example:
I like it. I love the way the comment block just keeps getting more lines as I add more text to it. I like how if I insert text at some arbitrary point in the block, the subsequent text will be moved down so that the text does not go beyond a certain point to the right. I am using Python. Python has no multi-line block comment. I think the closest thing you could get would be:
I also use emacs. I'm just wondering if anyone has any clever solution so that they can open the comment block and just start typing. No need to worry about pressing the return key to go to the next line when the comment line is too wide. No need to re-shuffle the comment as a whole when you want to insert comments into the block. Any ideas?
Summary: I am looking for a way to make multi-line related comments (for Python) in emacs, without having to manually format the text in the comment block itself.
thanks
Stephen cagle
source share