all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Moore, Mathew L" <MooreML@BATTELLE.ORG>
Subject: RE: emacs 21 c-indent broken
Date: Mon, 28 Oct 2002 14:44:18 -0500	[thread overview]
Message-ID: <2F05A390F72A0A409390E016D23E45E8042DBEEC@ns-bco-mse4.im.battelle.org> (raw)

Doesn't work for me, unfortunately, even with the -q startup option.

Funny thing, you have to have more than one "case :" string in a row, for
the second printf() line indents just fine...only the third one screws up.

--Matt

> -----Original Message-----
> From: Henrik Enberg [mailto:henrik+news@enberg.org]
> Sent: Monday, October 28, 2002 14:15
> To: help-gnu-emacs@gnu.org
> Subject: Re: emacs 21 c-indent broken
> 
> 
> tlegras@yahoo.fr (tl) writes:
> 
> > It seems that emacs 21.2.2 is confused when "case" and ":" are both
> > used inside a string; see my example in a c-mode buffer:
> >
> >     printf("case A :\n");					
> >     printf("case B :\n");
> > 		res = 0; /* indentation broken! */
> 
> It works for me [tm].  Do you have any personal c-mode customizations?
> 
> -- 
> Booting... /vmemacs.el
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
> 

             reply	other threads:[~2002-10-28 19:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-28 19:44 Moore, Mathew L [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-10-28 18:40 emacs 21 c-indent broken tl
2002-10-28 19:14 ` Henrik Enberg
2002-10-28 19:42   ` Michael Slass
2002-10-29  8:29     ` Klaus Berndl
2002-11-04 17:49     ` tl
2002-10-29  1:23   ` Miles Bader
     [not found]   ` <mailman.1035854661.28658.help-gnu-emacs@gnu.org>
2002-10-31  5:53     ` maierh

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=2F05A390F72A0A409390E016D23E45E8042DBEEC@ns-bco-mse4.im.battelle.org \
    --to=mooreml@battelle.org \
    /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.