[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Column-number-mode ordinality question
From: |
Smith_RS |
Subject: |
Re: Column-number-mode ordinality question |
Date: |
Tue, 04 May 2010 15:44:38 -0000 |
User-agent: |
G2/1.0 |
Andreas,
Thanks, but I tried directly hacking bindings.el, re-compiling
the .elc, and it didn't change anything.
Is there something special about 23.1 for Windows? Is there some sort
of weird caching going on?
On Apr 15, 5:06 pm, Andreas Politz <poli...@fh-trier.de> wrote:
> Smith_RS <rsmit...@gmail.com> writes:
> > I know that historically RMS was against this, but is there any way in
> > 23.1 to change the behavior of column-number-mode so that it begins
> > with 1 and not 0?
>
> > Under Linux I can just change the code in xdisp.c, but I'm doing more
> > work with Windows these days.
>
> > Thanks.
>
> I suppose, you could change the
>
> (propertize ... "(%l,%c)" parts in
>
> `mode-line-position' to something like
>
> ...
> (column-number-mode
> (10 (:eval
> (propertize
> (format " (%l,%d)" (1+ (current-column)))
> 'local-map mode-line-column-line-number-mode-map
> 'mouse-face 'mode-line-highlight
> 'help-echo "Line number and Column number\n\
> mouse-1: Display Line and Column Mode Menu")))
> ...
>
> -ap