From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 18 14:18:03 2024 Received: (at submit) by debbugs.gnu.org; 18 Dec 2024 19:18:03 +0000 Received: from localhost ([127.0.0.1]:36014 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNzYY-0004Ff-Ue for submit@debbugs.gnu.org; Wed, 18 Dec 2024 14:18:03 -0500 Received: from lists.gnu.org ([209.51.188.17]:57074) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNzYW-0004F9-BX for submit@debbugs.gnu.org; Wed, 18 Dec 2024 14:18:01 -0500 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 1tNzYP-0002I4-CR for bug-gnu-emacs@gnu.org; Wed, 18 Dec 2024 14:17:53 -0500 Received: from fout-b5-smtp.messagingengine.com ([202.12.124.148]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tNzYM-0001d3-VL for bug-gnu-emacs@gnu.org; Wed, 18 Dec 2024 14:17:52 -0500 Received: from phl-compute-05.internal (phl-compute-05.phl.internal [10.202.2.45]) by mailfout.stl.internal (Postfix) with ESMTP id C1AF21140108 for ; Wed, 18 Dec 2024 14:17:47 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-05.internal (MEProxy); Wed, 18 Dec 2024 14:17:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pub.pink; h=cc :content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm1; t=1734549467; x=1734635867; bh=P0jLE3ynTZevveoeypUURG9oI3jLRNAD yr25fXKLOGs=; b=XLZm5myxpKOLnLbNFviYb6jZRBE3TQXsbaLG3z0wlqf5Azwg bhbJsTD2ExWFTdGuGPykGuYwkkaOzTOM6D0ACSXWEBePxluDNDYLch86IWcpDfRa Z/cMj6B8gvQk07xsw3tLTS0V6ztP7YxRQmu6WTP3jcgoD7c+ihmaaZ1mjjdaKYwq DXsGm2vqkCOqhuO5CdoJ3vQ2Wk0614Njsc/1bysarJCMuqtxJbsI41b6WFRNaZ3W m7kwn8TMZCrhDReVHMu9d7N1ICbTbXrKFkYx/X5vcLDyRTbTfJj6PRFmPb2BNn14 9P9A2ODXaVRPri2RDQGue5RXTlcZUxnduKyC4g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1734549467; x= 1734635867; bh=P0jLE3ynTZevveoeypUURG9oI3jLRNADyr25fXKLOGs=; b=C yxvaQz9uhdpfCUIEergaqCTXG14vEAUy/iydvpic4ek4YxwAN7edogTHAME2QDEW n4WpiX0LVNbw2Q2i5w8iTobycvw+/He78edO+k7V0XX3QojTNBmpZp7Ruk2Ys39R EhJV2F0IYCul03ZNYX2BCcOS4j8vmZo5DuKGLO3tsX3MdGetF3gpmvZ+unEF/c7g PmTw/Fo10Rl0z34d69BBNXFtMDHzeU69dz7LDxTK1A4wYW1FkvpgiTAVJhOrQGe5 qOFhIB7HXQ+aG9OzioW22ofWJ7MRMWWHAYpKbiG3dd8ZbS3jd/Q6jKn7N2TP3sWp GB1tFyX3kIcGFSYm/vqhA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrleekgdduvddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvffuff fkgggtsehttdertddttddtnecuhfhrohhmpehjohhhnhcumhhuhhhluceojhhmsehpuhgs rdhpihhnkheqnecuggftrfgrthhtvghrnhepgefhudekueehudeugffhgfegfeevhfetje ehhfeuleffgfeguedtffdvteeutedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghr rghmpehmrghilhhfrhhomhepjhhmsehpuhgsrdhpihhnkhdpnhgspghrtghpthhtohepud dpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepsghughdqghhnuhdqvghmrggtshes ghhnuhdrohhrgh X-ME-Proxy: Feedback-ID: i74194916:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Wed, 18 Dec 2024 14:17:47 -0500 (EST) From: john muhl To: bug-gnu-emacs@gnu.org Subject: [PATCH] Add 'lua-ts-mode' to 'interpreter-mode-alist' X-Debbugs-Cc: Date: Wed, 18 Dec 2024 13:17:45 -0600 Message-ID: <87ed24yf52.fsf@pub.pink> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=202.12.124.148; envelope-from=jm@pub.pink; helo=fout-b5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.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: -2.6 (--) Tags: patch Make is so that extensionless Lua scripts get recognized based on the interpreter line. From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 18 14:20:34 2024 Received: (at 74951) by debbugs.gnu.org; 18 Dec 2024 19:20:35 +0000 Received: from localhost ([127.0.0.1]:36024 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNzb0-0004Px-J7 for submit@debbugs.gnu.org; Wed, 18 Dec 2024 14:20:34 -0500 Received: from fout-b5-smtp.messagingengine.com ([202.12.124.148]:54385) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNzay-0004Ph-KB for 74951@debbugs.gnu.org; Wed, 18 Dec 2024 14:20:33 -0500 Received: from phl-compute-12.internal (phl-compute-12.phl.internal [10.202.2.52]) by mailfout.stl.internal (Postfix) with ESMTP id 0E2291140152 for <74951@debbugs.gnu.org>; Wed, 18 Dec 2024 14:20:26 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-12.internal (MEProxy); Wed, 18 Dec 2024 14:20:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pub.pink; h=cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1734549625; x=1734636025; bh=zqEKYMYl5q sGQu4ir00qp0Pk4gOCktV4MKzFnL8NCmw=; b=Yu6rCHnkE85X/cIl3lSm5d9z7W 62p53A9TeXGUDQRyvuWBRr6Yt7/V1+Q/8jgCwJHUW1toHx/XBk0dDoYISJ/SE2ro N8xetjcCFEafNfT+7Z0aO4sIVaNopHA41cjgRNPCXzN1rMq7y3SAwaUSTmfFWBm0 Kd8L/iVfsBRRWvKs1zDDMOwi6PPMv6r+nKiKxhqIOJ8kOIVx3TjMa3YIBMHHNl3M HpPKvR3GyJ8VTSHhNgsykPHcacu4PDfSxt+OnycWaFHHww5rX9hIIrkXxQ9rdl/L c5mccx+nhWuUkICyUwPjKNwgJOmY4slNRajJkjb9f05sa4DaqHgwgaf+XrwA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1734549625; x=1734636025; bh=zqEKYMYl5qsGQu4ir00qp0Pk4gOCktV4MKz FnL8NCmw=; b=IyZXsTyLmN8RRq7xqZYSY7VyWkMWgAH3EvjyA2/I45WwLTlWXqu YfADfJ4t5d+QRoGAMhzl650+q4rsAc1z/Bvih6rEBBRVOG3URMywi0HvXCy/wBCY 7p1aVIYdgWbkG5hIdl88qhHg0lc0bi2j4Wc5hV8B/z1MB9bbJTy1dT3fmP3Ymm4J wsSxl7maZfud/IEPB1A72jlaEDLdJseEbcMwKo3ig0p7Q28KRvax4vJ10hfp8qLN qMr7WNyXsP0ZanC2Q0F7k9akiXNYTQxljfPolI0DA7+QBfVezNY79sJd4LjYxUVs 3d/qWNaBN2Wia8wPuwKwgWqnXbtC3vUn7fQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrleekgdduvddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvffujg hffgffkfggtgesmhdtreertdertdenucfhrhhomhepjhhohhhnuchmuhhhlhcuoehjmhes phhusgdrphhinhhkqeenucggtffrrghtthgvrhhnpefgleehkeehveevtdefjedtuddvie fhgfekudelveeuheekgeffleeuvdetheetueenucevlhhushhtvghrufhiiigvpedtnecu rfgrrhgrmhepmhgrihhlfhhrohhmpehjmhesphhusgdrphhinhhkpdhnsggprhgtphhtth hopedupdhmohguvgepshhmthhpohhuthdprhgtphhtthhopeejgeelheduseguvggssghu ghhsrdhgnhhurdhorhhg X-ME-Proxy: Feedback-ID: i74194916:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for <74951@debbugs.gnu.org>; Wed, 18 Dec 2024 14:20:25 -0500 (EST) From: john muhl To: 74951@debbugs.gnu.org Subject: Re: bug#74951: [PATCH] Add 'lua-ts-mode' to 'interpreter-mode-alist' In-Reply-To: <87ed24yf52.fsf@pub.pink> (john muhl's message of "Wed, 18 Dec 2024 13:17:45 -0600") References: <87ed24yf52.fsf@pub.pink> User-Agent: mu4e 1.12.1; emacs 31.0.50 Date: Wed, 18 Dec 2024 13:20:24 -0600 Message-ID: <878qscyf0n.fsf@pub.pink> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 74951 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.7 (-) --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Add-lua-ts-mode-to-interpreter-mode-alist.patch >From 375f901d152b929d7f64bd2c18fa6a02bd4ba233 Mon Sep 17 00:00:00 2001 From: john muhl Date: Wed, 18 Dec 2024 10:59:19 -0600 Subject: [PATCH] Add 'lua-ts-mode' to 'interpreter-mode-alist' * lisp/progmodes/lua-ts-mode.el: Enable 'lua-ts-mode' for Lua scripts based on their interpreter line. (Bug#74951) --- lisp/progmodes/lua-ts-mode.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/progmodes/lua-ts-mode.el b/lisp/progmodes/lua-ts-mode.el index 9d2969d6ac4..6fa3e51b34b 100644 --- a/lisp/progmodes/lua-ts-mode.el +++ b/lisp/progmodes/lua-ts-mode.el @@ -839,7 +839,8 @@ lua-ts-mode (derived-mode-add-parents 'lua-ts-mode '(lua-mode)) (when (treesit-ready-p 'lua) - (add-to-list 'auto-mode-alist '("\\.lua\\'" . lua-ts-mode))) + (add-to-list 'auto-mode-alist '("\\.lua\\'" . lua-ts-mode)) + (add-to-list 'interpreter-mode-alist '("\\ writes: > Tags: patch > > Make is so that extensionless Lua scripts get recognized based on > the interpreter line. --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 21 05:54:42 2024 Received: (at 74951-done) by debbugs.gnu.org; 21 Dec 2024 10:54:42 +0000 Received: from localhost ([127.0.0.1]:45455 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOx86-0002vA-8J for submit@debbugs.gnu.org; Sat, 21 Dec 2024 05:54:42 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57314) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOx83-0002ux-Qr for 74951-done@debbugs.gnu.org; Sat, 21 Dec 2024 05:54:40 -0500 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 1tOx7y-0004wg-CD; Sat, 21 Dec 2024 05:54: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=2jRTKePhJcO7DYeOWW4eJFTOauj6CvxxEBEJ+JzcIJ0=; b=OGIB4hDIUYlD 4Iw/hgGDGCoUsjbaJbWmc/dv0kU9YbKNBrJQ8x9qosaH3elP3lSTKG9sFTVaZ4J2sUhGZWh2xYH6z EWdF6BukgXlwrGXVz+nipqdhylabyxQBA2KubS3f3CJUVQyvqcHYwdwFmEgRNWH84ChGnEaMxx+vP T2vj1i2m/J8T3vMn5oXMjjcg1rinWLf+FPs1pOWlTdT1zols2C7sTZ8qFhUzq8o+inRnbZ7rWsYpF Ndk3ui4eexCxKUZC9zUL1K8tXDKPyxfFggdRlbTDImlEQlDHRWq1FSPnLFmdR9PwZ8fZw7dNYO3sc O7LcINX/bgqvStpOLGZtnw==; Date: Sat, 21 Dec 2024 12:54:30 +0200 Message-Id: <86wmft71cp.fsf@gnu.org> From: Eli Zaretskii To: john muhl In-Reply-To: <878qscyf0n.fsf@pub.pink> (message from john muhl on Wed, 18 Dec 2024 13:20:24 -0600) Subject: Re: bug#74951: [PATCH] Add 'lua-ts-mode' to 'interpreter-mode-alist' References: <87ed24yf52.fsf@pub.pink> <878qscyf0n.fsf@pub.pink> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74951-done Cc: 74951-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: john muhl > Date: Wed, 18 Dec 2024 13:20:24 -0600 > > >From 375f901d152b929d7f64bd2c18fa6a02bd4ba233 Mon Sep 17 00:00:00 2001 > From: john muhl > Date: Wed, 18 Dec 2024 10:59:19 -0600 > Subject: [PATCH] Add 'lua-ts-mode' to 'interpreter-mode-alist' > > * lisp/progmodes/lua-ts-mode.el: Enable 'lua-ts-mode' for Lua > scripts based on their interpreter line. (Bug#74951) > --- > lisp/progmodes/lua-ts-mode.el | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Thanks, installed on the emacs-30 branch, and closing the bug. From unknown Sat Jun 21 03:18:22 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 18 Jan 2025 12:24:06 +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