On Mon, Aug 26, 2002 at 01:04:38PM +0000, Michael Treacy wrote:
> Quick question: Does anyone know how to re-set the column numnbers in
> XEmacs/Emacs to start at column 1 instead of column 0?
you want a function like this to calc the column number:
(defun cols-from-1()
(+ 1 (current-column))
then you'll need to patch it into mode-line-format using something
that probably involves the assq function like so:
(assq 'column-number-mode mode-line-format)
the rest is left as an exercise for the, hm, coder.
kevin
--
kevin at suberic.net that a believer is happier than a skeptic is no more to
fork()'ed on 37058400 the point than the fact that a drunken man is happier
meatspace place: home than a sober one. the happiness of credulity is a
http://ie.suberic.net/~kevin cheap & dangerous quality -- g.b. shaw
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!