all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alex <agrambot@gmail.com>
To: Hannu Koivisto <azure@iki.fi>
Cc: 9501@debbugs.gnu.org
Subject: bug#9501: 24.0.50; c-end-of-defun and c-beginning-of-defun are not convenient with C++ / namespaces
Date: Sun, 14 Aug 2016 15:11:07 -0600	[thread overview]
Message-ID: <871t1rqcno.fsf@gmail.com> (raw)
In-Reply-To: <83obyna69q.fsf@kalahari.s2.org> (Hannu Koivisto's message of "Wed, 14 Sep 2011 11:16:01 +0300")

close 9501 24.5
quit

Hannu Koivisto <azure@iki.fi> writes:

> Create file test.h with the following content:
>
> namespace Kala {
>
> void function()
> {
> }
>
> void function2()
> {
> }
>
> }
>
> Run emacs -Q test.h.  Enter c++-mode with M-x c++-mode RET. Move to
> the first line of "function".  Hit C-M-e.  Observe that point moves
> to the end of the buffer.  Move to the first line of
> "function2". Hit C-M-a.  Observe that point moves to the beginning
> of the buffer.  Now, documentation of c-end-of-defun says "Move
> forward to the end of a top level declaration." and you could argue
> that namespace Kala is the only top level declaration and therefore
> this behaviour is correct, but I argue that in practice this
> behaviour is not useful.

This works correctly in 24.5.





      reply	other threads:[~2016-08-14 21:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-14  8:16 bug#9501: 24.0.50; c-end-of-defun and c-beginning-of-defun are not convenient with C++ / namespaces Hannu Koivisto
2016-08-14 21:11 ` Alex [this message]

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=871t1rqcno.fsf@gmail.com \
    --to=agrambot@gmail.com \
    --cc=9501@debbugs.gnu.org \
    --cc=azure@iki.fi \
    /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.