* bug#43179: CC Mode 5.33.2 (C/*l); (forward-comment -1) doesn't move
[not found] <632760E3-D7B0-438C-938E-6B827D019851@csiro.au>
@ 2021-01-22 19:38 ` Lars Ingebrigtsen
0 siblings, 0 replies; only message in thread
From: Lars Ingebrigtsen @ 2021-01-22 19:38 UTC (permalink / raw)
To: Norrish, Michael (Data61, Acton); +Cc: 43179
"Norrish, Michael (Data61, Acton)" <Michael.Norrish@data61.csiro.au>
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
^ permalink raw reply [flat|nested] only message in thread