all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: Daniel Colascione <dan.colascione@gmail.com>
Cc: Alan Mackenzie <acm@muc.de>, 8438@debbugs.gnu.org
Subject: bug#8438: 24.0.50; C++ macro make indentation fail
Date: Sun, 24 Apr 2011 14:13:16 -0400	[thread overview]
Message-ID: <87k4ejwm9v.fsf@stupidchicken.com> (raw)
In-Reply-To: <4DA56BFF.6050902@gmail.com> (Daniel Colascione's message of "Wed, 13 Apr 2011 02:25:19 -0700")

Daniel Colascione <dan.colascione@gmail.com> writes:

> The problem actually has nothing to do with the macro:
> c-forward-decl-or-cast-1 is choking on the const because it's mistaking
> it for something that might be part of a member function pointer.
> Because c-forward-decl-or-cast-1 fails inside
> c-just-after-func-arglist-p, c-guess-basic-offset tries the next best
> thing, which happens to be a template argument continuation.
>
> The attached patch resolves the issue.

Looks OK to me.  Please check if the same fix is required on the
emacs-23 branch, and if so commit it there.





  parent reply	other threads:[~2011-04-24 18:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-07 10:45 bug#8438: 24.0.50; C++ macro make indentation fail Andrea Crotti
2011-04-13  9:25 ` Daniel Colascione
2011-04-13  9:44   ` Andrea Crotti
2011-04-24 18:13   ` Chong Yidong [this message]
2011-04-25  0:41     ` Daniel Colascione
2011-04-25  7:59       ` Glenn Morris

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=87k4ejwm9v.fsf@stupidchicken.com \
    --to=cyd@stupidchicken.com \
    --cc=8438@debbugs.gnu.org \
    --cc=acm@muc.de \
    --cc=dan.colascione@gmail.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.