🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #99445

Indentation bug in C mode

#99445
From: Joe Weening
Date: Tue, 11 Sep 1990 14:09
12 lines
877 bytes
Emacs 18.55, Sun OS 4.0.3.  In C mode, code such as the following
doesn't indent correctly:

main() {
  while (1) {
    x = 1;
#define foo (a+\
	     b)
  y = 2;

After the continuation line of the #define, Emacs indents two columns
instead of four as needed in this context.
Technical Details
Message-ID: <9009111409.AA04113@ccrwest.UUCP>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!snorkelwacker!tut.cis.ohio-state.edu!UCSD.EDU!ccrwest!jweening

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,1ff8cb50efbd71cd,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-09-11 07:09:46 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!snorkelwacker!tut.cis.ohio-state.edu!UCSD.EDU!ccrwest!jweening
From: ccrwest!jweening@UCSD.EDU (Joe Weening)
Newsgroups: gnu.emacs.bug
Subject: Indentation bug in C mode
Message-ID: <9009111409.AA04113@ccrwest.UUCP>
Date: 11 Sep 90 14:09:46 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 12
Posted: Tue Sep 11 15:09:46 1990