From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Perry Smith Newsgroups: gmane.emacs.devel Subject: Foo.html.erb -- major mode Date: Tue, 13 Dec 2022 09:26:50 -0600 Message-ID: <479CD2BE-EFB5-426C-9C60-D22DBB75745D@easesoftware.com> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.200.110.1.12\)) Content-Type: multipart/signed; boundary="Apple-Mail=_BA4A67D9-4E44-4E38-BC36-8031793A1C9B"; protocol="application/pgp-signature"; micalg=pgp-sha256 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22167"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 13 16:34:13 2022 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 1p57IK-0005Vr-Vl for ged-emacs-devel@m.gmane-mx.org; Tue, 13 Dec 2022 16:34:13 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p57He-0007e5-7d; Tue, 13 Dec 2022 10:33:30 -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 1p57Ha-0007cW-QL for emacs-devel@gnu.org; Tue, 13 Dec 2022 10:33:29 -0500 Original-Received: from fossa.birch.relay.mailchannels.net ([23.83.209.62]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p57HX-00011s-Ph for emacs-devel@gnu.org; Tue, 13 Dec 2022 10:33:26 -0500 X-Sender-Id: a2hosting|x-authuser|pedz+easesoftware.com@mi3-ss4.a2hosting.com Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 6BF8B8823D3 for ; Tue, 13 Dec 2022 15:27:03 +0000 (UTC) Original-Received: from mi3-ss4.a2hosting.com (unknown [127.0.0.6]) (Authenticated sender: a2hosting) by relay.mailchannels.net (Postfix) with ESMTPA id 5C28C8823D8 for ; Tue, 13 Dec 2022 15:27:02 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1670945222; a=rsa-sha256; cv=none; b=L/s7CC5mSYFNItkhzr/Qgqqo66QEoVEY2UmOqRoc/psUodZ2LgcY311P4yN/Jb7xktvWuw pyyr4kPbNwMwnOytQr/b4rPRaXvkw4sovMiVwCEdedyUm/kGic0cy9PGFafG67kU9zxlQK X1O6KIsYLgPE/VVAXELIVPrtRvtuATIqn9LavEUNl13q/gOnieFOOUAf29Y7g3sosz3nSs GdxtXn9kYbAezt281i8q9NqROoDJFsXTqjtPls8CMhWuB3oat9lKtKR8+rOiCZYudBn1Jj UBR1FqvtwE1DhPDwchJ3uQ/mCJqg0c+/f+fPVWAGsYjx6+V3fCJW6djxlXPsBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1670945222; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: dkim-signature; bh=Bam7i3nxsxNTzbLMLl35D75+JkyrX8tBtHpCF62Juec=; b=zMj/R9kZ4smD0M1bf/1Gbqws5VsM5Mk/MWI/xBaCLPLVZoo4YuOAKJTQrgF6POOgzzKiWM peVUOChepjbKBpXrtoWr6u6x6g1yvEX8+HoqstxTYvpl+xoDFQDOcFTA8sPTsfzoBp8gCD GahvAZsHfg5mf3zHRvG3LSUBu0elD7C8QeKJON20ml2+Wevj6FffYuQ8z2dfb24Ne3iQ0X BH8uX0HbXZnOhUTpEFMPsIXLYGe1jKO39KpURVQFwB7kE1sDmQME/9sabC8ZoxPCo0nSDm 36umkW/zi4+FDbbgQCqzqiMFsWnN5Cc5Sn8sSQjvUD3umIepwTtWBvAnIE9Agw== ARC-Authentication-Results: i=1; rspamd-d48c5ddb-8vddm; auth=pass smtp.auth=a2hosting smtp.mailfrom=pedz@easesoftware.com X-Sender-Id: a2hosting|x-authuser|pedz+easesoftware.com@mi3-ss4.a2hosting.com X-MC-Relay: Neutral X-MailChannels-SenderId: a2hosting|x-authuser|pedz+easesoftware.com@mi3-ss4.a2hosting.com X-MailChannels-Auth-Id: a2hosting X-Stop-Macabre: 5a31767e0eb2bb18_1670945222864_1743164892 X-MC-Loop-Signature: 1670945222864:2944955093 X-MC-Ingress-Time: 1670945222864 Original-Received: from mi3-ss4.a2hosting.com (mi3-ss4.a2hosting.com [68.66.200.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.109.138.16 (trex/6.7.1); Tue, 13 Dec 2022 15:27:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=easesoftware.com; s=default; h=To:Date:Message-Id:Subject:Mime-Version: Content-Type:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Bam7i3nxsxNTzbLMLl35D75+JkyrX8tBtHpCF62Juec=; b=VgzWtG/FOurctTh/G61TaqTXgk U5ISH4gf1DdYFftDQgAF4LcMrRDSMbUUKyBA+d+o2Bqkz8aIuXt1XtIRSVu8yPqsQSoS/PO4SDLLe DqO2bbbQiyrTfzTjV7a7GM8HICrSEUyY0ElXhzKl7YF9z1Dhi7K3Gvhzy6BuCtkeAwnYWdlWLdQo1 LilpgUWhYshcphe1UGxwZXX9YFcOIeqNBxopy8I/pJqlE0ZOtoQKhXUKC2gCqaaYfQl9J66AmFU9u MILTmGuXSdlhfEfhRMemAlqoWBdmS/rR8lBkKWC4kwc/CQliRTK4I5iWMGeZhHGMGrBzdsebhPZya JdZsEEgw==; Original-Received: from cpe-70-94-128-193.satx.res.rr.com ([70.94.128.193]:52079 helo=smtpclient.apple) by mi3-ss4.a2hosting.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1p57BN-00DlER-3k for emacs-devel@gnu.org; Tue, 13 Dec 2022 10:27:01 -0500 X-Mailer: Apple Mail (2.3731.200.110.1.12) X-AuthUser: pedz+easesoftware.com@mi3-ss4.a2hosting.com Received-SPF: pass client-ip=23.83.209.62; envelope-from=pedz@easesoftware.com; helo=fossa.birch.relay.mailchannels.net 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, 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:301324 Archived-At: --Apple-Mail=_BA4A67D9-4E44-4E38-BC36-8031793A1C9B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I assume that no one yet has written a major mode using Tree Sitter for = Rail=E2=80=99s view files which combine HTML and erb (embedded ruby) but = wanted to check. Will there be a naming convention for such modes? Currently I use the = existing web-mode package for this task. I think naming it erb-ts-mode = will be a mistake since erb is always going to be mixed in with another = =E2=80=9Clanguage=E2=80=9D. Perhaps html-erb-ts-mode ? Also, I=E2=80=99ve bumped into the Info page about using Tree Sitter for = multi language modes. Is there an example of a mode that uses multiple = languages that I can look at for ideas? Last, since I=E2=80=99m relatively up to speed on Tree Sitter at this = point, is there any glaring need for a Tree Sitter based mode for a = particular language? Thank you, Perry --Apple-Mail=_BA4A67D9-4E44-4E38-BC36-8031793A1C9B Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE5yOa/gCtQpb3oCpljxzk9yzE+MAFAmOYmboACgkQjxzk9yzE +MAoqw//QIWv4bR2AwIkXitsIq4sCrOVkRtknWPsRmgZ1Hx6TO6cH+NYTqNVvbuz kexKI3Dl+FeUMltVwvhMNQgnsxSYRAdXUUiGIDGQjx7ICajsG/ArGjKBrVHyrqID 36X8UsLojzF11No1O49MKuyMmkA5cgTTTuaGo39KUiLwjxRXg93RUMb0X9HIQ9Up ivGr393OZgbv0vwGGE0wqT/N0vlA50BDcdwO635iiiehRTfpeQILIDTGR3JhLsGK 8GOUW/7Kr21d9kniM8bXX81voRq54mRD03T+ugOYT1lxEMFLUZp70E/rm2vBlWaD T3oF8zvOCYyILSLP2FFSfUmOW+x7ECAuvdQzc9NeFMHtqe88xeeIxcgExijC4/cT SdFv2MA60xRYnsq3GBZJiAQx1MDubDNa6GnRMziEl595ZEmf7pIDp9oiVAWBQvdd u/+FRghmbyC0KRawass1QTFheheNo7D79rblhVNnHXL7lzYAGXg5X10sLy4Oqj0K JZ1Y6gi6/b446XqgAea+ZcWk3lGVQoAzL0IS8e4CfBhMHwgh/8uilonNvU0+RLbJ 6XcbXRD6LYcLKWoXzBxtveXFfy/xyQXpDYNYuWRxpp/aM4zkLZIGlg2u2b2GIq9E VLMzfY5xECcO4djuWIsLUEJg9LwdtF8tN8pGHAuWDTqPJtItg5Y= =5Twq -----END PGP SIGNATURE----- --Apple-Mail=_BA4A67D9-4E44-4E38-BC36-8031793A1C9B--