Emacs Column based Narrowing or Folding
- by froit
Is there column based narrowing in emacs.
I tend narrow in one everything between script tags but that still keeps the original indent (space before var).
It would be great if I could actually column narrow to the the beginning of the indent since otherwise the electrict indent tries to bring it to column 0.
var foo = 1;
var bar = 2;
Alternate solution could be to mark the starting indents as uneditable, but I am also not sure how to do this.
P.S.
I am aware of MMM and NXHTML and html-helper-modes, but I am not looking to use them due to complexities.