GNU bug report logs -
#43007
27.1; M-j doesn't behave properly in comments
Previous Next
Reported by: Alessio Vanni <vannilla <at> firemail.cc>
Date: Sun, 23 Aug 2020 21:56:03 UTC
Severity: normal
Tags: moreinfo
Found in version 27.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Alessio Vanni <vannilla <at> firemail.cc>
> Date: Sun, 23 Aug 2020 23:53:37 +0200
>
> I normally use M-j to continue a long comment over multiple lines.
> Recently, this feature broke in a rather weird way: new lines are opened
> as a comment, but the new line is placed above the line with the point,
> rather than below. In some other cases, the line appears in the correct
> place, but opening a new line results in a '*' character instead of a
> comment (the character is used on modes where '*' is part of a comment,
> like `js-mode' or `cc-mode'.)
>
> This happens when running "emacs -Q" too.
>
> Example:
>
> // some comment.
>
> Becomes:
>
> //
> // some comment.
>
> Alternatively:
>
> // some comment.
> //
> //
> *
> *
> *
> *
>
> (the '*' just keeps happening for every M-j.)
Alan, please look into this. Lars says he can reproduce, but I
cannot, at least not in "emacs -Q" with Emacs 27.1. Can you?
This bug report was last modified 3 years and 350 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.