🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #99655

c-mode indentation bug.

#99655
From: Roland McGrath
Date: Fri, 22 Jun 1990 20:11
23 lines
1440 bytes
(emacs-version)
"GNU Emacs 18.55.1 of Wed Aug 30 1989 on tully.Berkeley.EDU (berkeley-unix)"

Put the following text in a buffer:

char *foo[] =
  {
    ".texinfo.dvi",
    "$(TEXINDEX) $(wildcard $(foreach _s_,cp fn ky pg tp vr,$*.$(_s_)))\n\
     -$(foreach _f_,$(wildcard $(foreach _s_,aux cp fn ky pg tp vr,$*.$(_s_)))\
,cp $(_f_) $(_f_)O;)\n\
     -$(TEX) $< \n\
     $(foreach _f_,$(wildcard $(foreach _s_,aux cp fn ky pg tp vr,\
$*.$(_s_))),cmp -s $(_f_)O $(_f_) ||) \\\n\
($(TEXINDEX) $(wildcard $(foreach _s_,cp fn ky pg tp vr,$*.$(_s_))); \\\n\
$(TEX) $<) \n\
     -rm -f $(addsuffix O,$(wildcard $(foreach _s_,\
aux cp fn ky pg tp vr,$*.$(_s_))))",
"****HERE****"
  };

Put the buffer in c-mode.  Go to the line "****HERE****".  Go to the beginning
of the line.  Hit TAB.  The line won't go where it should.
Technical Details
Message-ID: <9006222011.AA13766@paris.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!snorkelwacker!tut.cis.ohio-state.edu!PARIS.BERKELEY.EDU!mcgrath

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,416c7ff99da65cc8,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-06-22 20:48:47 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!snorkelwacker!tut.cis.ohio-state.edu!PARIS.BERKELEY.EDU!mcgrath
From: mcgrath@PARIS.BERKELEY.EDU (Roland McGrath)
Newsgroups: gnu.emacs.bug
Subject: c-mode indentation bug.
Message-ID: <9006222011.AA13766@paris.Berkeley.EDU>
Date: 22 Jun 90 20:11:12 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 23
Posted: Fri Jun 22 21:11:12 1990