🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #98646

Bug in info.el (-> bug in lisp)

#98646
From: Bill Reynolds
Date: Sat, 20 Apr 1991 20:45
33 lines
2268 bytes
emacs version 18-57.1 on a Sun4/330 running SunOS4.0.3. Built with gcc
V1.39.

When in Info, in the elisp node, if I select the node "Index", elisp
goes into an infinite loop. I tracked the bug down to the routine in
info.el called Info-read-subfile(). The problem was in reading
the file names above the tags table in the file elisp. The routine
reads in the lines, returning the file names until it hits the
character "^_". Although the elisp file had the correct sequence of
characters, somehow elisp was not seeing that final control character,
which comes right after the node index, so elisp never breaks out of
the loop, forever looking for the control character. Note  that in the
file emacs, when one selects the node "Concept Index", which is the
last node befor "^_", everything is fine. The syntax in emacs and
elisp is (as far as I can tell) identical. For some reason, file elisp
is breaking the lisp interpreter. In any case here is a tenative fix
which will cause Info-read-subfile() to break out of the loop. (It
doesn't seem to hurt anything else, but no promises).

Script started on Sat Apr 20 13:43:41 1991
bash$ diff info.el.broken info.el
194c194,196
<             (setq lastfilepos thisfilepos)))))
---
>             (setq lastfilepos thisfilepos))
> ;hack to fix problem in elisp texinfo file
>             (throw 'foo t))))
bash$ exit

script done on Sat Apr 20 13:43:53 1991
_______________________________________________________________________
						|  Bill Reynolds
	  				 	|  bill@inls1.ucsd.edu
Technical Details
Message-ID: <9104202045.AA25976@inls1.ucsd.edu.UCSD.EDU>
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!lll-winken!elroy.jpl.nasa.gov!sdd.hp.com!wuarchive!rex!uflorida!gatech!usenet.ins.cwru.edu!tut.cis.ohio-state.edu!unreplyable!garbage

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,5573f2f9c960d3fd,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1991-04-20 13:45:57 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!lll-winken!elroy.jpl.nasa.gov!sdd.hp.com!wuarchive!rex!uflorida!gatech!usenet.ins.cwru.edu!tut.cis.ohio-state.edu!unreplyable!garbage
From: breynolds@UCSD.EDU (Bill Reynolds)
Newsgroups: gnu.emacs.bug
Subject: Bug in info.el (-> bug in lisp)
Message-ID: <9104202045.AA25976@inls1.ucsd.edu.UCSD.EDU>
Date: 20 Apr 91 20:45:57 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 33
Approved: bug-gnu-emacs@prep.ai.mit.edu