Emacs Column based Narrowing or Folding
Posted
by froit
on Stack Overflow
See other posts from Stack Overflow
or by froit
Published on 2010-06-07T00:38:46Z
Indexed on
2010/06/07
0:42 UTC
Read the original article
Hit count: 518
emacs
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.
© Stack Overflow or respective owner