Article View: gnu.emacs.bug
Article #98460Occur line numbers
From: macrakis
Date: Fri, 14 Jun 1991 17:57
Date: Fri, 14 Jun 1991 17:57
17 lines
1216 bytes
1216 bytes
GNU Emacs 18.55.121 on NeXT 2.0 Currently, Occur tags line numbers using a %3d format. This means that 1- or 2-digit line numbers have leading spaces. Although this has the nice property of lining up line numbers < 1000, it has the less nice property of making the line number pattern "^ ?[0-9]+:" instead of the simpler "^[0-9]:". (I often re-process Occur output.) May I suggest that either format %d be used or that the leading spaces be replaced by 0's? I'd also suggest that a space be put after the colon to make reading easier. This is obviously no big deal. -s
Technical Details
Message-ID:
<9106141757.AA00420@.next1.osf.org.>Path:
arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbageShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,f337d37d3c57a726,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1991-06-14 10:57:40 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbage From: macrakis@osf.org Newsgroups: gnu.emacs.bug Subject: Occur line numbers Message-ID: <9106141757.AA00420@.next1.osf.org.> Date: 14 Jun 91 17:57:40 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 17 Approved: bug-gnu-emacs@prep.ai.mit.edu