all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: Alan Mackenzie <acm@muc.de>
Cc: 41952-done@debbugs.gnu.org
Subject: bug#41952: CC Mode and js-mode: Erroneous values for comment-start-skip
Date: 4 Jul 2020 13:03:34 -0000	[thread overview]
Message-ID: <20200704130334.58444.qmail@mail.muc.de> (raw)
In-Reply-To: <mailman.128.1592595664.2574.bug-gnu-emacs@gnu.org>

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






      parent reply	other threads:[~2020-07-04 13:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-19 19:40 bug#41952: CC Mode and js-mode: Erroneous values for comment-start-skip Alan Mackenzie
     [not found] ` <mailman.128.1592595664.2574.bug-gnu-emacs@gnu.org>
2020-07-04 13:03   ` Alan Mackenzie [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200704130334.58444.qmail@mail.muc.de \
    --to=acm@muc.de \
    --cc=41952-done@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.