unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: Theodor Thornhill <theo@thornhill.no>
Cc: 59816@debbugs.gnu.org
Subject: bug#59816: 29.0.60; c++-ts-mode handles one-line comments badly
Date: Mon, 5 Dec 2022 16:44:14 +0000	[thread overview]
Message-ID: <Y44f3kzlvh+P+RzE@ACM> (raw)
In-Reply-To: <08257d6b-2426-bbdf-0ed4-edd161801ad6@gmail.com>

Hello, Theodor,

Perhaps a little different from the original bug report, but while you're
at it, you may want to handle continued C++ line comments (I haven't
checked whether you've done this already, so apologies if so).

Here, in a comment, if the last character on the comment line is a \,
this continues the comment onto the next line.  This backslash cannot
itself be escaped, so a comment line ending in \\ continues on to the
next line, too.

All the best with it!

-- 
Alan Mackenzie (Nuremberg, Germany).





  parent reply	other threads:[~2022-12-05 16:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-04 12:58 bug#59816: 29.0.60; c++-ts-mode handles one-line comments badly Herman, Géza
2022-12-05 12:44 ` bug#59816: [PATCH]: " Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-12-05 13:01   ` Eli Zaretskii
2022-12-05 13:21     ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-12-05 23:16       ` Herman, Géza
2022-12-06  7:00         ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-12-05 16:44 ` Alan Mackenzie [this message]
2022-12-05 17:07   ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-12-07 19:36 ` Yuan Fu

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=Y44f3kzlvh+P+RzE@ACM \
    --to=acm@muc.de \
    --cc=59816@debbugs.gnu.org \
    --cc=theo@thornhill.no \
    /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 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).