🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #99788

occur mode

#99788
From: S.Clayman
Date: Tue, 01 May 1990 17:52
69 lines
3938 bytes
In GNU Emacs 18.54.1 of Wed Oct 18 1989 on toast.cs.ucl.ac.uk (berkeley-unix)
A Sun 3/60 running 4.0.3

If i do M-x occur "^$"
occur mode goes into an infinte loop if the last line of the buffer is \n
e.g. given this buffer
++++++++++++++++++++++++++++++++++++++++
line 1

line 3

line 5

line 7

line 9

++++++++++++++++++++++++++++++++++++++++

the result in *Occur* after a \C-g is
++++++++++++++++++++++++++++++++++++++++
Lines matching "^$" in buffer test.
  2:
  4:
  6:
  8:
 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10:
10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10:   i
10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10:   filled
10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10:   this
10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10:   region
10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10:   to
10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10:   keep
10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10:   any
10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10:   damaged
10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10:   mailers
10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10:   happy
10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10:
10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10:
10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10:
10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10:
10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10:
10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10:
10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10:
10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10:
10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10:
10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10:
10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10:
10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10:
10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10:
10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10:
10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10:
10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10:
10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10:
10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10:
10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10:
10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10:
10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10:
10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10:
10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10:
10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10:
10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10:
10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10:
10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10:
10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10:
10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10: 10:
10: 10:
++++++++++++++++++++++++++++++++++++++++
Technical Details
Message-ID: <9005011757.AA10228@aeneas.MIT.EDU>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!CS.UCL.AC.UK!S.Clayman

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,d1ffe1a64ad3ebe6,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-05-01 10:52:34 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!CS.UCL.AC.UK!S.Clayman
From: S.Clayman@CS.UCL.AC.UK
Newsgroups: gnu.emacs.bug
Subject: occur mode
Message-ID: <9005011757.AA10228@aeneas.MIT.EDU>
Date: 1 May 90 17:52:34 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 69
Posted: Tue May  1 18:52:34 1990