From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 12 22:07:14 2023 Received: (at submit) by debbugs.gnu.org; 13 Mar 2023 02:07:14 +0000 Received: from localhost ([127.0.0.1]:33295 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbXaj-0001Vj-SD for submit@debbugs.gnu.org; Sun, 12 Mar 2023 22:07:14 -0400 Received: from lists.gnu.org ([209.51.188.17]:40382) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbXai-0001Vc-2x for submit@debbugs.gnu.org; Sun, 12 Mar 2023 22:07:12 -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 1pbXah-0006K1-RB for bug-gnu-emacs@gnu.org; Sun, 12 Mar 2023 22:07:11 -0400 Received: from sonic307-10.consmr.mail.ne1.yahoo.com ([66.163.190.33]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pbXaf-0001Xe-Ou for bug-gnu-emacs@gnu.org; Sun, 12 Mar 2023 22:07:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1678673226; bh=/jp0LbLxSjxCUTYZa7PElJ3zUCspFg9wnYDku5dRGhw=; h=From:To:Subject:Date:References:From:Subject:Reply-To; b=ozXBHmfX2XYYhUyMcF5G0jIN/NLdcMCXD3NxBrGGDXS5KEuHComVHLJJuhgxZMO3/43ghpaBZ9mLE69TuZOctEvmagIIVrCjnnuTUNYcLpDso+9CArBgrpzEaqSieDKEhJuyfdg3udkRSAAFQ4YVc8XJ4IWz4tFEEv5Yw2qAJ7Hf2YpnEs3zaE5wXDxg2yjfDbp53L2a/SXvxbYPgbZk3j9iVM4DbJETAX6+b/cxnHZkQ61cvdwAm4v8gmL154N4QdQjJpUQmt7YJ6ErLoLDnPYIREcme+rbQcLknJgbHIQzkoMcae+Aj0mFP58GEJs7B06Csy01K/CU/kvNjgpEzQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1678673226; bh=UsiSfNiaDy8T3nUf3D30nge8q1mkUVxFt8NpHPXvrmV=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=cNZ8g+nk07wCnSdnclVB/TIOrWAIWl/dXMExIjgvDKwNVi5xfak0KRbuwzogVyiq0+95lNbSk+SW/Y7K25+y2DQtI8ClaRGXVDo1eIh+PCe90L4zJ0w5ruZfdU+G8NwSUONuWUmLkGYGaXpihnr0gm7o3v8c1RG/sTfUeZciQ37GNikmTlUSMU+9wvqEaXug/4HklscmXc9vDgB6wb5wFg+IKLAEg2n1uGAxYtNbL9oXD+RJGg80wcJx+SJR9tN+a22USyJ/NKH00OZs0Yg+AmMJjYj/dHe0yzpmR7Ifik2kKQ8x8rKl6XWllQNnSntCRbYps66VSZRO8o+qbpc5oA== X-YMail-OSG: 79DKigYVM1l8KV_5RvFc._4R8d1sRnUy9rs9G6hvfkmEquNRfBjxj_.7oeX8jVR JHjDFNKa5NDdie8oL6QHHlmQRMeoVIvljmavJxEt4u0LI5YFNneSNye02gqL2ghNke0zFIViT.Zw q1LgbJdR.lE7.JIqsBnaYvjNR8u3wkpvWze7RfDv83VB3uTmdFXZEBdwhyYFg.6T40JuSt02DPX2 zggyEPv2QnMVJjWldI30_krhg08Xd1kaqcxehymq7vVMBYw27hv7hWgAvEQDmwlo5vKZ7FC8I_YO CwzxQPVbNDwbakQMqzD3AiDSMBUy_xdlGNFovnkbpM61lW5QGrxW9PX_bCAXukOxICizLEeOhz.n D069ImhqQtJMKffabs1sCO8gStT6u5Pr0BXbllPa3__s8oQr3i3iuwD34U1DxoD_o3n6f9L4qNJM eMzI9fAwczpJQu5xN7GLIq9vUBaG3QKIg0oGRlK6uC.qNqi2iWHGT0n90yq3wbAS9ILci5fhyxle HqIo2cYrodlGc4GmWetyZp0jH3dAwqaXID5XRN58QpY2xEFtyFZm7gfzLlV_WEDPjnBTy2xzKdq8 VACHXHdrl.t6_H1o1y_xF6Kq3Sv7V6pgG1.kijYvqixZW0nl7Z5DCopLgK2HsdSnEA3jcWQ4UZKi PYd1dSQqtFczf873yFOY_FxrXDIZ6yO1h11MbxqtS_Cgj_0.yNwZEgH0Lun8PWScERJUdPrGoO13 Src8_h4o9_sZhuHV.C7U5vTRQNNNXAlO6Djwlx3j.4l6aLZDOVLhFJQ5O0b7BY5VQTwNrNlMP4eQ J4dKUMe0qTKyhZ7di.aeHnvQKFfxpSwTLzEJUZ6SPBW8R82g_MrlYTWlvOQK0.ZppqUEKUjdTJCN lbV4CpdPYXnDzyxO87x1.wkcjKxhqATqMgzzqazSX89qvKnqzP_bUPR142N9kYy392OFP1rID9a. dlkRB6aq_sp9DaY4VmrCPzIXf79kF.t_dPIrk9SGrMyANqZD6h982ZGcIzDySI4B9X6AXa6if67s TWvJ89zgHPy0fwQIaT.VT9vXVKuH4ywPePeIKux2KxdbJFM_KTPfLk1KUkeeJVBWhiQYUdD2Fe9M p9DtUd8uMc9fyi2L6Kq4UocX_rta9ifozExidyvqtJAlYXV1nWKwTuiQ77JJemUAtvWsRS185au2 6PcooUpWH4zGiIEX_waqZhIaocV25xTOLhOTVCU0DHB7SSLWIeXrdTDRI0_qzkfzuESxl2LEqj3q s9Vos3tGmwU0sLZAWgzkHrj8nvzIZrQbDSszv4kGoRxMyg4llvCRykImqsHQB1U4aPpCCZ.X03a0 Ut.y7ha41vLldLhNPTTXjvGyAuw6CD2GCOD4.CyO78fO0u_F5PPcLDe9xdeIR8QZPiiUURoFnK_0 ew0wlwUfCRad902C_WKk53Sg7WovAYoB2ERYf_6pk1sKcu.eUBe.Llsnnx40Wzh12HapbVsCHf8j ltCrtptqSQia_oMC.aAivv6_BcYxJ3uUjMU7RDvHwrWy5aHy.G_CX3yUN7jXKXaQmt7q769ctSpb vBjViwC3fDus5NludoseyiUlHsuzBADfXjUYy668gtz1l3o43mnNZEBWV07wWnUCYtZ1qIA1FHsT 7Y8Tjlm0HJLbZ3APGiHaa8w3Nr5qy_.pYF599preyU36_B7aAjnBDG5rAtc3v_EttvG8Ydwz1SOL ZlMK6DzA7GQrZZRpmveVchOh6qlEng3CaaQQsQkuCL5onGyMaib57aoup_ncdJ3vvSw10qRX8ImV hxwZmFiQ6XJ4yG.lh9j0chVvaZX9l9cvafVK1qOdlVzYZ24dhcqxmdz6NYRP9j3TjsL.gojVG5a4 qiOCDZvYhzkK1OGTNZwOwSRX7X.YikHSCAhXTSrtg8I2mqFWmBtMXoxAKsvZQcOLA3Z91hlCLXYy Uh_rUNYGz6ZZksqGkrjTzOxGZtqoJqb7FYVjak_Zuqrd1dsUUn6eLy3X1rrfmiiCkw10wKAjiH4C 7tHce1q_mfJE0SlLtq.wWw4iIaIZAKBHcEWmA7R.NrNVhge1Fs7YflMBSecAyOLwiUhLm901us8B tExREN1v_6TtQBauggMhtEIEKLYjn8Ue1pv1hSLX9rPIQNbVjHeOd8zO2s1QcE9ysaG_XS5b2HFO ER1SDN26BtO0v5yYF7mS7Hty8COsYPHcnj..As1ciTJwsqWd8H4hKNRcMYfuDynxznUa_WbLpMSI 7DmSuxgxNAAG1q.dCjpasFYyD0K_g9P36oB0HnOzgjLreOeswb5v01Os- X-Sonic-MF: X-Sonic-ID: 73e02da9-c1ba-4125-b23e-0b9253cb5e0d Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.ne1.yahoo.com with HTTP; Mon, 13 Mar 2023 02:07:06 +0000 Received: by hermes--production-sg3-67c57bccff-62k8m (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 385b6083fef92c01cfef889bb58a383b; Mon, 13 Mar 2023 02:07:01 +0000 (UTC) From: Po Lu To: bug-gnu-emacs@gnu.org Subject: 30.0.50; elixir-ts-mode.elc warning Date: Mon, 13 Mar 2023 10:06:50 +0800 Message-ID: <877cvl9zgl.fsf@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain References: <877cvl9zgl.fsf.ref@yahoo.com> X-Mailer: WebService/1.1.21284 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 209 Received-SPF: pass client-ip=66.163.190.33; envelope-from=luangruo@yahoo.com; helo=sonic307-10.consmr.mail.ne1.yahoo.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, FREEMAIL_FROM=0.001, 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-Spam-Score: -0.6 (/) 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: -1.6 (-) I get this building elixir-ts-mode: ELC progmodes/elixir-ts-mode.elc Warning (treesit): Cannot activate tree-sitter, because tree-sitter library is not compiled with Emacs Would someone please DTRT? From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 13 07:07:00 2023 Received: (at submit) by debbugs.gnu.org; 13 Mar 2023 11:07:00 +0000 Received: from localhost ([127.0.0.1]:33703 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbg16-00021Z-GR for submit@debbugs.gnu.org; Mon, 13 Mar 2023 07:07:00 -0400 Received: from lists.gnu.org ([209.51.188.17]:56092) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbg15-00021R-3w for submit@debbugs.gnu.org; Mon, 13 Mar 2023 07:06:59 -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 1pbg14-0003GS-Fj for bug-gnu-emacs@gnu.org; Mon, 13 Mar 2023 07:06:58 -0400 Received: from netyu.xyz ([152.44.41.246] helo=mail.netyu.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pbg12-0005Hr-C2 for bug-gnu-emacs@gnu.org; Mon, 13 Mar 2023 07:06:57 -0400 Received: from fw.net.yu.netyu.xyz ( [222.248.4.98]) by netyu.xyz (OpenSMTPD) with ESMTPSA id d664b959 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 13 Mar 2023 11:06:51 +0000 (UTC) References: <877cvl9zgl.fsf.ref@yahoo.com> <877cvl9zgl.fsf@yahoo.com> User-agent: mu4e 1.8.14; emacs 30.0.50 From: Ruijie Yu To: Po Lu Subject: Re: bug#62155: 30.0.50; elixir-ts-mode.elc warning Date: Mon, 13 Mar 2023 19:03:46 +0800 In-reply-to: <877cvl9zgl.fsf@yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=152.44.41.246; envelope-from=ruijie@netyu.xyz; helo=mail.netyu.xyz X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: 62155@debbugs.gnu.org, bug-gnu-emacs@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: -1.4 (-) Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" writes: > I get this building elixir-ts-mode: > > ELC progmodes/elixir-ts-mode.elc > Warning (treesit): Cannot activate tree-sitter, because tree-sitter library is not compiled with Emacs > > Would someone please DTRT? Have you checked mid:83sfeat1jy.fsf@gnu.org (the end of bug#61996 thread)? It seems that there has since been a fix to your problem. If even after the fix you still observe the problem, maybe Eli and Wilhelm can chime in to help. -- Best, RY From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 13 09:16:33 2023 Received: (at submit) by debbugs.gnu.org; 13 Mar 2023 13:16:33 +0000 Received: from localhost ([127.0.0.1]:33885 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbi2T-0004CO-3b for submit@debbugs.gnu.org; Mon, 13 Mar 2023 09:16:33 -0400 Received: from lists.gnu.org ([209.51.188.17]:58782) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbi2R-0004CH-Ix for submit@debbugs.gnu.org; Mon, 13 Mar 2023 09:16:31 -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 1pbi2G-0007Al-Jg for bug-gnu-emacs@gnu.org; Mon, 13 Mar 2023 09:16:23 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pbi2E-0004sy-Oz for bug-gnu-emacs@gnu.org; Mon, 13 Mar 2023 09:16:20 -0400 Received: by mail-wm1-x333.google.com with SMTP id o5-20020a05600c510500b003ec0e4ec6deso4830492wms.3 for ; Mon, 13 Mar 2023 06:16:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678713376; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:from:to:cc:subject:date:message-id:reply-to; bh=K0CbCgZ1iQo9C6E9sWWKbyaU0ewm7yQT1JEXtuSH6Mc=; b=JbSqa9gz5bCsKajVtK6IiDaNlWtnhpUh7f5P4MC9+dpjFkNN9pDCMKR0H5NVP2NjF/ WTmFiipuTM0XtwJl78IAKCVdvAJrJS41VSXyLA/fEUqcnEOWm1nOAXtLBUYP1raZsHv1 iM3UVuG7NYxsOpH7GcqgZma3+Cfc+jvTy5uKhr3/CmU2K3hc+7/UNpqF4a4qlTd5ti0U Uw1R1dGeKMn6GigfYr41i1PlmbKNURtVB4XxW5ziJRTaknoKg3LiNM23y8YbrNUuSYpX cT0b3PIdvpwspPHcwwIWGztMftT4j/HdMXii6qjo54IoNA/E7X6J5FK8tXQpA4AvgDxi 1s9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678713376; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=K0CbCgZ1iQo9C6E9sWWKbyaU0ewm7yQT1JEXtuSH6Mc=; b=A7IgaWpLmW2K3/1ybmBW3W2cVC7tdGfTXLyQNmKNvJYsvwHKWQkEv3PjlISlfO4REb Dn+O5oYlF8b+GCDo3ZvnEXmObMry0C6CHmIQn+me2EUPZwI/mdFYFkGoHWuyrtPmJHVm 7n+6c9PMXHS/4I3BkwP+bfniCoA/r+o5Z6zyEUjSFGCwYwz3edCAMfe8GqJ2Zz0k49c9 0eH/+wdO1k0of7TY9XbA3KlhLrrmtx4L8vOC7pjjbUTE4wOhbjRlR27RBvYIoCmeoHiF lh9va0cu/r27FDj8d/nz9AiWgbcKFbzdGdQsGr1WI1miuer3z6FhiynPHblxql9XnYPU JvUw== X-Gm-Message-State: AO0yUKWUTPctK2B0j+XRnBhjp22y+TOesgy8uqyY+ntYFv9VYDcGJ3Vl LkhFiIAjo3YQeN/6QgOTAGhn2eoJJlYcpQ8b X-Google-Smtp-Source: AK7set9kilXbGuWJl+De32xW6Q8xK/W7miWxyhV22HBWs7m4rxdcgRT7dfq4Eg4EBJ1XbT0suQ+32w== X-Received: by 2002:a05:600c:1c28:b0:3de:1d31:1042 with SMTP id j40-20020a05600c1c2800b003de1d311042mr10656465wms.23.1678713376436; Mon, 13 Mar 2023 06:16:16 -0700 (PDT) Received: from melissa.local ([2c0f:ef18:1431:0:b09:9616:db04:c248]) by smtp.gmail.com with ESMTPSA id p22-20020a05600c359600b003b47b80cec3sm10031350wmq.42.2023.03.13.06.16.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Mar 2023 06:16:15 -0700 (PDT) References: <877cvl9zgl.fsf.ref@yahoo.com> <877cvl9zgl.fsf@yahoo.com> User-agent: mu4e 1.9.3; emacs 30.0.50 From: Wilhelm Kirschbaum To: Ruijie Yu Subject: Re: bug#62155: 30.0.50; elixir-ts-mode.elc warning Date: Mon, 13 Mar 2023 15:08:10 +0200 In-reply-to: Message-ID: <878rg0n65g.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=wkirschbaum@gmail.com; helo=mail-wm1-x333.google.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Po Lu , 62155@debbugs.gnu.org, bug-gnu-emacs@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: -2.3 (--) Ruijie Yu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" writes: > Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of > text editors" writes: > >> I get this building elixir-ts-mode: >> >> ELC progmodes/elixir-ts-mode.elc >> Warning (treesit): Cannot activate tree-sitter, because >> tree-sitter library is not compiled with Emacs >> >> Would someone please DTRT? > > Have you checked mid:83sfeat1jy.fsf@gnu.org (the end of > bug#61996 > thread)? It seems that there has since been a fix to your > problem. If > even after the fix you still observe the problem, maybe Eli and > Wilhelm > can chime in to help. I can see there is still an issue with loading heex-ts-mode from elixir-ts-mode, but not quite sure how to immediately resolve it. I will have a look in a couple of hours. The problem is in the top of elixir-ts-mode.el: (require 'heex-ts-mode) and then we call (treesit-ready-p 'heex) in heex-ts-mode. I guess the intention with the convention here was to only load the -ts-mode when the user explicitly requires, but it breaks the way I called (require 'heex-ts-mode) from elixir-ts-mode.el. From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 13 10:33:37 2023 Received: (at 62155) by debbugs.gnu.org; 13 Mar 2023 14:33:37 +0000 Received: from localhost ([127.0.0.1]:35338 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbjF3-000176-1U for submit@debbugs.gnu.org; Mon, 13 Mar 2023 10:33:37 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59010) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbjF1-00016f-0Z for 62155@debbugs.gnu.org; Mon, 13 Mar 2023 10:33:35 -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 1pbjEv-0001ui-DK; Mon, 13 Mar 2023 10:33:29 -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=r/bqPWCyBWvSGa+x8p99knISSCDj50QzqApUhCAM72g=; b=ENprszY1eZK8 vEqtUNPsgSc7Ir1vQnkEkVYXrfzePVqhkC91TWgY4TVQXC7K33hUwj+3Eg9OyBcVvkVT6Lkwz6ClS XEjjtqnxhg7XQNJxSy3URWSqidpAMajxKNRfTKbCuIiso+h8F9kwZDkG/kKbQCfUMTdbJ5j4JNg8j xT7E48HBgQa95VhT2xmsLKh7WxxNojlQ2DDl4g1tsHw/HwwXx8tyI3bivMUbvtj0uf3OuzDk+39/K MAiT0AZsbupyM2/Y5yb9pBWEuVUknUU4ZcGAv+JkksvoelavM8tYtPyB0KQJPgXd25VrksXNKu9Rs SoE/EOdgRhNpN31lla9jTw==; 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 1pbjEu-0005Hq-S9; Mon, 13 Mar 2023 10:33:29 -0400 Date: Mon, 13 Mar 2023 16:33:18 +0200 Message-Id: <83fsa8u3f5.fsf@gnu.org> From: Eli Zaretskii To: Wilhelm Kirschbaum In-Reply-To: <878rg0n65g.fsf@gmail.com> (message from Wilhelm Kirschbaum on Mon, 13 Mar 2023 15:08:10 +0200) Subject: Re: bug#62155: 30.0.50; elixir-ts-mode.elc warning References: <877cvl9zgl.fsf.ref@yahoo.com> <877cvl9zgl.fsf@yahoo.com> <878rg0n65g.fsf@gmail.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62155 Cc: ruijie@netyu.xyz, luangruo@yahoo.com, 62155@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 (---) > Cc: luangruo@yahoo.com, 62155@debbugs.gnu.org > From: Wilhelm Kirschbaum > Date: Mon, 13 Mar 2023 15:08:10 +0200 > > I can see there is still an issue with loading heex-ts-mode from > elixir-ts-mode, but not quite sure how to > immediately resolve it. I will have a look in a couple of hours. One possibility is to add defvar for each variable defined by heex-ts-mode that elixir-ts-mode needs to use, and remove the require of heex-ts-mode. Since heex-ts-mode is loaded at run time, I think this should be enough. > The problem is in the top of elixir-ts-mode.el: (require > 'heex-ts-mode) and then we call > (treesit-ready-p 'heex) in heex-ts-mode. Yes. > I guess the intention with the convention here was to only load the > -ts-mode when the user explicitly requires, but it breaks the way I > called (require 'heex-ts-mode) from elixir-ts-mode.el. Yes. From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 13 16:17:28 2023 Received: (at 62155) by debbugs.gnu.org; 13 Mar 2023 20:17:28 +0000 Received: from localhost ([127.0.0.1]:35680 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbobn-0004SP-JE for submit@debbugs.gnu.org; Mon, 13 Mar 2023 16:17:27 -0400 Received: from mail-wr1-f48.google.com ([209.85.221.48]:45035) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbobk-0004SC-OD for 62155@debbugs.gnu.org; Mon, 13 Mar 2023 16:17:25 -0400 Received: by mail-wr1-f48.google.com with SMTP id p4so6274669wre.11 for <62155@debbugs.gnu.org>; Mon, 13 Mar 2023 13:17:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678738638; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:from:to:cc:subject:date:message-id:reply-to; bh=L94bBpFHMMQLoJnzQIA48ShLw4XRpmsV6/rs4sIjtoc=; b=m3R1LlDM1P8UTLWYx771LvvjSndNCohzIBHxJ0eP4dxbiFKZwrfKdnV4x6sKbyDCtM BfuVFa/DJnOpCzaA3l+ofqSyv9+sd4Ry55rVNbduZvem5Itjduan4r9bfw2AL2tO4XZ8 X2QqMuj0UnH4YTfMBNkAYcd44edRmoR9p0MoYiyEbEGM3lM468RXPumZnC3QtTKeLIde tzWCopNsdOTZ0siWaE1TEbz5lsZZvJ9QgxKkWS8syFm9joyM2R3/9Pe3RZoAHvt5L8tf idfYv8jnoEz0lptGWxnKyPLD8Gd7Tnzu7LYDcQmbiFc8yn/N4e+tyPe0ihuAIs90xq02 +ZQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678738638; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=L94bBpFHMMQLoJnzQIA48ShLw4XRpmsV6/rs4sIjtoc=; b=oy9d3LZSe0SQhrSLPLYOvE0n1u0cdont1U33CvyBV/jTd8SooBcOQseRzcGI+LPgm0 EGjK03SgB7w+O+OJggXPDZgIkGP8aGCc5az6WQZMBT7KtuQqgEPGVIEZyVw6X9TvNyRT iV77EiOBsHImwhuqP0eVLchBQYsoPgiGyFTfZARN5sHw2LZFjpyDTyMKr0N8pZSdvznH CaU1xb6TO7Chf+hCL+Ugkn5E7/BDwce1mNXwQ1mdFDWbF1fOEqEXZdb4fmhd9SJRnEdo MkBvnHLeAV9YDj9jLO2iOODzlv4XZu9DcrICtdMRJKYbCWz0JkOBsCyReiD3QlwqhOe9 2DcA== X-Gm-Message-State: AO0yUKVPchDzT4CFFLw21+D363mouADPRBJVa1p7L0q4ZeN7mM0H6m2w 9nPkqDxS5O/378tV6bkq5SK4FuOmdI5fI8P6 X-Google-Smtp-Source: AK7set/RAcnOCjRjrIr58EPexfz1p1skIUQgd1ff/dp+ob92l3+iqJAsW09eqnGmdIHt85WHs9qQ6g== X-Received: by 2002:a5d:410a:0:b0:2c5:594b:10d6 with SMTP id l10-20020a5d410a000000b002c5594b10d6mr23967055wrp.29.1678738638423; Mon, 13 Mar 2023 13:17:18 -0700 (PDT) Received: from melissa.local ([2c0f:ef18:1431:0:b09:9616:db04:c248]) by smtp.gmail.com with ESMTPSA id u7-20020a7bc047000000b003e206cc7237sm670313wmc.24.2023.03.13.13.17.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Mar 2023 13:17:17 -0700 (PDT) References: <877cvl9zgl.fsf.ref@yahoo.com> <877cvl9zgl.fsf@yahoo.com> <878rg0n65g.fsf@gmail.com> <83fsa8u3f5.fsf@gnu.org> User-agent: mu4e 1.9.3; emacs 30.0.50 From: Wilhelm Kirschbaum To: Eli Zaretskii Subject: Re: bug#62155: 30.0.50; elixir-ts-mode.elc warning Date: Mon, 13 Mar 2023 22:07:27 +0200 In-reply-to: <83fsa8u3f5.fsf@gnu.org> Message-ID: <87fsa8be46.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 62155 Cc: ruijie@netyu.xyz, luangruo@yahoo.com, 62155@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: -1.0 (-) --=-=-= Content-Type: text/plain; format=flowed Eli Zaretskii writes: >> Cc: luangruo@yahoo.com, 62155@debbugs.gnu.org >> From: Wilhelm Kirschbaum >> Date: Mon, 13 Mar 2023 15:08:10 +0200 >> >> I can see there is still an issue with loading heex-ts-mode >> from >> elixir-ts-mode, but not quite sure how to >> immediately resolve it. I will have a look in a couple of >> hours. > > One possibility is to add defvar for each variable defined by > heex-ts-mode that elixir-ts-mode needs to use, and remove the > require > of heex-ts-mode. Since heex-ts-mode is loaded at run time, I > think > this should be enough. > Thank you, this seems to work well. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Fix-elixir-ts-mode.elc-warning-bug-62155.patch Content-Description: Fix elixir-ts-mode.elc warning >From 07a8a8d396a91fd4b8dcb57cc98ef30784601ac3 Mon Sep 17 00:00:00 2001 From: Wilhelm H Kirschbaum Date: Mon, 13 Mar 2023 21:47:50 +0200 Subject: [PATCH] Fix elixir-ts-mode.elc warning (bug#62155) * lisp/progmodes/elixir-ts-mode.el: Only require heex-ts-mode once elixir-ts-mode loads to avoid calling (treesit-ready-p 'heex) during byte-compilation. --- lisp/progmodes/elixir-ts-mode.el | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/lisp/progmodes/elixir-ts-mode.el b/lisp/progmodes/elixir-ts-mode.el index 8adf647b081..da83e7d6c5a 100644 --- a/lisp/progmodes/elixir-ts-mode.el +++ b/lisp/progmodes/elixir-ts-mode.el @@ -44,7 +44,6 @@ ;;; Code: (require 'treesit) -(require 'heex-ts-mode) (eval-when-compile (require 'rx)) (declare-function treesit-parser-create "treesit.c") @@ -480,6 +479,10 @@ elixir-ts--treesit-range-rules :host 'elixir '((sigil (sigil_name) @name (:match "^[HF]$" @name) (quoted_content) @heex))))) +(defvar heex-ts--sexp-regexp) +(defvar heex-ts--indent-rules) +(defvar heex-ts--font-lock-settings) + (defun elixir-ts--forward-sexp (&optional arg) "Move forward across one balanced expression (sexp). With ARG, do it many times. Negative ARG means move backward." @@ -566,8 +569,12 @@ elixir-ts-mode (when (treesit-ready-p 'elixir) ;; The HEEx parser has to be created first for elixir to ensure elixir ;; is the first language when looking for treesit ranges. - (if (treesit-ready-p 'heex) - (treesit-parser-create 'heex)) + (when (treesit-ready-p 'heex) + ;; Require heex-ts-mode only when we load elixir-ts-mode + ;; so that we don't get a tree-sitter compilation warning for + ;; elixir-ts-mode. + (require 'heex-ts-mode) + (treesit-parser-create 'heex)) (treesit-parser-create 'elixir) -- 2.39.2 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 16 03:53:41 2023 Received: (at 62155-done) by debbugs.gnu.org; 16 Mar 2023 07:53:41 +0000 Received: from localhost ([127.0.0.1]:41118 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pciQf-0002gJ-Et for submit@debbugs.gnu.org; Thu, 16 Mar 2023 03:53:41 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39184) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pciQd-0002g5-UK for 62155-done@debbugs.gnu.org; Thu, 16 Mar 2023 03:53:40 -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 1pciQY-0008Cw-9E; Thu, 16 Mar 2023 03:53:34 -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=W6ZckzP+5PerG/jFtt+2qJ+g49CxmpshzZGGztkBjf0=; b=DrItCx6L/bgG mzb7lFZNrZglUZ/6/WdBQFOyBInLk4goj2d5H0xcxw1A8uWMaMHHSSEmXxaf2Z9M/JvzPSL07klmg wA1pLYJcBwFskH9qe+AjpchWGOg1hm2G8eZTf7dOSU3xma7jsTAyR+CdkkicNZ2ifQ7xqOKX9CAAq k4U13/9B5C5Sq1FJpZKv0KeMwJMViAA/JU8TXllfQQD2wiB3ojrZ6fMeaWKQasF/x6kaNbU2065aB KxVe8ZVfV8DkmhR3L19ql4u0c/cqsK2DEACPT/RUiaPlpPJEo8FWXjTf7G3xNHcTEqjuWrHcqNHOe acbh9VKbIwpx+uatXDYF1Q==; 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 1pciQW-00039X-MQ; Thu, 16 Mar 2023 03:53:33 -0400 Date: Thu, 16 Mar 2023 09:53:30 +0200 Message-Id: <838rfxqghx.fsf@gnu.org> From: Eli Zaretskii To: Wilhelm Kirschbaum In-Reply-To: <87fsa8be46.fsf@gmail.com> (message from Wilhelm Kirschbaum on Mon, 13 Mar 2023 22:07:27 +0200) Subject: Re: bug#62155: 30.0.50; elixir-ts-mode.elc warning References: <877cvl9zgl.fsf.ref@yahoo.com> <877cvl9zgl.fsf@yahoo.com> <878rg0n65g.fsf@gmail.com> <83fsa8u3f5.fsf@gnu.org> <87fsa8be46.fsf@gmail.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62155-done Cc: ruijie@netyu.xyz, luangruo@yahoo.com, 62155-done@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: Wilhelm Kirschbaum > Cc: ruijie@netyu.xyz, luangruo@yahoo.com, 62155@debbugs.gnu.org > Date: Mon, 13 Mar 2023 22:07:27 +0200 > > Eli Zaretskii writes: > > >> Cc: luangruo@yahoo.com, 62155@debbugs.gnu.org > >> From: Wilhelm Kirschbaum > >> Date: Mon, 13 Mar 2023 15:08:10 +0200 > >> > >> I can see there is still an issue with loading heex-ts-mode > >> from > >> elixir-ts-mode, but not quite sure how to > >> immediately resolve it. I will have a look in a couple of > >> hours. > > > > One possibility is to add defvar for each variable defined by > > heex-ts-mode that elixir-ts-mode needs to use, and remove the > > require > > of heex-ts-mode. Since heex-ts-mode is loaded at run time, I > > think > > this should be enough. > > > > Thank you, this seems to work well. Thanks, installed on the master branch. From unknown Sat Jun 21 12:19:09 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 13 Apr 2023 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator