From: Eli Zaretskii <eliz@gnu.org>
To: "Gerd Möllmann" <gerd.moellmann@gmail.com>
Cc: casouri@gmail.com, emacs-devel@gnu.org
Subject: Re: emacs-29 fb5d9ff559 1/2: Fix c-ts-mode defun movement (bug#59628)
Date: Fri, 02 Dec 2022 10:39:46 +0200 [thread overview]
Message-ID: <83tu2efbcd.fsf@gnu.org> (raw)
In-Reply-To: <4c9cb97a-f792-0c2e-bb29-3fa631d34225@gmail.com> (message from Gerd Möllmann on Fri, 2 Dec 2022 07:30:44 +0100)
> Date: Fri, 2 Dec 2022 07:30:44 +0100
> Cc: casouri@gmail.com, emacs-devel@gnu.org
> From: Gerd Möllmann <gerd.moellmann@gmail.com>
>
> >> ;; Navigation.
> >> (setq-local treesit-defun-type-regexp
> >> - (rx (or "specifier"
> >> - "definition")))
> >> + (rx (or "function_definition"
> >> + "type_definition"
> >> + "struct_specifier"
> >> + "enum_specifier"
> >> + "union_specifier")))
> >
> > Shouldn't we use regex-opt here?
>
> The or-clause of rx does that already.
Good to know, thanks.
prev parent reply other threads:[~2022-12-02 8:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-01 15:30 emacs-29 fb5d9ff559 1/2: Fix c-ts-mode defun movement (bug#59628) Eli Zaretskii
2022-12-02 2:53 ` Yuan Fu
2022-12-02 6:30 ` Gerd Möllmann
2022-12-02 8:39 ` Eli Zaretskii [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=83tu2efbcd.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=casouri@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=gerd.moellmann@gmail.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.