Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Highlight text that extends beyond a certain column. Can be used to enforce 80 column rule (well more like suggest, not enforce)
branch: master

This branch is 23 commits behind jordonbiondo:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
README.org
column-enforce-mode.el

README.org

column-enforce-mode

Highlight text that extends beyond a certain column.

This mode is meant to be a very light weight, 0 configuration, way to help enforce the 80 column rule. It can be configured for any N-column rule however.

What it looks like enforcing the 80 column rule:

http://i.imgur.com/EezaOo9.png

Usage

Start it up interactively on the current buffer,

default startup:
M-x: column-enforce-mode 

or by specific rule function
M-x: 80-column-rule

or tie it to a major mode:

(add-hook 'c-mode-hook 'column-enforce-mode)

Create preconfigured N-column-rules

(make-column-rule 110) ;; creates function `110-column-rule' for use interactively
Something went wrong with that request. Please try again.