all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Yang Yingchao via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Yuan Fu <casouri@gmail.com>
Cc: 60351-done@debbugs.gnu.org
Subject: bug#60351: 29.0.60; bad syntanx table in c++-ts-mode
Date: Thu, 29 Dec 2022 08:46:03 +0800	[thread overview]
Message-ID: <tencent_86D90A4D3EF1A55E8E04F98DC88C04BAB709@qq.com> (raw)
In-Reply-To: <47AB8521-C74F-406E-A401-8A5E0F8D6F89@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 960 bytes --]

Verified, thank you!

:)

On Wed, Dec 28 2022, Yuan Fu <casouri@gmail.com> wrote:

> Yuan Fu <casouri@gmail.com> writes:
>
>> Yang Yingchao <yang.yingchao@qq.com> writes:
>>
>>> 1. start emacs with emacs -Q
>>>
>>> 2. open a buffer, M-x c++-ts-mode, theninsert following codes:
>>> int main(int argc, char *argv[])
>>> {
>>>     if (0) {
>>>         a->func();
>>>     }
>>>     return 0;
>>> }
>>>
>>> 3. move cursor to line 3, before the bracket
>>> 4. C-M-n (forward-list), and cursor will be placed at line 4, right after "->"
>>>
>>> I think this might be an regression after commit 480f41c7deb4d3a45a862a5308950b35085f835d
>>
>> Thanks for the report! < and > serves double duty in C++, so assigning
>> them paren syntax are indeed incorrect. c++-mode uses text properties to
>> assign different syntax based on context. I’ll copy that into
>> c++-ts-mode.
>
> Done :-)
>
> Yuan


-- 
Yang Yingchao
Yang Yingchao

  reply	other threads:[~2022-12-29  0:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <875ydxz93s.fsf@qq.com>
2022-12-28 21:59 ` bug#60351: 29.0.60; bad syntanx table in c++-ts-mode Yuan Fu
2022-12-28 23:57 ` Yuan Fu
2022-12-29  0:46   ` Yang Yingchao via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2022-12-27  5:48 Yang Yingchao via Bug reports for GNU Emacs, the Swiss army knife of text editors

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=tencent_86D90A4D3EF1A55E8E04F98DC88C04BAB709@qq.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=60351-done@debbugs.gnu.org \
    --cc=casouri@gmail.com \
    --cc=yingchao.yang@seaboxdata.com \
    /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.