KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
In Emacs, how can I enforce a maximum line length of, say, 80 characters? I want it to insert proper line breaks in my code, much like fill-paragraph for text, if possible, with the correct insertion of the second part of the line. Here a little example: LongNameType<PrettyLong, AlsoLong> doSomethingWithLongFunctionName(int a, int b); foo(); If I actually do fill-paragraph it becomes: LongNameType<PrettyLong, AlsoLong> doSomethingWithLongFunctionName(int a, int b); foo(); whereas I'd prefer this: LongNameType<PrettyLong, AlsoLong> doSomethingWithLongFunctionName(int a, int b); foo();
Tags (comma-separated)
Save Edits
Cancel