Opened 13 years ago

#179 new enhancement

Intelligently (refuse to) wordwrap lists

Reported by: adehnert@mit.edu Owned by:
Priority: major Milestone:
Component: ui Keywords:
Cc:

Description

When I hit M-q in the middle of something like

Lorem ipsum:
* Dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
* Ut enim ad minim veniam, quis nostrud exercitation ullamco

Or

Lorem ipsum:
1. Dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
2. Ut enim ad minim veniam, quis nostrud exercitation ullamco

I want it to make the lengths of each list entry reasonable, but not join list entries together. It'd be nice if that command DWIW.

In particular, I think a fine heuristic would be "Don't join a line that starts with whitespace followed by a digit or '*' with the previous line". It'd catch most lists that I type, and wouldn't break word-wrapping very many non-lists.

Change History (0)

Note: See TracTickets for help on using tickets.