From: Andreas Politz <politza@fh-trier.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Column-number-mode ordinality question
Date: Thu, 15 Apr 2010 23:06:51 +0200 [thread overview]
Message-ID: <87fx2wh1ck.fsf@fh-trier.de> (raw)
In-Reply-To: 6e35721a-1cf3-439b-aadc-9ed115e80181@x3g2000yqd.googlegroups.com
Smith_RS <rsmithpv@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
next prev parent reply other threads:[~2010-04-15 21:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-15 19:26 Column-number-mode ordinality question Smith_RS
2010-04-15 20:22 ` Cecil Westerhof
2010-04-15 21:06 ` Andreas Politz [this message]
2010-04-15 22:22 ` Smith_RS
2010-04-16 1:17 ` Smith_RS
2010-04-17 0:22 ` Johan Bockgård
2010-04-19 21:32 ` Glenn Morris
2010-04-21 1:19 ` Smith_RS
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fx2wh1ck.fsf@fh-trier.de \
--to=politza@fh-trier.de \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.