|
From: | Dmitry Gutov |
Subject: | bug#60525: 29.0.60; tree-sitter support in semantic-symref |
Date: | Wed, 4 Jan 2023 21:04:19 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 |
On 04/01/2023 20:39, Eli Zaretskii wrote:
From: Stefan Monnier<monnier@iro.umontreal.ca> Cc:dgutov@yandex.ru,larsi@gnus.org,juri@linkov.net,60525@debbugs.gnu.org Date: Wed, 04 Jan 2023 13:07:47 -0500 - make the various variants of a major mode all inherit from a shared parent mode (and then use that shared parent mode in `semantic-symref-filepattern-alist`).This idea was tried, but it doesn't work well enough, at least not for all such mode pairs.
2 out of 3 modes added by this patch do have "base" modes that can be used: python-base-mode and ruby-base-mode.
The search will have to become a little more complex, though, to account for parent modes. Not just (cdr (assoc mode semantic-symref-filepattern-alist)).
[Prev in Thread] | Current Thread | [Next in Thread] |