From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Vincenzo Pupillo Newsgroups: gmane.emacs.devel Subject: Re: treesit: how to get it to parse multiple languages Date: Sun, 24 Nov 2024 13:11:24 +0100 Message-ID: <2155916.9o76ZdvQCi@fedora> References: <2718624.vuYhMxLoTh@fedora> <710CDA01-DA78-4C14-BE18-89D93A99120F@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13406"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Juri Linkov , emacs-devel@gnu.org, Peter Oliver , Andrew De Angelis To: Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Nov 24 13:12:23 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tFBTT-0003PB-En for ged-emacs-devel@m.gmane-mx.org; Sun, 24 Nov 2024 13:12:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tFBSm-00057s-JS; Sun, 24 Nov 2024 07:11:40 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tFBSe-00050m-43 for emacs-devel@gnu.org; Sun, 24 Nov 2024 07:11:33 -0500 Original-Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tFBSc-0004Fc-32 for emacs-devel@gnu.org; Sun, 24 Nov 2024 07:11:31 -0500 Original-Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-431548bd1b4so31526875e9.3 for ; Sun, 24 Nov 2024 04:11:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732450286; x=1733055086; darn=gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ehQ8ywNPV9jKntyh2PYgmr9dJSx+w6WEK0TUppYEeW0=; b=ESJeYVjipXwclwZm0A/wu2lVSrm7Ceon3ucWK4iKP28eHyAmAl6ZKr8YiauFT/UhHn nP50mIC52jpE5KU5Pg2hhK9dmsta4DZJhNu2GqYkmfLe9KTCfamf/OIxobTJo0/gqzqZ pE4Zz6KuDL386mP6aiG3G88/lWZG6D5Hidm4e75twhfqV8rTdXVcuobKaQ4GoyH1Qpgj AtZyF7/5QsgKqCBhE+R1jNufV6OE19l7idaXJI1VErG9/MhCZ0iEME3e/nBO4gUl0ZOr EUJcE5+BlOmwjE1p+graKsjkfqwvrLJXSbsAJPJ2h8YX7x8w3uRsIZcHUCFObQ53UJ+U q5CA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732450286; x=1733055086; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ehQ8ywNPV9jKntyh2PYgmr9dJSx+w6WEK0TUppYEeW0=; b=JSBwXD33A/sXK1IZaeI11xsMhLgG9NBVmjTW0tf0srtMdwQ7YFjFIMSZb1YSAMsx5X V+dzeE59GSJcyJ74BZ/KkxMYYStYr2jOI9PNj5sgACfef9/C5PGGm3EIDpyGDaWn0RdL dkZm9EeDlF2opiCXs3rzgMsSnJGYSdAWLMb0Uzzbl2UdPGvlCYfcAeMnKRoLbpsFUDnN VPABTuDyTagg6ieP9uCNKaDacHTSHLWkf5KwAJwv4uWwQxqg9T8ofAL43HzlvathyqlB EwblxkVkrNCKZsgeV0VKW7ENKMUrxwReQOtEead5YLWrXTOnE/XVkOAcWyS3PY5p/dy5 PMeQ== X-Forwarded-Encrypted: i=1; AJvYcCUB+8XV8eZhhNov4JTQ+Vrei+uKmvs4IEOkQneQIyY8GTIWf0pBca1riYkB5UPhVnHmD7s93DCOU98GSw==@gnu.org X-Gm-Message-State: AOJu0YySvWgVwh5H3TVdZr0tV3DvUls0eSIWBfCLaapBYapwyEA6R3Nc 6ajoLP1AZnh3KN8lCM+VgRWxcK6JTxn/gM5N+nfjsDiLAUepOduS X-Gm-Gg: ASbGnctAnCtym3ilPJBJ47GMRKT5WW4SrtmwlNBQWu2zwhJLwreqEKlT9p3Ssec2DwX motaXA+cfyK7CMGHpgMpjLrud7MOdj0MvheD0KgS3OcFCM3XxunH+tNVGCgkYqOOvIVNNBbm163 U1SZoEHMonTDUyLQfeFKGQ3crMQmuQvtUBOonilIA9bJPvT4y/xIWx54emXGdixQ9et8uhIiJVa E6CcX7sVk1W3mqMvCQbp6a4MGbeACf4Aj0JPkQLIjXEy4duEvLqzcce6K5AXijK95/s4aIO/HVJ JvN/igjxb+0yQw== X-Google-Smtp-Source: AGHT+IERve/MAG55BHXWAbKHavxW6I84BNy1wbRthKc+0nnuGB3DrBQd2dmwm+japU2taPkP5wv19g== X-Received: by 2002:a05:600c:3ac3:b0:431:6083:cd2a with SMTP id 5b1f17b1804b1-433ce42c78bmr86213445e9.15.1732450285978; Sun, 24 Nov 2024 04:11:25 -0800 (PST) Original-Received: from fedora.localnet (2-230-139-124.ip202.fastwebnet.it. [2.230.139.124]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-433b45bd7d7sm157739655e9.13.2024.11.24.04.11.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Nov 2024 04:11:25 -0800 (PST) In-Reply-To: <710CDA01-DA78-4C14-BE18-89D93A99120F@gmail.com> Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=v.pupillo@gmail.com; helo=mail-wm1-x334.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:325662 Archived-At: In data domenica 24 novembre 2024 06:09:39 Ora standard dell=E2=80=99Europa= centrale,=20 Yuan Fu ha scritto: >=20 > That=E2=80=99s awesome! >=20 > Yuan It's pretty much ready, the only thing I'm missing is the ability to create= an=20 Imenu with symbols from both HTML and the other embedded languages. I have= =20 tried a few approaches but it seems that it can only be done for the main=20 language. Is there any way to do something like that? Thank you. Vincenzo