Article View: gnu.emacs.help
Article #188805Re: Line numbers in emacs?
From: Boris Hemkemeier
Date: Thu, 11 Jul 1991 12:35
Date: Thu, 11 Jul 1991 12:35
24 lines
1690 bytes
1690 bytes
In article <9107091510.AA05945@horatio> neilm@juliet.ll.mit.edu (Neil Mager) writes: >Scott Barvian writes: > > Is there a c-mode for emacs that will show line numbers (either along > > side the file itself, or on the status line)? I am too lazy to type > > M-x what-line all the time. There oughta be an easier way. > > >Put the following in your .emacs file. It redefines the function >line-move to put the present line number in the status line. >One limitation is the line number only gets modified when the >function next-line (or previous-line) is called. It does not >change for C-v or esc-v. >[...source deleted...] I used S.B.s program and it works fine, but the bugs (C-v and M-v) are nasty. The question is still open: Who has a working solution? Boris -- Boris Hemkemeier "Warum muss ich es gerade wissen?" boris@math10.uni-bielefeld.de Georg Buechner: Leonce und Lena
Technical Details
Message-ID:
<1991Jul11.123516.16494@unibi.uni-bielefeld.de>Path:
arc1-ca.pugleaf.net!gmdzi!unido!unibi.uni-bielefeld.de!math10!borisReferences:
<BARVIAN.91Jul8161539@cocopah.sps.mot.com> <9107091510.AA05945@horatio>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103b8b,8784c3b1f0820646 X-Google-Attributes: gid103b8b,public X-Google-Thread: 102b9a,8784c3b1f0820646 X-Google-Attributes: gid102b9a,public X-Google-ArrivalTime: 1991-07-11 11:00:52 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!unibi.uni-bielefeld.de!math10!boris From: boris@math10.uni-bielefeld.de (Boris Hemkemeier) Newsgroups: gnu.emacs.help,comp.emacs Subject: Re: Line numbers in emacs? Keywords: line numbers,emacs Message-ID: <1991Jul11.123516.16494@unibi.uni-bielefeld.de> Date: 11 Jul 91 12:35:16 GMT References: <BARVIAN.91Jul8161539@cocopah.sps.mot.com> <9107091510.AA05945@horatio> Sender: @unibi.uni-bielefeld.de Organization: Math MadHouse Bielefeld Lines: 24 Nntp-Posting-Host: math10.uni-bielefeld.de