Subject: bug#9099: closed (Re: (forward-comment -1) sometimes fails (C Mode).)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 17 Jul 2011 09:33:02 +0000

Your bug report

#9099: (forward-comment -1) sometimes fails (C Mode).

which was filed against the emacs,cc-mode package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
9099: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9099
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: (forward-comment -1) sometimes fails (C Mode).
From: Alan Mackenzie <[email-masked]>
To: [email-masked]
Date: Sun, 17 Jul 2011 09:29:47 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

On Sat, Jul 16, 2011 at 12:54:06PM +0000, Alan Mackenzie wrote:
> (i) emacs -Q
> (ii) C-x C-f /path/to/emacs/src/gnutls.h
> (iii) Place point at 730, i.e. immediately after the opening comment.
> (iv) M-: (forward-comment -1)

> Point doesn't move.  It ought to move to BOB.

The problem was caused by open-paren-in-column-0-is-defun-start and a
paren in column 0.

-- 
Alan Mackenzie (Nuremberg, Germany).

Subject: (forward-comment -1) sometimes fails (C Mode).
From: Alan Mackenzie <[email-masked]>
To: [email-masked]
Date: Sat, 16 Jul 2011 12:54:06 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

(i) emacs -Q
(ii) C-x C-f /path/to/emacs/src/gnutls.h
(iii) Place point at 730, i.e. immediately after the opening comment.
(iv) M-: (forward-comment -1)

Point doesn't move.  It ought to move to BOB.

-- 
Alan Mackenzie (Nuremberg, Germany).