[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to apply a minor mode to all buffers
From: |
Juanma Barranquero |
Subject: |
Re: How to apply a minor mode to all buffers |
Date: |
Fri, 19 Jan 2007 18:06:36 +0100 |
On 1/19/07, James Aguilar <aguilar.james@gmail.com> wrote:
The purpose is allowing my window to be wider than eighty characters but
knowing where the eighty character limit is.
By using column-marker mode
(http://www.emacswiki.org/cgi-bin/wiki/column-marker.el) you can just
do:
(require 'column-marker)
(defface column-marker-policy-face ...) # whatever you find nice
(defvar column-marker-policy-face 'column-marker-policy-face)
(column-marker-create column-marker-policy column-marker-policy-face)
and then in programming modes' hooks, add:
(column-marker-policy 80)
[I really use (column-marker-policy (setq fill-column 80)).]
It could be even easier by just using column-marker-{1,2,3}, but I
think these are best left for interactive use.
/L/e/k/t/u
- How to apply a minor mode to all buffers, James Aguilar, 2007/01/17
- Re: How to apply a minor mode to all buffers, Stefan Monnier, 2007/01/17
- Re: How to apply a minor mode to all buffers, Malte Spiess, 2007/01/18
- RE: How to apply a minor mode to all buffers, Drew Adams, 2007/01/18
- Re: How to apply a minor mode to all buffers, James Aguilar, 2007/01/18
- RE: How to apply a minor mode to all buffers, Drew Adams, 2007/01/18
- Re: How to apply a minor mode to all buffers, Eli Zaretskii, 2007/01/19
- Re: How to apply a minor mode to all buffers, James Aguilar, 2007/01/19
- Re: How to apply a minor mode to all buffers,
Juanma Barranquero <=
- Re: How to apply a minor mode to all buffers, Eli Zaretskii, 2007/01/20
- Message not available
- Re: How to apply a minor mode to all buffers, Robert Thorpe, 2007/01/20
- Re: How to apply a minor mode to all buffers, Lennart Borgman (gmail), 2007/01/20
- Re: How to apply a minor mode to all buffers, Mathias Dahl, 2007/01/22
- Message not available
- Re: How to apply a minor mode to all buffers, Robert Thorpe, 2007/01/22
- Re: How to apply a minor mode to all buffers, Eli Zaretskii, 2007/01/22
- Message not available
- Re: How to apply a minor mode to all buffers, Robert Thorpe, 2007/01/23
- Re: How to apply a minor mode to all buffers, Eli Zaretskii, 2007/01/23
- Re: How to apply a minor mode to all buffers, Stefan Monnier, 2007/01/22
- Message not available
- Re: How to apply a minor mode to all buffers, Stefan Monnier, 2007/01/22