Emacs: How to keep the indentation level of a very long wrapped line

The package adaptive-wrap, which can be installed via the ELPA packaging system, should do what you want. After having installed the package, just run the following commands: M-xvisual-line-modeRET (to wrap long lines) M-xadaptive-wrap-prefix-modeRET (to make wrapped lines indent nicely) I also have the following snippet in my init.el file to automatically activate adaptive-wrap-prefix-mode along with … Read more

How to create an all browser-compatible hanging indent style in CSS in a span

<span> is an inline element. The term hanging indent is meaningless unless you’re talking about a paragraph (which generally means a block element). You can, of course, change the margins on <p> or <div> or any other block element to get rid of extra vertical space between paragraphs. You may want something like display: run-in, … Read more