From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Tree sitter support for C-like languages Date: Mon, 14 Nov 2022 03:23:20 +0200 Message-ID: <63c35257-28c3-3433-0aef-6c18721f3002@yandex.ru> References: <87tu36em9t.fsf@thornhill.no> <45FD2F78-F15B-488B-9348-A8E298D8AD35@gmail.com> <87v8nmyqqp.fsf@thornhill.no> <834jv4nz2g.fsf@gnu.org> <871qq8hsj1.fsf@thornhill.no> <83iljklzmo.fsf@gnu.org> <87v8nkgcqj.fsf@thornhill.no> <87sfiogcbm.fsf@thornhill.no> <83pmdrkyj7.fsf@gnu.org> <87v8njw5th.fsf@thornhill.no> <83leofkwjm.fsf@gnu.org> <963E740B-B9BA-49E3-A64E-501394DFE41A@thornhill.no> <83h6z3ko8l.fsf@gnu.org> <87r0y7nh21.fsf@thornhill.no> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27018"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Cc: casouri@gmail.com, emacs-devel@gnu.org, monnier@iro.umontreal.ca To: Theodor Thornhill , Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Nov 15 01:44:00 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 1ouk3U-0006q5-LJ for ged-emacs-devel@m.gmane-mx.org; Tue, 15 Nov 2022 01:44:00 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ouir6-0004EN-44; Mon, 14 Nov 2022 18:27:08 -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 1ouih6-0004Q9-1S for emacs-devel@gnu.org; Mon, 14 Nov 2022 18:16:48 -0500 Original-Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ouOCN-0005p3-Ua; Sun, 13 Nov 2022 20:23:45 -0500 Original-Received: by mail-wr1-x42d.google.com with SMTP id y16so15187796wrt.12; Sun, 13 Nov 2022 17:23:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=eI/+nzhUF8FcLZweuzkosGp8h+BeCb5tG+CjtYSgk3s=; b=NXT1JDdOfueyHNyTtqygAf1NOk4Xy5OlZizi4fJdJssFiZSQ4geYPvRNmXpaq0NxG2 ueCVDgLpUJ9NxpInzVHi+bneZSqz5Ad8uSqXYlBD+gWKPI6i1jbkC+E8pAhRWFOFEtDu 0C7eaZq00iNsnw+sq8Mk+5TE+mabC0YqRRiqleSGzrOXne70JV0eoZF7VYaJlaAKbd8L fZcOWxWZ2iXEku5rJsaiDsuAwThjdDkOR0d55jM3RxA2c8EzCq6/NAjjiaqSbZTcJjJz pqGBuytOXboE3dN5U7svZqZzonOJDmv7z4/x8Th4IK3AwmQPSB8BrM4Bib6pdZnC0PYd cYQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=eI/+nzhUF8FcLZweuzkosGp8h+BeCb5tG+CjtYSgk3s=; b=CM9Hqr63h17H7D5KlyWuMo6QV/2OLJ6lc7S44CDraEUunAiQaszvctRTPoWVOcSNZl XVpOV/MwzKd0saTE9tqPYc7Wr4mfWzpPzk/nAwRx+pnkmlKyziRgrnd2YDsl7hmwAIuW VDVfJJOxypbGWlef3/llENllPbzuKbU+b0VSJRgnEOkif8hNFbrlpPdnqXo+07iRGkXx hdQiM0CDp19OnLaEsEr+3nHKVigpEP+5eOSmJ3iAuUgawY9K0ijjO2SvfSZeAOwmJ2YR BeVM9LTNVrhIAmMZ7kZJVBotAwcNX7zj0dxE/37KZZhUUb9S3WUmTX7rruhvSnyWU9BK qkGw== X-Gm-Message-State: ANoB5pkcjnViRKCSrLufnh/V8tXoZI7ud8pBJ9fD48DDEZHpuzvFX40s cOkAi3AewhxT2dILm5AVuDo= X-Google-Smtp-Source: AA0mqf5Z2JBcA9HuK8EjNBUm0mqIFWZmBmluuz7Pst92gZcb8hmnQf5FcDCznzdb4Ko3B2VAh2Jk4w== X-Received: by 2002:a5d:5603:0:b0:22e:2ecc:663d with SMTP id l3-20020a5d5603000000b0022e2ecc663dmr6511177wrv.633.1668389004412; Sun, 13 Nov 2022 17:23:24 -0800 (PST) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id i11-20020a05600c354b00b003b4ff30e566sm14798793wmq.3.2022.11.13.17.23.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 13 Nov 2022 17:23:23 -0800 (PST) Content-Language: en-US In-Reply-To: <87r0y7nh21.fsf@thornhill.no> Received-SPF: pass client-ip=2a00:1450:4864:20::42d; envelope-from=raaahh@gmail.com; helo=mail-wr1-x42d.google.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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:299800 Archived-At: On 13.11.2022 15:02, Theodor Thornhill wrote: > The warning face. My thinking was merely that identifying syntax errors > could be useful, but I now believe this causes more noise and confusion > rather than being a helpful tool. Indeed, my experience with js2-mode is that such indication is useful, to tell about the (potential) syntax error in the code. Especially if otherwise the user will need to launch a slow-ish compilation process to be notified of such error. As long as the odds of false positives are low.