all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: kgold@watson.ibm.com (kgold)
Subject: Re: C comments change from emacs 20
Date: 31 May 2005 17:40:30 GMT	[thread overview]
Message-ID: <429ca18e_3@news1.prserv.net> (raw)
In-Reply-To: tio77d.36.ln@acm.acm

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	other threads:[~2005-05-31 17:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-20 13:19 C comments change from emacs 20 kgold
2005-05-27 18:23 ` Alan Mackenzie
2005-05-31 17:40   ` kgold [this message]
2005-06-02 20:26     ` Alan Mackenzie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=429ca18e_3@news1.prserv.net \
    --to=kgold@watson.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.