From debbugs-submit-bounces@debbugs.gnu.org Sat May 27 08:07:00 2023 Received: (at submit) by debbugs.gnu.org; 27 May 2023 12:07:00 +0000 Received: from localhost ([127.0.0.1]:51498 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q2shI-00026Q-1y for submit@debbugs.gnu.org; Sat, 27 May 2023 08:07:00 -0400 Received: from lists.gnu.org ([209.51.188.17]:34520) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q2shG-00026I-6N for submit@debbugs.gnu.org; Sat, 27 May 2023 08:06:58 -0400 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 1q2shE-0003MY-6J for bug-gnu-emacs@gnu.org; Sat, 27 May 2023 08:06:56 -0400 Received: from mail-cwlgbr01on0724.outbound.protection.outlook.com ([2a01:111:f400:fe14::724] helo=GBR01-CWL-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q2shC-000420-6i for bug-gnu-emacs@gnu.org; Sat, 27 May 2023 08:06:55 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FjZO2BREccJUPXf4tExYQqw/f0BNWiqEBbA72fBS1r2BaeFLMpLJ8qAoQxfVDvyfynxinTDuDDDuBGhbXHIye0BOywf0QNIwQ/1qJLqD+PWChc893HYAazsUmDztEP1BKd1TxhLYgNsBRQnx6sPfdom01omcuohYKCXL1jT4lxBaLE7mtgF3N0tG+uecuXJbel8yQCUZ2L26dBsR8zG9Ed/QFCaC5IwChAjnIpZ+smpzdjbYraoJap+PfPBW/t3BYQF3ij4LTLeajMITZ2IzGPHX8KDYo4R+A56jw23JIeFcPziIyfieCgI9Im3yLuj5FeNGsWXetFG9Fi5unaNSYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=01kukjgoK4jxon4YjD6HZukY78s6T7McBQCS8CMK2E0=; b=krYNeADwFvQhD7eFxJ9Uv9QYDDQb8dmExi48YQAYHcKU6Z20lvNPC2Esi2qKLe5DZysz33ZacbQcdaLGn6qsuANuOZ5Kp4zq9eFbwGVIW02ts/XBuqwFKUYF7SIJrIiCtyihnfw9JLhMq1BuyQjKKLDzfIMZlbE6VNMEcbCSj6cuta7v1+/rq2zKtldpmzzetJMX8yqQ9yMmWhpB5H+n0JX1fAGddlpNgNM9sJwKq6S/j16Im3TfchnxNnktxJnn4NJMqpwAbVNYXATWsHAplgzjaB5ekV12aGXAtuFxBqW4KbU/O8TBfQXfHQT51MNMy/PCkjBtBV1gcnOnShl1lg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 178.79.136.144) smtp.rcpttodomain=gnu.org smtp.mailfrom=masteringemacs.org; dmarc=pass (p=none sp=none pct=100) action=none header.from=masteringemacs.org; dkim=pass (signature was verified) header.d=masteringemacs.org; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semantical.onmicrosoft.com; s=selector1-semantical-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=01kukjgoK4jxon4YjD6HZukY78s6T7McBQCS8CMK2E0=; b=iqHbiSa4yWaq5vpXHkqd4jIuEcefkLFhZtcLtoyW4RYLp9pZfwkA13sZQQFMqT9E2vMBBsaLdX7n89ynJkfNktYvpB1Yhh+dRBEZ3y5JJwDd+cReLOA1P3bnccn/FzXFxsR6G7AuqCSazn3bbUHJn+woWK4qHouzRrIg+iu1Xro= Received: from LNXP265CA0078.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:76::18) by LO3P265MB2156.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:106::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.15; Sat, 27 May 2023 12:01:49 +0000 Received: from CWLGBR01FT004.eop-gbr01.prod.protection.outlook.com (2603:10a6:600:76:cafe::b4) by LNXP265CA0078.outlook.office365.com (2603:10a6:600:76::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6433.19 via Frontend Transport; Sat, 27 May 2023 12:01:49 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 178.79.136.144) smtp.mailfrom=masteringemacs.org; dkim=pass (signature was verified) header.d=masteringemacs.org;dmarc=pass action=none header.from=masteringemacs.org; Received-SPF: Pass (protection.outlook.com: domain of masteringemacs.org designates 178.79.136.144 as permitted sender) receiver=protection.outlook.com; client-ip=178.79.136.144; helo=semantical.co.uk; pr=C Received: from semantical.co.uk (178.79.136.144) by CWLGBR01FT004.mail.protection.outlook.com (10.152.40.93) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.15 via Frontend Transport; Sat, 27 May 2023 12:01:48 +0000 Received: by semantical.co.uk (Postfix, from userid 5001) id 9AC65114002; Sat, 27 May 2023 13:01:47 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=masteringemacs.org; s=masteringemacs.org; t=1685188907; bh=01kukjgoK4jxon4YjD6HZukY78s6T7McBQCS8CMK2E0=; h=From:To:Subject:Date:From; b=bpaZ/qzTYeYK7xzzQirhjPF1v5VCbKpe7K1qZUvOrV2QTcGyYdSfRm/X/HcZYDwxB QLJdLF7qbMzfUEHdEWHZB9lyV9/x2rUbgOvM2+2n5LjBVugpa7xPx7F7A0tAoYvpR2 7FP2S6ILNY+ePdg1ybOCob7hePxpnQq7VOLwTRTo= X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on semantical.co.uk X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NO_RECEIVED, NO_RELAYS autolearn=ham autolearn_force=no version=3.4.2 From: Mickey Petersen To: bug-gnu-emacs@gnu.org Subject: 30.0.50; tree-sitter: `treesit-language-source-alist' is not customisable Date: Sat, 27 May 2023 13:01:40 +0100 Message-ID: <87a5xq6l0b.fsf@masteringemacs.org> Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CWLGBR01FT004:EE_|LO3P265MB2156:EE_ MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 6ec8edde-e018-4efb-ff8e-08db5eaa2668 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: JklQPogIvVAi8Phtd7NtnmspGe9nHjuKrxlP/973kPUKlmi3WJ6c0/dEMXsQW50z/CszQvOCH49bUJ47TgO98EeocUOI7tKWTfLXgPcFwTavPT9cWYDxJ45oOHaRZv3WwGhGnetc7aw+lo/WAQlOV2edhMFCAe0XBgyKlyd6Jp4NqNv7dASOz2pSeERBM5CYWmp9KmiBfs0vXu38KWuTCIl71H9xf/xvJ8/xsUJLoG2SHq0u0eXaAUu4UJfMNhDjJ+PgLxzX9yf/7cY8GtlP535nuTbUFJJWUot1KXIf+BlvrKMy9sslXooCCafwwujuxIi9Dr7jTXkhv4aKg/dDtyXby/eOSyVqgA/c+nLAiJEDbXQInbMmIeJlszd7vBT7HrYR6orQHWmg8VusrJtwWbQNAw+3/ZXkB+SghVgadx5DxoiqrDqtzHCS3IqJJ9VazQlKJPt6ZvYNMfI9wIq4bRZlaE1AEYL/SGHk+nkQXrsRJ935bDn4zwRK2/AC0AGkAioOqy1INbsWykgkbfAnBqS7iGRPD1WgxBIEIMq7mDWKXXBZvGBUreFANy3wxgF5xRNWLhpKOl6/rS03CAALZlqApn6jRmMyaqMRfdWZQ2wmRJK2D01Yyut52mEMsQGeNgvTeeT/TW4jLf2L7z0JljVZy1ml9x0J+ZKveHz/UF0xgZ/1XcGJjnCBLVH1W6uogBhj5/ETmHHk2Ps8ZpgB+v3z53WIOz9RKeBGZfSurQ/Lu4L63V1HYMxI5zNMO0cHdtuB6uvr9+wi7vQz4Qt1iiMLnD3BVBYJdhWwB7WrtAHbjaPzqPkmh6xX6I3C1wBm X-Forefront-Antispam-Report: CIP:178.79.136.144; CTRY:GB; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:semantical.co.uk; PTR:semantical.co.uk; CAT:NONE; SFS:(13230028)(136003)(346002)(396003)(376002)(39830400003)(451199021)(46966006)(36840700001)(82310400005)(40480700001)(41300700001)(8676002)(8936002)(26005)(336012)(6266002)(186003)(36756003)(558084003)(86362001)(2906002)(36860700001)(47076005)(6916009)(316002)(70206006)(5660300002)(2616005)(478600001)(42186006)(70586007)(6666004)(7636003)(7596003)(356005)(38230200001)(81973001)(79816003)(14776008); DIR:OUT; SFP:1102; X-OriginatorOrg: masteringemacs.org X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 May 2023 12:01:48.4454 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6ec8edde-e018-4efb-ff8e-08db5eaa2668 X-MS-Exchange-CrossTenant-Id: a4e27e3d-bab0-45e8-8942-e64cf9fbd34f X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=a4e27e3d-bab0-45e8-8942-e64cf9fbd34f; Ip=[178.79.136.144]; Helo=[semantical.co.uk] X-MS-Exchange-CrossTenant-AuthSource: CWLGBR01FT004.eop-gbr01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: LO3P265MB2156 Received-SPF: pass client-ip=2a01:111:f400:fe14::724; envelope-from=mickey@masteringemacs.org; helo=GBR01-CWL-obe.outbound.protection.outlook.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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Given the simple alist structure, and that its intent is to be used with the interactive function `treesit-install-language-grammar', it'd make sense to turn it into a Customize option. From debbugs-submit-bounces@debbugs.gnu.org Sat May 27 08:31:36 2023 Received: (at 63750) by debbugs.gnu.org; 27 May 2023 12:31:36 +0000 Received: from localhost ([127.0.0.1]:51524 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q2t56-0002ob-Ek for submit@debbugs.gnu.org; Sat, 27 May 2023 08:31:36 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53432) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q2t53-0002oJ-Sr for 63750@debbugs.gnu.org; Sat, 27 May 2023 08:31:34 -0400 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 1q2t4y-0007vU-9v; Sat, 27 May 2023 08:31:28 -0400 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=L/XwGg+WXcDmOvJkXuuiGTwUPrc/X1QoCoOyx6Y6vCE=; b=B+e0xOULFBU1 UsP9f6iid4CtdMZWgqLxdh0EJAWBCqO2HN87EbtcqWGbCl66EbzLqQHlsR7LVp0WLQnxwuLfK3nWf rtmcmEdUe4hZLZK1c9aQ9PlZN4TKLa7a8YRjH5vapneBMGReXUFXmNwOhEI3jjKcUwayvMV2L/hXL MDlhm9Zocpaf2IdM8UP1BHniDykrykKYh/BI9AMwd2N4ortoxhWoZ+ZdXFh54PEWjHx8W95NGDI4Z NERF1tS3xl4Ng75fuvkzkUE0p4xfFE5iV6PPTq+VoGVNPLQPTDovopWyauiqOR2ap6Gp6MHOM/pBx 4kn3DBTSjPE1RBHdggQX4A==; 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 1q2t4w-0002a9-N1; Sat, 27 May 2023 08:31:28 -0400 Date: Sat, 27 May 2023 15:32:00 +0300 Message-Id: <834jnyj6pr.fsf@gnu.org> From: Eli Zaretskii To: Mickey Petersen , Yuan Fu In-Reply-To: <87a5xq6l0b.fsf@masteringemacs.org> (message from Mickey Petersen on Sat, 27 May 2023 13:01:40 +0100) Subject: Re: bug#63750: 30.0.50; tree-sitter: `treesit-language-source-alist' is not customisable References: <87a5xq6l0b.fsf@masteringemacs.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 63750 Cc: 63750@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Mickey Petersen > Date: Sat, 27 May 2023 13:01:40 +0100 > > > Given the simple alist structure, and that its intent is to be used > with the interactive function `treesit-install-language-grammar', it'd > make sense to turn it into a Customize option. We deliberately decided not to make it a defcustom, and not to provide any non-trivial default value, so as to avoid the impression that we as a project want to be responsible for the language grammars, their correctness, up-to-date sites, and their licenses. It should be entirely up to the user and/or the Emacs distros. However, I think we decided to make it so that each installation should update the value of the variable with the data of the grammar just installed. I see that we don't actually do that -- Yuan, am I misremembering this? If not, would you please add code to add to the variable's value the data of every grammar that is installed? From debbugs-submit-bounces@debbugs.gnu.org Sat May 27 19:12:40 2023 Received: (at 63750) by debbugs.gnu.org; 27 May 2023 23:12:40 +0000 Received: from localhost ([127.0.0.1]:52691 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q335T-0004oh-TO for submit@debbugs.gnu.org; Sat, 27 May 2023 19:12:40 -0400 Received: from mail-pf1-f170.google.com ([209.85.210.170]:55725) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q335Q-0004oP-8n for 63750@debbugs.gnu.org; Sat, 27 May 2023 19:12:38 -0400 Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-64d18d772bdso2565039b3a.3 for <63750@debbugs.gnu.org>; Sat, 27 May 2023 16:12:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685229150; x=1687821150; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=7zZexAFgT24NijQhGp1X777n5mJEl/rYBMkjD0xgSGE=; b=skXs7EfObYJrhXGN0s2xug4Njonr7o8f6dot9CCqTslCdqps3+8+NRyxMmGsDhwbcR 6D4UczJoS36YdOAqsjJGFC3fTZOtb6MBRrntosS7vQ0tDyMh51VllY5pI8fIczkY1Psn 4xK87mK0UOzo1/B4sl+g+BgkDJK4F459Y75l1jzLLvswUv6Gv9bp1J7rBlLt+RSODfES ANejc+wXy7Zrlh/ioYxTdreG2ee6++5ZabakXWG+d4mJx3ZtOyWAfYRnctPDO56/HjgC fzrgnnO0GLx9xYGZ+0rd+0UxziOLPhYhgvJOSH0BBhdqQUSDTtyY4HqgJzc98xwTbQ40 XjmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685229150; x=1687821150; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7zZexAFgT24NijQhGp1X777n5mJEl/rYBMkjD0xgSGE=; b=a0CiTH+wFwu70yeX4VB1gyBEytEbLdUpcpfTgLz6aCCN5VgdcQVqPdoCEDIcfBokFq 3Oknbvcn/B/uxh0nM33TLl/ajMd5KiEXNuN3sLeEntIp6R96F5O9MBjc+i7CCb8Dz059 dpItjnleGKmxmdZqZm7ETsB0IBwA+OMxQjp1zRs4jumdbRYdT5CI+OdQvKxfThu2i3MK rRVLlqU/S8kf5RzuCejYG334NjCaRLE/duRXhQwN10SlY4R705MftWvtbbfbcVmttChl Sht5nggX4x24vGQVqIKxJU7OR+gqPRtdGWptldG37dTh0ChpC7TzwVdnWoo2Utu+fkWb GrIQ== X-Gm-Message-State: AC+VfDwGEqQY5OKxjuE1UGUs+PoHPokYI28nlNTmK89cuEqeNj9Njg6l p6PWqjCygJ93n4uhm2I7G+8= X-Google-Smtp-Source: ACHHUZ7la95KszSDPssTB8mOFVTDm4ZTV9JI91l/lZCjFywwgPqudef5Si8USwQ253LQS52czQgJRQ== X-Received: by 2002:a05:6a00:179c:b0:64d:277c:77c3 with SMTP id s28-20020a056a00179c00b0064d277c77c3mr9816668pfg.23.1685229150085; Sat, 27 May 2023 16:12:30 -0700 (PDT) Received: from smtpclient.apple (cpe-172-117-161-177.socal.res.rr.com. [172.117.161.177]) by smtp.gmail.com with ESMTPSA id r14-20020a62e40e000000b0064cb6206463sm4454579pfh.85.2023.05.27.16.12.29 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 27 May 2023 16:12:29 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.500.231\)) Subject: Re: bug#63750: 30.0.50; tree-sitter: `treesit-language-source-alist' is not customisable From: Yuan Fu In-Reply-To: <834jnyj6pr.fsf@gnu.org> Date: Sat, 27 May 2023 16:12:18 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <5096A04F-426D-4991-B4EA-893C9A98EBA8@gmail.com> References: <87a5xq6l0b.fsf@masteringemacs.org> <834jnyj6pr.fsf@gnu.org> To: Eli Zaretskii X-Mailer: Apple Mail (2.3731.500.231) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 63750 Cc: 63750@debbugs.gnu.org, Mickey Petersen X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > On May 27, 2023, at 5:32 AM, Eli Zaretskii wrote: >=20 >> From: Mickey Petersen >> Date: Sat, 27 May 2023 13:01:40 +0100 >>=20 >>=20 >> Given the simple alist structure, and that its intent is to be used >> with the interactive function `treesit-install-language-grammar', = it'd >> make sense to turn it into a Customize option. >=20 > We deliberately decided not to make it a defcustom, and not to provide > any non-trivial default value, so as to avoid the impression that we > as a project want to be responsible for the language grammars, their > correctness, up-to-date sites, and their licenses. It should be > entirely up to the user and/or the Emacs distros. >=20 > However, I think we decided to make it so that each installation > should update the value of the variable with the data of the grammar > just installed. I see that we don't actually do that -- Yuan, am I > misremembering this? If not, would you please add code to add to the > variable's value the data of every grammar that is installed? Sure. Does it need to be preserved across sessions (ie, use custom)? Or = just add for the current session? Yuan= From debbugs-submit-bounces@debbugs.gnu.org Sun May 28 01:32:32 2023 Received: (at 63750) by debbugs.gnu.org; 28 May 2023 05:32:32 +0000 Received: from localhost ([127.0.0.1]:52999 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3915-0000ei-Rb for submit@debbugs.gnu.org; Sun, 28 May 2023 01:32:32 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55298) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3913-0000eU-VJ for 63750@debbugs.gnu.org; Sun, 28 May 2023 01:32:30 -0400 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 1q390x-0006EP-TW; Sun, 28 May 2023 01:32:23 -0400 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=x6h6Cik0p10kdRh9k/X/BXUN91iTUFnnK3bT8uoobOE=; b=qZUqbDNevnWU kmgipGp0Sh5znu6A6/ctltJZJs1URU5JaFGRmOYNqtsGHPtGGS/jZAsQ53CRWjqHawzPWKkkUxjJ+ fW48N/N7LjHMG8UnBpZ7Rus3tutA7ZHnan+UTosUvbhdmFWX+YmymeucjW/8Q5Hvg9A5eKOAqTWnh fNDAbsFx6/k4njcpdp/mW+WUy7HZAnjxn1XfjTg/bB267/Dms1qAKG4ZskeD2FCUL/IroiQz3pht3 2EilWI2erNSeovYvZfPJtz07pfHJJDhF8pXl0lOawxQJbdWHJuprZ3cuopWQzwZQSmBAbrFZbYe6v TTOhLskl5fTFRyRnIZoj4w==; 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 1q390w-0003je-PI; Sun, 28 May 2023 01:32:23 -0400 Date: Sun, 28 May 2023 08:32:59 +0300 Message-Id: <83o7m5hvg4.fsf@gnu.org> From: Eli Zaretskii To: Yuan Fu In-Reply-To: <5096A04F-426D-4991-B4EA-893C9A98EBA8@gmail.com> (message from Yuan Fu on Sat, 27 May 2023 16:12:18 -0700) Subject: Re: bug#63750: 30.0.50; tree-sitter: `treesit-language-source-alist' is not customisable References: <87a5xq6l0b.fsf@masteringemacs.org> <834jnyj6pr.fsf@gnu.org> <5096A04F-426D-4991-B4EA-893C9A98EBA8@gmail.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 63750 Cc: 63750@debbugs.gnu.org, mickey@masteringemacs.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Yuan Fu > Date: Sat, 27 May 2023 16:12:18 -0700 > Cc: Mickey Petersen , > 63750@debbugs.gnu.org > > > However, I think we decided to make it so that each installation > > should update the value of the variable with the data of the grammar > > just installed. I see that we don't actually do that -- Yuan, am I > > misremembering this? If not, would you please add code to add to the > > variable's value the data of every grammar that is installed? > > Sure. Does it need to be preserved across sessions (ie, use custom)? Or just add for the current session? Only for the current session. Users who want it preserved should do it themselves (I will add that to the doc string when the code which updates the variable is installed). Thanks. From debbugs-submit-bounces@debbugs.gnu.org Sun May 28 18:51:25 2023 Received: (at 63750) by debbugs.gnu.org; 28 May 2023 22:51:26 +0000 Received: from localhost ([127.0.0.1]:55160 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3PET-0005Qd-Ip for submit@debbugs.gnu.org; Sun, 28 May 2023 18:51:25 -0400 Received: from mail-pf1-f180.google.com ([209.85.210.180]:50425) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3PER-0005QN-Kx for 63750@debbugs.gnu.org; Sun, 28 May 2023 18:51:24 -0400 Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-64d2f99c8c3so2008667b3a.0 for <63750@debbugs.gnu.org>; Sun, 28 May 2023 15:51:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685314278; x=1687906278; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=sYax1aHLlzDNeuECev9AXXIa4FyhIh0R1kGeorDpYPc=; b=RyC8PkIB4J8FOidOz8ichalxvBJP8LNa1LCmofBnnwdRxb461TddHWndM3CGRdrU6c nH3bfdW9luF+RbASjnGCtmDC4l4Bgbb8GETWQVG2pfZvUW4/QeKpBsuAyvpNbOjna2/+ BYpot5tLw17yXQSIsA25onIMN73u1Zz7+bG8PaU92NJR+k5G9gLb2Sw1XY/Q372DkD23 fCTGrx+Hf4fNWmW7cgrDMfqYoE6lJG8XiCBU9XzWs+Qe8L53YYBpaI7VWzpyIOgrFLLu urwDOvoGyHqX90LzfSWSvDTc5t0Ekhu7/Bz64aksGmL26uia+VWwNu/ipiIPK9QmfazT Xp4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685314278; x=1687906278; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sYax1aHLlzDNeuECev9AXXIa4FyhIh0R1kGeorDpYPc=; b=FEGUiH/fuQT0nzXah6qYHG5oTUo9mlqz2zH1pUe6Wxz9h1D4orWqJ5gb7vpr9DQPMz yWMduSdNd11YvQ4CCMX/uOUMyeMoNI/sHj77OFx/CbtrfyoG1Y/740NCh1rOdGnDim6V IjKos7sV342VnMOXFYkbbliCqo15nuMYivT+wY4dma31K+X449PKAbL3AIL14EP8TpPg VWGIQmlTEb3gNzQCj3edzSh6FsycJ+IB4lbqR8RK9DeINz1fl6m9seSHiXHx+YuNUgdn ceqYsCn+NZtE5SiFtNLebPgutpS0E4nMVaA38b8eoM1SVO3oBPIOn7jpfCa8XOw4DL0g nEug== X-Gm-Message-State: AC+VfDy9ERqKv6Cav0Pjqw4MNSkTwalE9sabxwW6+jh9BiBPXIcPKYrA 6A2z3QqxkdC9FPLK7J87cKY= X-Google-Smtp-Source: ACHHUZ6NbVfv3IqrzqaU7tKVlgPAIRPQti8z577EfNW0e6KLGpNR4txSTZtxPE0gyoMl8Oh7aAhvFg== X-Received: by 2002:aa7:8896:0:b0:643:59cd:6caa with SMTP id z22-20020aa78896000000b0064359cd6caamr13167882pfe.7.1685314277632; Sun, 28 May 2023 15:51:17 -0700 (PDT) Received: from smtpclient.apple (cpe-172-117-161-177.socal.res.rr.com. [172.117.161.177]) by smtp.gmail.com with ESMTPSA id a25-20020a62e219000000b0064d59e194b3sm5602254pfi.113.2023.05.28.15.51.16 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 May 2023 15:51:17 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.500.231\)) Subject: Re: bug#63750: 30.0.50; tree-sitter: `treesit-language-source-alist' is not customisable From: Yuan Fu In-Reply-To: <83o7m5hvg4.fsf@gnu.org> Date: Sun, 28 May 2023 15:51:05 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <5FCCA86D-79BE-4DF8-9FB6-6FF79E2C3043@gmail.com> References: <87a5xq6l0b.fsf@masteringemacs.org> <834jnyj6pr.fsf@gnu.org> <5096A04F-426D-4991-B4EA-893C9A98EBA8@gmail.com> <83o7m5hvg4.fsf@gnu.org> To: Eli Zaretskii X-Mailer: Apple Mail (2.3731.500.231) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 63750 Cc: 63750@debbugs.gnu.org, mickey@masteringemacs.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > On May 27, 2023, at 10:32 PM, Eli Zaretskii wrote: >=20 >> From: Yuan Fu >> Date: Sat, 27 May 2023 16:12:18 -0700 >> Cc: Mickey Petersen , >> 63750@debbugs.gnu.org >>=20 >>> However, I think we decided to make it so that each installation >>> should update the value of the variable with the data of the grammar >>> just installed. I see that we don't actually do that -- Yuan, am I >>> misremembering this? If not, would you please add code to add to = the >>> variable's value the data of every grammar that is installed? >>=20 >> Sure. Does it need to be preserved across sessions (ie, use custom)? = Or just add for the current session? >=20 > Only for the current session. Users who want it preserved should do > it themselves (I will add that to the doc string when the code which > updates the variable is installed). Done. Yuan= From debbugs-submit-bounces@debbugs.gnu.org Mon May 29 10:39:56 2023 Received: (at 63750) by debbugs.gnu.org; 29 May 2023 14:39:56 +0000 Received: from localhost ([127.0.0.1]:58704 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3e2O-000173-8R for submit@debbugs.gnu.org; Mon, 29 May 2023 10:39:56 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46286) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3e2M-00016n-0e for 63750@debbugs.gnu.org; Mon, 29 May 2023 10:39:55 -0400 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 1q3e2G-0000nS-37; Mon, 29 May 2023 10:39:48 -0400 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=/83fDOkmcbQxh0DCw4AG576ryToXTGhA7wMk2p66jOQ=; b=MJpcnKBqjmkp 7Jf+0YXiQJNY7q3D9el6SZDtbaOaaHZ9mw8a7HcDByVhAsiga90TV3FGTfM7rHay6OOw/QCH0dI7I gnu8DNbsPUisLiyezQePSRuB33fndhkzop35+GuaKX7I/o+K64pa6UoYFgq5no7PWNSqkmhp05C3a JOv855tkn3H0g+uwSuPm9UiruxbjJvy1oXiAWP3E2xuTf0bEv52tsed2Fz8+qgKFpeSC529hDNN0J X7IATDvahQW192fu/XNVfUs5N1JFB/zSRunkD6dxAMREAQC9iX9bPKpjNNXPgnWkZB6Wt8fc+YV1z sHKYA/Krkhubp5seNrasHA==; 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 1q3e2F-0003PD-9q; Mon, 29 May 2023 10:39:47 -0400 Date: Mon, 29 May 2023 17:40:26 +0300 Message-Id: <83cz2jgq05.fsf@gnu.org> From: Eli Zaretskii To: Yuan Fu In-Reply-To: <5FCCA86D-79BE-4DF8-9FB6-6FF79E2C3043@gmail.com> (message from Yuan Fu on Sun, 28 May 2023 15:51:05 -0700) Subject: Re: bug#63750: 30.0.50; tree-sitter: `treesit-language-source-alist' is not customisable References: <87a5xq6l0b.fsf@masteringemacs.org> <834jnyj6pr.fsf@gnu.org> <5096A04F-426D-4991-B4EA-893C9A98EBA8@gmail.com> <83o7m5hvg4.fsf@gnu.org> <5FCCA86D-79BE-4DF8-9FB6-6FF79E2C3043@gmail.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 63750 Cc: 63750@debbugs.gnu.org, mickey@masteringemacs.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Yuan Fu > Date: Sun, 28 May 2023 15:51:05 -0700 > Cc: mickey@masteringemacs.org, > 63750@debbugs.gnu.org > > > > > On May 27, 2023, at 10:32 PM, Eli Zaretskii wrote: > > > >> From: Yuan Fu > >> Date: Sat, 27 May 2023 16:12:18 -0700 > >> Cc: Mickey Petersen , > >> 63750@debbugs.gnu.org > >> > >>> However, I think we decided to make it so that each installation > >>> should update the value of the variable with the data of the grammar > >>> just installed. I see that we don't actually do that -- Yuan, am I > >>> misremembering this? If not, would you please add code to add to the > >>> variable's value the data of every grammar that is installed? > >> > >> Sure. Does it need to be preserved across sessions (ie, use custom)? Or just add for the current session? > > > > Only for the current session. Users who want it preserved should do > > it themselves (I will add that to the doc string when the code which > > updates the variable is installed). > > Done. Thanks. And I see that you have updated the doc string accordingly. From debbugs-submit-bounces@debbugs.gnu.org Mon May 29 16:37:27 2023 Received: (at 63750) by debbugs.gnu.org; 29 May 2023 20:37:27 +0000 Received: from localhost ([127.0.0.1]:59225 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3jcM-0007fi-Lc for submit@debbugs.gnu.org; Mon, 29 May 2023 16:37:26 -0400 Received: from mail-pf1-f173.google.com ([209.85.210.173]:45465) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3jcK-0007fV-VK for 63750@debbugs.gnu.org; Mon, 29 May 2023 16:37:25 -0400 Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-64d2b42a8f9so2902682b3a.3 for <63750@debbugs.gnu.org>; Mon, 29 May 2023 13:37:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685392639; x=1687984639; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=rex0THecvWVCqJCxfvMx+xIdpgeU/mHgXUjGjNoIcXo=; b=nAutZHw4sAVX+CDh5WBP3aptaLj4Ba3+///VO+kXCSBtB294sBVXp0JgJvYM+kHBQQ fX+y+X8e0VUo+Ke6Q/6180n39Pz1barNKzmUuZxz+k61ltaBKb6p6Wi3k6Jvkoaditjw T3+RDiLH3V9ilxjgODIMeeYBZ6os67emUaD//mXP/LhnwF52+4Yj5eVpFh1afVroRrjD rjnccda/1Th+Y3z0R56EBaQ+0tp8neF0nZJyHdSs93AuOXgHiKcLIs0hAHgI3F6ZO05L i1iKbKY6ZbgOUzmfcn61SHO4aw71rVU19t5gWTs36dPh96U7aRZ2bv0atSBjUGcsMz9S VPqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685392639; x=1687984639; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rex0THecvWVCqJCxfvMx+xIdpgeU/mHgXUjGjNoIcXo=; b=WvbSA4xC56X/+9NGtiQ5O9UjvlpV8epRJ1ocQoGvEDE9kdsE3c5j7NJTA7kColfgVN sDlRgLkpmSG0uNFxbF6UIFGjtpE9fkY48Dt4Z1NveSqShWY1ESxe+d8xcOUHJmDKQvK2 3FLB/QoGHIubS+DfJK+YB3sMG8Z7h430Sa/NwoUYGXc4RlnGw0Ejyf1pB9hAXKa8P9Y8 vR5ONBj3Amabg3saC3g0gGdDOkn1GBWLoMslg35EYW3QTXPWdqyQls2ayveH/fA0wZFl 1aqZeI6yVpvca0hnJjnUm1jUMwX/rmY45Nci4vmabPr6ro5Y+qeCGlWKZ28PIT2MqkaR s6Qw== X-Gm-Message-State: AC+VfDwZJYLLqq1OdZJgZnj6jrpXkiF7eDf7JiN0anX9T7E6dm/K8/e6 s8P3SA1DO+O1ZyAWhrG00zA= X-Google-Smtp-Source: ACHHUZ7+HKabgcQyIc22ULvV29flWAmv/LDJ7uNrC+LWsJdMSrKmyxnDurVZEd5O4f+Bh36UauJHOw== X-Received: by 2002:a05:6a20:9382:b0:111:97f:6db1 with SMTP id x2-20020a056a20938200b00111097f6db1mr150299pzh.19.1685392638688; Mon, 29 May 2023 13:37:18 -0700 (PDT) Received: from smtpclient.apple (cpe-172-117-161-177.socal.res.rr.com. [172.117.161.177]) by smtp.gmail.com with ESMTPSA id t62-20020a632d41000000b0053fb37fb626sm68953pgt.43.2023.05.29.13.37.17 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 May 2023 13:37:18 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.500.231\)) Subject: Re: bug#63750: 30.0.50; tree-sitter: `treesit-language-source-alist' is not customisable From: Yuan Fu In-Reply-To: <83cz2jgq05.fsf@gnu.org> Date: Mon, 29 May 2023 13:37:06 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <87a5xq6l0b.fsf@masteringemacs.org> <834jnyj6pr.fsf@gnu.org> <5096A04F-426D-4991-B4EA-893C9A98EBA8@gmail.com> <83o7m5hvg4.fsf@gnu.org> <5FCCA86D-79BE-4DF8-9FB6-6FF79E2C3043@gmail.com> <83cz2jgq05.fsf@gnu.org> To: Eli Zaretskii X-Mailer: Apple Mail (2.3731.500.231) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 63750 Cc: 63750@debbugs.gnu.org, Mickey Petersen X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > On May 29, 2023, at 7:40 AM, Eli Zaretskii wrote: >=20 >> From: Yuan Fu >> Date: Sun, 28 May 2023 15:51:05 -0700 >> Cc: mickey@masteringemacs.org, >> 63750@debbugs.gnu.org >>=20 >>=20 >>=20 >>> On May 27, 2023, at 10:32 PM, Eli Zaretskii wrote: >>>=20 >>>> From: Yuan Fu >>>> Date: Sat, 27 May 2023 16:12:18 -0700 >>>> Cc: Mickey Petersen , >>>> 63750@debbugs.gnu.org >>>>=20 >>>>> However, I think we decided to make it so that each installation >>>>> should update the value of the variable with the data of the = grammar >>>>> just installed. I see that we don't actually do that -- Yuan, am = I >>>>> misremembering this? If not, would you please add code to add to = the >>>>> variable's value the data of every grammar that is installed? >>>>=20 >>>> Sure. Does it need to be preserved across sessions (ie, use = custom)? Or just add for the current session? >>>=20 >>> Only for the current session. Users who want it preserved should do >>> it themselves (I will add that to the doc string when the code which >>> updates the variable is installed). >>=20 >> Done. >=20 > Thanks. And I see that you have updated the doc string accordingly. Glad my docstring worked out this time ;-) Yuan From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 02 06:47:43 2025 Received: (at 63750) by debbugs.gnu.org; 2 Apr 2025 10:47:43 +0000 Received: from localhost ([127.0.0.1]:55290 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tzvdG-0006iq-KX for submit@debbugs.gnu.org; Wed, 02 Apr 2025 06:47:43 -0400 Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]:59687) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tzvdE-0006hs-7S for 63750@debbugs.gnu.org; Wed, 02 Apr 2025 06:47:41 -0400 Received: by mail-pl1-x62b.google.com with SMTP id d9443c01a7336-22548a28d0cso7491415ad.3 for <63750@debbugs.gnu.org>; Wed, 02 Apr 2025 03:47:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1743590854; x=1744195654; darn=debbugs.gnu.org; h=content-transfer-encoding:subject:from:cc:to:content-language :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=CbMj+g2w7EwZgEBxky8/oJlhergzlHdJNiMvsaEthOg=; b=fFzgw2Pf3S5nTyp2afiQepusG7n+DyH+tnI+p1sycdD0tmaBkLnt8VyZ+LfYjWIrbM VDKiNrMkqMpwXzW2di0xrDbCJj9WTP3qenjOALZdB4ePt4tWcuxJw7pm9ISMxb32WNr0 pzY1/grXbyAPvRwORQKny6K8zaDNGI5DY99oWcghhOR7y2ZR7eBUhjnpq5EinztvxWdY sWEdV6v7AxDNr7uJMWgnuGfs+1/XoyQSLSdBdZtIA1pwsrv+JiAyqe7VAphVelh7r2jC VOSZn/F0Z8DtQaACiP8KHXBXMPb6FQaklmyZO3kvln2MEvG1WbK4/D/ibNGvnDMZ9x31 Qk6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743590854; x=1744195654; h=content-transfer-encoding:subject:from:cc:to:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=CbMj+g2w7EwZgEBxky8/oJlhergzlHdJNiMvsaEthOg=; b=HK1Z6VcCy4AyTHFqhBybpT6yhlFu3nEv0eL5rXvr1z+K3r8H5UBropiynz3dDiV5s+ w1GiTTF9tYhL4sQu5daAOp8B457SbY/cYyO8W7URN79bNvisXmU4PJGIH6ddBdCTJEps 1TFq2GfhZu8owWuGyff1cRqL++2Md2QA+xuyRLdXsvqXbCIvYWu95QPPbJpV541X67cM NA9pmFnB4ZwYqzrGwVADFq3WM1s2rpfUoO/tF2EpTjqr34pPGNuAQe4EpV+CtOTxLgl5 t0O7t16Ibd5YyiRBhzMfltjh+YeZqpY5v4ZVfyVORKqZeaEdUZY4x5QZ0+cCASigCHrd nbqA== X-Forwarded-Encrypted: i=1; AJvYcCWCR57yK/Ai21v/LzXPRJ9OjYZmcODGvrL/krMQebcl82Yaxb1bRkpDNr6sut0p6JPlDu0XlA==@debbugs.gnu.org X-Gm-Message-State: AOJu0YxmMuxbkAgnlHfgDCw3vEVJTErt54ZcwdAjFv6CfNpsI6V3FhG/ z03Iskcd/5Icn2M/djHamuc/a80xYySDLRYxM9iBpZeisA8h68sd X-Gm-Gg: ASbGncuqO+RjttZSh3D5199nLpDM6nt2CApAM3bYwGBXOn1l+jVKh0fPYQqE558OiVA ad4YzWuAd+EstX3EnYlfYMFQpNk1PsUUuLKerKDWl8TmbP3tWLFGM3DctmktaCYvbVgTBOx/JDN jSXRkkClgCJJDG0QgktrU5CxsdMGPB3RlJF90jC0mEWSbXwWhIaYWXThkyHiPJQj81CKXBUokbN FhVu40LbKk5VjThbpaK1wUShxC3CDpaOt54Pt1fw7F9LHH/VoUwCGDTH8jOIf2MsMvpYwTQk+K6 xl1+mYUd9YXEruRsN66m8YmxDndwQJXO6DUfJt8CGyK1fryJrCU= X-Google-Smtp-Source: AGHT+IEicTJx/WT4IwA6TNPKJcdW7fWjZh/erYVmSjPND/iDszgElpfOI4B/XnsUBVbeY/tr8G6Brw== X-Received: by 2002:a05:6a00:991:b0:736:73ad:365b with SMTP id d2e1a72fcca58-739803e62fcmr22591893b3a.14.1743590853943; Wed, 02 Apr 2025 03:47:33 -0700 (PDT) Received: from [192.168.0.234] ([181.228.33.6]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7397109200csm10539229b3a.128.2025.04.02.03.47.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 02 Apr 2025 03:47:33 -0700 (PDT) Message-ID: <6c1df416-f328-4969-ab3c-94b4d010ffe3@gmail.com> Date: Wed, 2 Apr 2025 07:47:30 -0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: Eli Zaretskii , 63750@debbugs.gnu.org From: Mauro Aranda Subject: Re: bug#63750: 30.0.50; tree-sitter: `treesit-language-source-alist' is not customisable Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 63750 Cc: Yuan Fu X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Yuan Fu writes: >> On May 29, 2023, at 7:40 AM, Eli Zaretskii wrote: >> >>> From: Yuan Fu >>> Date: Sun, 28 May 2023 15:51:05 -0700 >>> Cc: mickey@masteringemacs.org, >>> 63750@debbugs.gnu.org >>> >>> >>> >>>> On May 27, 2023, at 10:32 PM, Eli Zaretskii wrote: >>>> >>>>> From: Yuan Fu >>>>> Date: Sat, 27 May 2023 16:12:18 -0700 >>>>> Cc: Mickey Petersen , >>>>> 63750@debbugs.gnu.org >>>>> >>>>>> However, I think we decided to make it so that each installation >>>>>> should update the value of the variable with the data of the grammar >>>>>> just installed.  I see that we don't actually do that -- Yuan, am I >>>>>> misremembering this?  If not, would you please add code to add to the >>>>>> variable's value the data of every grammar that is installed? >>>>> >>>>> Sure. Does it need to be preserved across sessions (ie, use custom)? Or just add for the current session? >>>> >>>> Only for the current session.  Users who want it preserved should do >>>> it themselves (I will add that to the doc string when the code which >>>> updates the variable is installed). >>> >>> Done. >> >> Thanks.  And I see that you have updated the doc string accordingly. > > Glad my docstring worked out this time ;-) > > Yuan Should we close this bug report? From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 02 14:21:20 2025 Received: (at 63750) by debbugs.gnu.org; 2 Apr 2025 18:21:20 +0000 Received: from localhost ([127.0.0.1]:59346 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u02iG-00046H-Cd for submit@debbugs.gnu.org; Wed, 02 Apr 2025 14:21:20 -0400 Received: from relay6-d.mail.gandi.net ([2001:4b98:dc4:8::226]:43687) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u02iA-00045z-0J for 63750@debbugs.gnu.org; Wed, 02 Apr 2025 14:21:18 -0400 Received: by mail.gandi.net (Postfix) with ESMTPSA id 8EDE9442B8; Wed, 2 Apr 2025 18:21:05 +0000 (UTC) From: Juri Linkov To: Mauro Aranda Subject: Re: bug#63750: 30.0.50; tree-sitter: `treesit-language-source-alist' is not customisable In-Reply-To: <6c1df416-f328-4969-ab3c-94b4d010ffe3@gmail.com> Organization: LINKOV.NET References: <87a5xq6l0b.fsf@masteringemacs.org> <6c1df416-f328-4969-ab3c-94b4d010ffe3@gmail.com> Date: Wed, 02 Apr 2025 21:19:25 +0300 Message-ID: <87y0wiifyq.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-GND-State: clean X-GND-Score: -100 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddukeeifeeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufgjohhffffkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucggtffrrghtthgvrhhnpeelueegkeffheffgfelteehgeetjefhveegjedugeeuheeikedtgfeghefgjedtfeenucffohhmrghinhepghhnuhdrohhrghdpghhithhhuhgsrdgtohhmnecukfhppeeluddruddvledruddthedruddujeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeeluddruddvledruddthedruddujedphhgvlhhopehmrghilhdrghgrnhguihdrnhgvthdpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnsggprhgtphhtthhopeegpdhrtghpthhtoheptggrshhouhhrihesghhmrghilhdrtghomhdprhgtphhtthhopeeifeejhedtseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepvghlihiisehgnhhurdhorhhgpdhrtghpthhtohepmhgruhhrohhorghrrghnuggrsehgmhgrihhlrdgtohhm X-GND-Sasl: juri@linkov.net X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 63750 Cc: Eli Zaretskii , 63750@debbugs.gnu.org, Yuan Fu X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > Should we close this bug report? https://lists.gnu.org/archive/html/emacs-devel/2025-03/msg01516.html recently proposed to add the language-source information inside every ts-mode. So instead of a plain comment like ;; c-ts-mode is known to work with the following languages and version: ;; - tree-sitter-c: v0.23.4-1-g3aa2995 ;; ;; c++-ts-mode is known to work with the following languages and version: ;; - tree-sitter-cpp: v0.23.4-1-gf41b4f6 we could prove the same for more easier installation by users in an internal variable: (defvar c-ts-mode--language-source-alist '((c "https://github.com/tree-sitter/tree-sitter-c"; "v0.23.4-1-g3aa2995") (cpp "https://github.com/tree-sitter/tree-sitter-cpp"; "v0.23.4-1-gf41b4f6")) "Tree-sitter language parsers required by `c-ts-mode' and `c++-ts-mode'.")