help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C comments change from emacs 20


From: kgold
Subject: Re: C comments change from emacs 20
Date: 31 May 2005 17:40:30 GMT

Alan Mackenzie <acm@muc.de> writes:
> kgold <kgold@watson.ibm.com> wrote on 20 May 2005 13:19:27 GMT:
> > In C mode, the continuation line for comments after a blank line
> > doesn't indent in 21.3.  It did in 20.7.  How can I get the 20.7, IMHO
> > correct, behavior.
> 
> > /* In emacs 21.3
> 
> > Here's where the next line starts, not indented
> > */
> 
> > /* In emacs 20.7
> 
> >    It starts here, indented
> > */
> 
> Well, when I start Emacs 21.3 without my .emacs, I get the the result you
> want, not the one you get.  If you start with  emacs -q --no-site-file,
> what happens then?  If that works OK, chances are you've got some setting
> in your .emacs (or site-start.el) which is upsetting the comment
> indentation.
> 
> If this is the case, try doing C-c C-b (`c-submit-bug-report') to get
> about 91 lines dump of CC Mode's internal configuration.  If that doesn't
> help you get sorted out, post the dump here.

Thanks for the reply.  It fails for me with -q --no-site-file on both
Linux and AIX emacs 21.3.  

Did you notice the blank 2nd line?  That is:

/* Without a blank line
   the next line indents
*/

/* With a blank next line

this line doesn't indent.
*/

-- 
Ken Goldman   kgold@watson.ibm.com   914-784-7646


reply via email to

[Prev in Thread] Current Thread [Next in Thread]