Subject: bug#43179: CC Mode 5.33.2 (C/*l); (forward-comment -1) doesn't move

From: Lars Ingebrigtsen <[email-masked]>
Date: Fri, 22 Jan 2021 20:38:09 +0100

"Norrish, Michael (Data61, Acton)" <[email-masked]>
writes:

> In this file (between the hyphens):
>
> ----- 
> int x = 4;
> /*
> (Assume all positive) */
>
> int y;
> -----
>
> Put the cursor immediately after the comment.
>
> Then eval (forward-comment -1)
>
> Rather than jumping to the start of line 2, the cursor stays where it
> is.

Thanks for the clear test case.

> Emacs  : GNU Emacs 26.3 (build 1, x86_64-apple-darwin18.2.0, NS appkit-1671.20 Version 10.14.3 (Build 18D109))
>  of 2019-09-02

I can reproduce this in Emacs 26, but not in Emacs 28, so I think this
has been fixed now.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no