From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: treesit-forward-sexp (was: Make all tree-sitter modes optional) Date: Tue, 17 Jan 2023 19:59:44 +0200 Message-ID: <83edrt2ga7.fsf@gnu.org> References: <84973.1672843723@hassadar.pretzelnet.org> <83wn62xi3k.fsf@gnu.org> <83o7rexe2n.fsf@gnu.org> <83h6x5xym7.fsf@gnu.org> <83h6wr6gmz.fsf@gnu.org> <831qnu64la.fsf@gnu.org> <83o7qy4l2v.fsf@gnu.org> <55d39dcb-de2f-fe02-e069-f1dd1e50e59b@yandex.ru> <83edru4jaj.fsf@gnu.org> <83sfg92ryn.fsf@gnu.org> <86h6wp5h1j.fsf_-_@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6317"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dgutov@yandex.ru, casouri@gmail.com, monnier@iro.umontreal.ca, larsi@gnus.org, theo@thornhill.no, jostein@secure.kjonigsen.net, emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jan 17 18:59:53 2023 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 1pHqFV-0001Qt-CE for ged-emacs-devel@m.gmane-mx.org; Tue, 17 Jan 2023 18:59:53 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHqFF-0002i7-2W; Tue, 17 Jan 2023 12:59:37 -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 1pHqFD-0002ho-6a for emacs-devel@gnu.org; Tue, 17 Jan 2023 12:59:35 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pHqFC-0007Ho-N2; Tue, 17 Jan 2023 12:59:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=QKJkgkkbXooYIEsfQo+65NSFpMsYKUzcqKbf313zTf8=; b=DYBPbxfttcF3 1AARQbIaeroTM60A/Rflvh7FdkMbQXmOJg/eXv1werXVjM/kwJ+CkPMnXj2y4n4/YmV8KYHVgohJK AFoxvWKxmNaiDc+CweEjp+pzJt7DpjST9rq0JqSXAnUEy8+183Kh8lNx7VxvN7mVkymks2Foxx5Fd gSc4uT5b3UXNleXnkj8uk7Ern4rnF2x5YFn6AFxgBa9EWphvaAOtcDRbjXCOtnIbmDNuiMElc4NF5 Ex2OWta/U4/ajpaAjvAdW1sjDv/fzTHHYZSwSD3oYpX3EUyeUBWPJEenhHJz9JJWPHMOIV8xudx4M B5+GjDmL4ugLoCEqAlxefA==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pHqFC-0003wV-4j; Tue, 17 Jan 2023 12:59:34 -0500 In-Reply-To: <86h6wp5h1j.fsf_-_@mail.linkov.net> (message from Juri Linkov on Tue, 17 Jan 2023 19:34:04 +0200) 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:302491 Archived-At: > From: Juri Linkov > Cc: Eli Zaretskii , casouri@gmail.com, > monnier@iro.umontreal.ca, larsi@gnus.org, theo@thornhill.no, > jostein@secure.kjonigsen.net, emacs-devel@gnu.org > Date: Tue, 17 Jan 2023 19:34:04 +0200 > > ``` > (with-eval-after-load 'ruby-ts-mode > (add-hook 'ruby-ts-mode-hook > (lambda () > (smie-setup ruby-smie-grammar #'ruby-smie-rules > :forward-token #'ruby-smie--forward-token > :backward-token #'ruby-smie--backward-token)))) > ``` > > Maybe something like this should be added to emacs-29 > until treesit-forward-sexp is implemented in master? Sorry, we are done adding new features to emacs-29.