From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.devel Subject: Re: [SPAM UNSURE] Re: Tree-sitter api Date: Thu, 19 Aug 2021 17:12:40 -0700 Message-ID: <865yw1as93.fsf@stephe-leake.org> References: <83r1f7hydn.fsf@gnu.org> <95F37923-5BF9-4D81-B361-267CF119FBCA@gmail.com> <735AF34C-FD18-4A6A-A99D-E5D8EB4DE4F3@gmail.com> <86im02bobr.fsf@stephe-leake.org> <8B7F80FE-56EF-482D-BFA7-66ADA2B6B304@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="9460"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (windows-nt) Cc: Eli Zaretskii , Theodor Thornhill , Stefan Monnier , =?utf-8?Q?Cl?= =?utf-8?Q?=C3=A9ment?= Pit-Claudel , emacs-devel To: Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Aug 20 02:13:29 2021 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 1mGsA4-0002F8-Bo for ged-emacs-devel@m.gmane-mx.org; Fri, 20 Aug 2021 02:13:28 +0200 Original-Received: from localhost ([::1]:37460 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mGsA2-0006Us-Kg for ged-emacs-devel@m.gmane-mx.org; Thu, 19 Aug 2021 20:13:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43848) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGs9U-0005qi-9A for emacs-devel@gnu.org; Thu, 19 Aug 2021 20:12:54 -0400 Original-Received: from gateway23.websitewelcome.com ([192.185.50.141]:27613) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGs9R-0005HK-Tx for emacs-devel@gnu.org; Thu, 19 Aug 2021 20:12:51 -0400 Original-Received: from cm13.websitewelcome.com (cm13.websitewelcome.com [100.42.49.6]) by gateway23.websitewelcome.com (Postfix) with ESMTP id 0954F7A5A for ; Thu, 19 Aug 2021 19:12:46 -0500 (CDT) Original-Received: from host2007.hostmonster.com ([67.20.76.71]) by cmsmtp with SMTP id Gs9NmGR7arJtZGs9NmoVKN; Thu, 19 Aug 2021 19:12:46 -0500 X-Authority-Reason: nr=8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=stephe-leake.org; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:In-Reply-To:Date:References:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=qU6ThoNJorG5toaLODLqgn6yjKdDtVqYkMJwyEr6p6U=; b=BSLseLQTFk1coGA0d5zTJgL/8r vFQStDSnS4u2yUC4cJDo+b+DB3a92G4ku34wAg283FjPWp9iNVIeUNEJislV9QEELccpbWdrhAThz G/jDoit/JW6gcbpqP/lde4KuKvAlbvSCUt/3ha+Xc1cHuts+TMTdywVkrRRsPGfZH3m9J4LgT89Q/ EoEWIndZePqdBdwmdSci5J9fXvfmYGYDEHwVKUQAVpjp/a3Rintpul9Jjg906thgg6acFvI5ZFG8b 4ZKAhR5C41t4a2HQrC9zczC3c13lknBBRODxss5Jq222iNbq+eILNTun2GSzKQOwe1hbAZ8NYwUsM h5RMCmMA==; Original-Received: from [76.77.182.20] (port=57047 helo=Takver4) by host2007.hostmonster.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mGs9N-002Cbs-1u; Thu, 19 Aug 2021 18:12:45 -0600 In-Reply-To: <8B7F80FE-56EF-482D-BFA7-66ADA2B6B304@gmail.com> (Yuan Fu's message of "Wed, 18 Aug 2021 14:30:37 -0700") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host2007.hostmonster.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - stephe-leake.org X-BWhitelist: no X-Source-IP: 76.77.182.20 X-Source-L: No X-Exim-ID: 1mGs9N-002Cbs-1u X-Source-Sender: (Takver4) [76.77.182.20]:57047 X-Source-Auth: stephen_leake@stephe-leake.org X-Email-Count: 6 X-Source-Cap: c3RlcGhlbGU7c3RlcGhlbGU7aG9zdDIwMDcuaG9zdG1vbnN0ZXIuY29t X-Local-Domain: yes Received-SPF: permerror client-ip=192.185.50.141; envelope-from=stephen_leake@stephe-leake.org; helo=gateway23.websitewelcome.com X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_NEUTRAL=0.779 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.devel:272693 Archived-At: Yuan Fu writes: >> You could try writing indent rules for Ada; current ada-mode code is in >> https://savannah.nongnu.org/git/?group=3Dada-mode. See the test/ directo= ry >> for examples of known good indentation. >>=20 >> ada-mode takes the approach of embedding the indent rules directly in >> the grammar, and the functions that do that provide a few more options >> than yours. To see the definition of those functions, you'll have to >> install the wisi package, and look in wisi.info, section Grammar >> actions. (it would be nice if that info/html file was linked from the >> GNU ELPA package page; I'll start a new thread for that). > > Thanks. I=E2=80=99ll see what I can do; I know nearly nothing about Ada e= xcept > that it is commissioned by the department of defense :-) Was, a long time ago. Now it is used by high-security, high-reliability applications (train control, spacecraft (European, not NASA, sigh), banks). AdaCore is a company thriving on the business model of selling support for the Gnu Ada compiler and associated tools. > BTW, while I was reading the manual, I noticed a typo: Thanks. --=20 -- Stephe