unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
Cc: bug-cc-mode@gnu.org, xugp@alibaba-inc.com, rms@gnu.org,
	emacs-devel@gnu.org
Subject: Re: On the behavior of `c-beginning-of-defun'
Date: 1 Jan 2007 23:30:51 +0100	[thread overview]
Message-ID: <20070101234225.GB2094@muc.de> (raw)
In-Reply-To: <BAY112-F15C64A1A9ECCB61C4FDC52DAC40@phx.gbl>

Hi, Guanpeng!

On Sun, Dec 31, 2006 at 05:40:52PM +0800, Herbert Euler wrote:
> And is this a bug too?

Hey, have you got any more?  ;-)

> For the following class definition:
> 
> class a_b::c_d1 : public e_f, public g_h
> {
> -!-};
> 
> Suppose -!- represents the location of point.  `c-beginning-of-defun'
> moves point to
> 
> class a_b::c_d1 : -!-public e_f, public g_h
> {
> };
> 
> Rather than
> 
> -!-class a_b::c_d1 : public e_f, public g_h
> {
> };

That is indeed was a bug.  I've just committed a batch of CC Mode bug fixes
(updating its version to 5.31.4).  This bug seems to have been fixed.
Would you try it out again with these updated files, please.

> Thanks in advance.
> 
> Regards,
> Guanpeng Xu
 
-- 
Alan Mackenzie (Ittersbach, Germany)

  parent reply	other threads:[~2007-01-01 22:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200612301209.55371.xugp@alibaba-inc.com>
2006-12-30 20:15 ` On the behavior of `c-beginning-of-defun' Alan Mackenzie
2006-12-31  9:40   ` Herbert Euler
2006-12-31 22:13     ` Richard Stallman
2007-01-01 22:30     ` Alan Mackenzie [this message]
2007-01-02  1:19       ` Herbert Euler
2007-01-20 19:37 ` Alan Mackenzie
2007-01-21  1:19 Herbert Euler
2007-01-21  1:22 ` Herbert Euler
2007-01-21 19:33 ` Alan Mackenzie
2007-01-22  2:06   ` Herbert Euler

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=20070101234225.GB2094@muc.de \
    --to=acm@muc.de \
    --cc=bug-cc-mode@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=rms@gnu.org \
    --cc=xugp@alibaba-inc.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).