[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#60525: 29.0.60; tree-sitter support in semantic-symref
From: |
Juri Linkov |
Subject: |
bug#60525: 29.0.60; tree-sitter support in semantic-symref |
Date: |
Thu, 05 Jan 2023 19:29:35 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) |
>>>> >> On 03/01/2023 20:06, Juri Linkov wrote:
>>>> >> > + (c-ts-mode "*.[ch]")
>>>> >> > (c++-mode "*.[chCH]" "*.[ch]pp" "*.cc" "*.hh")
>>>> >> > + (c++-ts-mode "*.[chCH]" "*.[ch]pp" "*.cc" "*.hh")
>>>> >> > (html-mode "*.html" "*.shtml" "*.php")
>>>> >> > (mhtml-mode "*.html" "*.shtml" "*.php") ; FIXME: remove
>>>> >> > ; duplication of
>>>> >> > @@ -53,7 +55,10 @@ semantic-symref-filepattern-alist
>>>> >> > ; major mode definition?
>>>> >> > (ruby-mode "*.r[bu]" "*.rake" "*.gemspec" "*.erb" "*.haml"
>>>> >> > "Rakefile" "Thorfile" "Capfile" "Guardfile"
>>>> >> > "Vagrantfile")
>>>> >> > + (ruby-ts-mode "*.r[bu]" "*.rake" "*.gemspec" "*.erb" "*.haml"
>>>> >> > + "Rakefile" "Thorfile" "Capfile" "Guardfile"
>>>> >> > "Vagrantfile")
>>>> >> > (python-mode "*.py" "*.pyi" "*.pyw")
>
> BTW, I see that the info provided by `semantic-symref-filepattern-alist`
> could be (re)used also in `C-u M-x grep`.
Indeed, another duplication with:
(defcustom grep-files-aliases
'(("all" . "* .*")
("el" . "*.el")
("ch" . "*.[ch]")
("c" . "*.c")
("cc" . "*.cc *.cxx *.cpp *.C *.CC *.c++")
("cchh" . "*.cc *.[ch]xx *.[ch]pp *.[CHh] *.CC *.HH *.[ch]++")
("hh" . "*.hxx *.hpp *.[Hh] *.HH *.h++")
("h" . "*.h")
("l" . "[Cc]hange[Ll]og*")
("am" . "Makefile.am GNUmakefile *.mk")
("m" . "[Mm]akefile*")
("tex" . "*.tex")
("texi" . "*.texi")
("asm" . "*.[sS]"))
- bug#60525: 29.0.60; tree-sitter support in semantic-symref, (continued)
- bug#60525: 29.0.60; tree-sitter support in semantic-symref, Eli Zaretskii, 2023/01/04
- bug#60525: 29.0.60; tree-sitter support in semantic-symref, Stefan Monnier, 2023/01/04
- bug#60525: 29.0.60; tree-sitter support in semantic-symref, Stefan Monnier, 2023/01/04
- bug#60525: 29.0.60; tree-sitter support in semantic-symref, Eli Zaretskii, 2023/01/04
- bug#60525: 29.0.60; tree-sitter support in semantic-symref, Stefan Monnier, 2023/01/04
- bug#60525: 29.0.60; tree-sitter support in semantic-symref,
Juri Linkov <=
- bug#60525: 29.0.60; tree-sitter support in semantic-symref, Eli Zaretskii, 2023/01/04
- bug#60525: 29.0.60; tree-sitter support in semantic-symref, Dmitry Gutov, 2023/01/04
- bug#60525: 29.0.60; tree-sitter support in semantic-symref, Stefan Monnier, 2023/01/04
- bug#60525: 29.0.60; tree-sitter support in semantic-symref, Juri Linkov, 2023/01/05