🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.emacs
Article #9556

Re: Line and column numbers.

#9556
From: Kyle Jones
Date: Thu, 08 Feb 1990 13:33
13 lines
1100 bytes
Daniel A. Loera writes:
 > I have seen many things appear on people's mode-line: time, mode,
 > machine name, and other things.  I would like to know if someone out
 > there could post some code that would show the current line and
 > column number that the cursor is on.
 > 
 > Is what I'm asking for feasible?  Is it possible?

For GNU Emacs, the answer is no.  mode-line-format does not allow you to
specify a function to call, and that is what would be required to get
the line and column number into the mode line.  It's just as well,
because (currently) the functions you'd need to call would generate a
LOT of overhead, even when just echoing keystrokes.
Technical Details
Message-ID: <1990Feb8.133320.1822@talos.uu.net>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!usenet.ins.cwru.edu!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!talos!kjones
References: <1990Feb8.052731.11140@athena.mit.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!usenet.ins.cwru.edu!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!talos!kjones
From: kjones@talos.uu.net (Kyle Jones)
Newsgroups: comp.emacs
Subject: Re: Line and column numbers.
Message-ID: <1990Feb8.133320.1822@talos.uu.net>
Date: 8 Feb 90 13:33:20 GMT
References: <1990Feb8.052731.11140@athena.mit.edu>
Reply-To: kyle@xanth.cs.odu.edu
Distribution: usa
Lines: 13