all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: handa@m17n.org, bug-cc-mode@gnu.org, emacs-devel@gnu.org
Subject: Re: Change of C indentation style ('{')
Date: Fri, 24 Oct 2003 19:24:39 -0400	[thread overview]
Message-ID: <E1ADBIN-0004kb-MF@fencepost.gnu.org> (raw)
In-Reply-To: <5bhe1zy4z8.fsf@lister.roxen.com> (message from Martin Stjernholm on Fri, 24 Oct 2003 00:16:43 +0200)

    That's because CC Mode analyzes the braces differently now. It marks
    them as defun-open and defun-close instead of substatement-open and
    substatement-close. That is because FOR_EACH_FRAME isn't recognized as
    a substatement introducing keyword, and barring macro oddities
    everything else has to be function definitions.

    I'm not sure what to do about it.

You could perhaps undo the change.

				      There are other cases when this new
    heuristic is useful, e.g. for functions in macro arguments or gcc
    nested functions.

could you show us the cases in question?
if we can't make them all work rt, we should choose the case
more useful in practice and make it wrk rt.

or there cd in theory be some convention used to say which way to do it.


-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/


  parent reply	other threads:[~2003-10-24 23:24 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-23  1:09 Change of C indentation style ('{') Kenichi Handa
2003-10-23 22:16 ` Martin Stjernholm
2003-10-24  1:25   ` Kenichi Handa
2003-10-24  3:48   ` Miles Bader
2003-10-24  9:56     ` Martin Stjernholm
2003-10-24 10:11       ` Miles Bader
2003-10-24 23:24   ` Richard Stallman [this message]
2003-10-25 14:40     ` Martin Stjernholm
2003-10-27  7:02       ` Richard Stallman
2003-10-27 14:24         ` Martin Stjernholm
2003-10-28 20:39           ` Richard Stallman
2003-10-29 19:28             ` Martin Stjernholm
2003-10-29 21:41               ` Miles Bader
2003-10-30  0:03                 ` Martin Stjernholm
2003-10-30  0:11                   ` Miles Bader
2003-10-30  0:30                 ` Stefan Monnier
2003-10-30 18:00                 ` Richard Stallman
2003-10-30 18:01               ` Richard Stallman

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=E1ADBIN-0004kb-MF@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=bug-cc-mode@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=handa@m17n.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.