all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Smith_RS <rsmithpv@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Column-number-mode ordinality question
Date: Thu, 15 Apr 2010 15:22:35 -0700 (PDT)	[thread overview]
Message-ID: <7a823b97-3960-44b9-8fad-00380960f3f9@b33g2000yqc.googlegroups.com> (raw)
In-Reply-To: 87fx2wh1ck.fsf@fh-trier.de

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



  reply	other threads:[~2010-04-15 22:22 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
2010-04-15 22:22   ` Smith_RS [this message]
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=7a823b97-3960-44b9-8fad-00380960f3f9@b33g2000yqc.googlegroups.com \
    --to=rsmithpv@gmail.com \
    --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.