By adding font lock keywords for headline and plain list indicators (e.g. stars, dashes, numbering) and indentation whitespace, we could significantly improve variable pitch display in org-indent-mode.
org-indent-mode's alignment approach expects certain text elements to be fixed pitch. When the 'default face is variable pitch, alignment can be made to work perfectly well -- provided the structurally significant elements at the beginning of lines are fontified as fixed pitch. This is simple in principle; but some such syntax currently lacks font lock keywords. In particular, the following are not presently given an identifying face: 1. headline indicators (stars followed by space) 2. plain list item indicators (ordered or unordered marker followed by a space) 3. spaces at beginning of line The first two of these would allow headline/list indicators to be fontified additionally from their respective headline/list text. Might it be reasonable to add faces and font lock keywords for these? Having faces for headline and plain list indicators seems like a generally useful addition even aside from the variable pitch use case. - Jeff
