[61] in Athena Bugs

home help back first fref pref prev next nref lref last post

A bug with emacs in C mode

daemon@ATHENA.MIT.EDU (jhslater@ATHENA.MIT.EDU)
Fri Mar 18 18:43:15 1988

From: <jhslater@ATHENA.MIT.EDU>
To: bugs@ATHENA.MIT.EDU
Date: Fri, 18 Mar 88 17:31:06 EST
Program with which you had the problem:emacs

Name of person who discovered the bug:jhslater
Their MIT phone number:x3-7134
Their MIT address:1-270
Their Athena Login ID:jhslater
Name of consultant reporting bug:
------------------------------------------------------------------------
A brief synopsis of the problem:

If XV10 emacs in C mode tries to TAB a #define statement not beginning
in column 1, it enters an infinite loop which must be broken out of
with CTRL-G



------------------------------------------------------------------------
Please describe the problem in detail (mention any necessary files or
commands that may be involved, on which machine the bug happened, and what
the program did that was wrong):

I was using XV10 emacs on VAX R/C m1-272-1.mit.edu  I did not check to
see if this also occursin XV11, but it is likely

I understand that the XV10 version will not be updated - no problem
------------------------------------------------------------------------
Repeat by (please enter a set of commands which will allow us to 
repeat the bug):

%emacs bug.c

input the line   <space><space>#define TEST at the top of the file
move the cursor to that line and hit TAB.  Instead of left justifying
the line as it should, emacs loops indefinitely.  The same problem
occurs if you try to INDENT-FOR-C a marked region beginning with this
incorrect define statement with CTRL-ESC-\



------------------------------------------------------------------------
Fix (if you know what it is):





home help back first fref pref prev next nref lref last post