emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#41952: closed (CC Mode and js-mode: Erroneous values for comment-sta


From: GNU bug Tracking System
Subject: bug#41952: closed (CC Mode and js-mode: Erroneous values for comment-start-skip)
Date: Sat, 04 Jul 2020 13:04:02 +0000

Your message dated 4 Jul 2020 13:03:34 -0000
with message-id <20200704130334.58444.qmail@mail.muc.de>
and subject line Re: bug#41952: CC Mode and js-mode: Erroneous values for 
comment-start-skip
has caused the debbugs.gnu.org bug report #41952,
regarding CC Mode and js-mode: Erroneous values for comment-start-skip
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
41952: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=41952
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: CC Mode and js-mode: Erroneous values for comment-start-skip Date: Fri, 19 Jun 2020 19:40:11 +0000
Hello, Emacs.

In CC Mode modes, a typical value for comment-start-skip is:

    "\\(//+\\|/\\*+\\)\\s *"

.  This is erroneous, since it includes regexp grouping parentheses, yet
the comment being matched doesn't start at (match-end 1), contravening
the definition of comment-start-skip.

This mistake is likely to lead to errors in filling, etc.

The same bug is present in js-mode.

-- 
Alan Mackenzie (Nuremberg, Germany).



--- End Message ---
--- Begin Message --- Subject: Re: bug#41952: CC Mode and js-mode: Erroneous values for comment-start-skip Date: 4 Jul 2020 13:03:34 -0000 User-agent: tin/2.4.4-20191224 ("Millburn") (FreeBSD/11.3-RELEASE-p9 (amd64))
In article <mailman.128.1592595664.2574.bug-gnu-emacs@gnu.org> you wrote:
> Hello, Emacs.

> In CC Mode modes, a typical value for comment-start-skip is:

>     "\\(//+\\|/\\*+\\)\\s *"

> .  This is erroneous, since it includes regexp grouping parentheses, yet
> the comment being matched doesn't start at (match-end 1), contravening
> the definition of comment-start-skip.

> This mistake is likely to lead to errors in filling, etc.

> The same bug is present in js-mode.

Fixed in master.

-- 
Alan Mackenzie (Nuremberg, Germany).



--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]