unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* 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

only message in thread, other threads:[~2021-01-22 19:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <632760E3-D7B0-438C-938E-6B827D019851@csiro.au>
2021-01-22 19:38 ` bug#43179: CC Mode 5.33.2 (C/*l); (forward-comment -1) doesn't move Lars Ingebrigtsen

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).