[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Advice needed on modeline customization hack...

From: Perry E. Metzger
Subject: Re: Advice needed on modeline customization hack...
Date: Sun, 16 Apr 2017 18:57:40 -0400

On Sun, 16 Apr 2017 18:16:07 -0400 "Perry E. Metzger"
<address@hidden> wrote:
> New patch, including documentation fixes, in a bit.

Attached is an improved patch, including documentation changes.

For those who haven't been following, the patches allow the user to
customize the column number in column-number-mode to start from one
instead of from zero.

1) Make the mode line element "%C" behave just like "%c" except "%C"
   displays the column starting at 1 and not 0.
2) Add a variable named "column-number-mode-starts-from-zero", which
   defaults to "t". If it is set to "t", "%c" is used for
   column-number-mode, and if it is "nil", "%C" is used.
3) Document (1) and (2).

Comments solicited. I'm not fond of the name
"column-number-mode-starts-from-zero" by the way.

Perry E. Metzger                address@hidden

Attachment: column.diff
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]