Received: (at 77138) by debbugs.gnu.org; 22 Mar 2025 19:26:07 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 22 15:26:07 2025 Received: from localhost ([127.0.0.1]:45535 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tw4Tu-0007e3-R0 for submit <at> debbugs.gnu.org; Sat, 22 Mar 2025 15:26:07 -0400 Received: from forward500d.mail.yandex.net ([178.154.239.208]:41750) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <Hi-Angel@HIDDEN>) id 1tw4Ts-0007cZ-Nj for 77138 <at> debbugs.gnu.org; Sat, 22 Mar 2025 15:26:05 -0400 Received: from mail-nwsmtp-smtp-production-main-84.klg.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-84.klg.yp-c.yandex.net [IPv6:2a02:6b8:c42:8741:0:640:b274:0]) by forward500d.mail.yandex.net (Yandex) with ESMTPS id F159B60EC2; Sat, 22 Mar 2025 22:25:57 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-84.klg.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id uPSnZPXLl8c0-adwfs3cQ; Sat, 22 Mar 2025 22:25:57 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1742671557; bh=0OC47mp3EHE6Ud9fgSRWHIGVOMnaAomGi9ULdvn9KGE=; h=Date:In-Reply-To:Cc:References:To:From:Subject:Message-ID; b=smReXalTpxiGmt1XAtDTBvKC5DYLHpsSr71yYjlA1ZTOIpap/2+EBl8MnP2BLBoRw oyRug2yO8KC8c4YxTR5lXLPROuvI4ikpYqHz7otMtiAKkn6wX9PLIqdBSGoIgGnK87 H/fV2jTFTDmidi4IzulCuq+hu4aNojiGPzwRCbdM= Authentication-Results: mail-nwsmtp-smtp-production-main-84.klg.yp-c.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <962709e804e490ed0622b359feb56610e64556f3.camel@HIDDEN> Subject: Re: bug#77138: [PATCH] Add major mode for highlighting .npmrc files From: Konstantin Kharlamov <Hi-Angel@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Date: Sat, 22 Mar 2025 22:25:56 +0300 In-Reply-To: <593fed9ff39f114379142bb6b17ad72bd3e91bd5.camel@HIDDEN> References: <7e71b09115ba7de9bec72d840d894b99e0d68ed4.camel@HIDDEN> <86a59djng6.fsf@HIDDEN> <2daf3dd2fdb001819239a0cd53cb770fb3ac7af7.camel@HIDDEN> <a9cdbc380d63dacf8aa55ee6f8913206a3d49963.camel@HIDDEN> <CADwFkm=Q6-9yVWYyQafXizUVZh2Kn0UpZk87R4hY_STf1k-RTg@HIDDEN> <b6fa674498e366b4b2c4de4bac75dcd20bf38367.camel@HIDDEN> <86iko1hy2r.fsf@HIDDEN> <244cdfad1b53bd6b80ef2551ffd9ded20b344126.camel@HIDDEN> <86bjtsj2jl.fsf@HIDDEN> <3477da0fb48d9405ad24f47cab25a4a1da9167d8.camel@HIDDEN> <593fed9ff39f114379142bb6b17ad72bd3e91bd5.camel@HIDDEN> Content-Type: multipart/mixed; boundary="=-lTBsfRpcRTPMJVzUbogA" User-Agent: Evolution 3.54.3 MIME-Version: 1.0 X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 77138 Cc: stefankangas@HIDDEN, 77138 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --=-lTBsfRpcRTPMJVzUbogA Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, 2025-03-22 at 22:23 +0300, Konstantin Kharlamov wrote: > On Sat, 2025-03-22 at 22:21 +0300, Konstantin Kharlamov wrote: > > On Sat, 2025-03-22 at 21:19 +0200, Eli Zaretskii wrote: > > > > From: Konstantin Kharlamov <Hi-Angel@HIDDEN> > > > > Cc: stefankangas@HIDDEN, 77138 <at> debbugs.gnu.org > > > > Date: Sat, 22 Mar 2025 20:36:42 +0300 > > > >=20 > > > > On Sat, 2025-03-22 at 17:41 +0200, Eli Zaretskii wrote: > > > > > > From: Konstantin Kharlamov <Hi-Angel@HIDDEN> > > > > > > Cc: 77138 <at> debbugs.gnu.org > > > > > > Date: Sat, 22 Mar 2025 17:29:09 +0300 > > > > > >=20 > > > > > > On Sat, 2025-03-22 at 14:26 +0000, Stefan Kangas wrote: > > > > > > > Konstantin Kharlamov <Hi-Angel@HIDDEN> writes: > > > > > > >=20 > > > > > > > > =C2=A0* New Modes and Packages in Emacs 31.1 > > > > > > > >=20 > > > > > > > > +** New major modes that don't depend on the tree- > > > > > > > > sitter > > > > > > > > library > > > > > > >=20 > > > > > > > Do we really need this explicit headline? > > > > > >=20 > > > > > > I don't have a preference, but I see that just a few lines > > > > > > below > > > > > > there' > > > > > > s a headline about "tree-sitter based new modes", so if we > > > > > > don't > > > > > > add > > > > > > the new headline it might look off. > > > > >=20 > > > > > We mention that a mode is based on tree-sitter because those > > > > > modes > > > > > will not be available in Emacs built without tree-sitter. > > > >=20 > > > > Yeah, I understand. > > > >=20 > > > > So, do you want me to change anything here? > > >=20 > > > I think the "that don't depend on the tree-sitter library" part > > > is > > > better removed. > >=20 > > Okay, done, patch is attached =F0=9F=98=8A >=20 > =E2=80=A6I haven't reduced the heading there to `***` though.=C2=A0 I am = not > completely sure if it's needed or not. Because again, the "newly > added > modes" below all have heading `***`=E2=80=A6 Anyway, patch is attached if you want the version with heading reduced. I also added the bug number to the commit title. --=-lTBsfRpcRTPMJVzUbogA Content-Disposition: attachment; filename="1.patch" Content-Transfer-Encoding: base64 Content-Type: text/x-patch; name="1.patch"; charset="UTF-8" RnJvbSA3YjJmNzFmODFlZmEzY2NlNjI0M2Y3NDJiZGM2OWJmZjZmNGZiYzE1IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBLb25zdGFudGluIEtoYXJsYW1vdiA8SGktQW5nZWxAeWFuZGV4 LnJ1PgpEYXRlOiBUaHUsIDIwIE1hciAyMDI1IDE5OjE3OjMyICswMzAwClN1YmplY3Q6IFtQQVRD SF0gQWRkIG1ham9yIG1vZGUgZm9yIGhpZ2hsaWdodGluZyAubnBtcmMgZmlsZXMgKEJ1ZyM3NzEz OCkKCiogZXRjL05FV1M6IG1lbnRpb24gdGhlIG5ldyBtb2RlLgoqIGxpc3AvdGV4dG1vZGVzL2Nv bmYtbW9kZS5lbCAoY29uZi1ucG1yYy1tb2RlLXN5bnRheC10YWJsZSk6IG5ldwp2YXJpYWJsZS4K KiBsaXNwL3RleHRtb2Rlcy9jb25mLW1vZGUuZWwgKGNvbmYtbnBtcmMtbW9kZSk6IG5ldyBtYWpv ciBtb2RlCmRlcml2ZWQgZnJvbSBjb25mLW1vZGUgZm9yIGhpZ2hsaWdodGluZyAubnBtcmMgZmls ZXMuCiogbGlzcC9maWxlcy5lbCAoYXV0by1tb2RlLWFsaXN0KTogYXNzb2NpYXRlIHRoZSBuZXcg bW9kZSB3aXRoIC5ucG1yYwpmaWxlbmFtZS4KLS0tCiBldGMvTkVXUyAgICAgICAgICAgICAgICAg ICAgfCAgMy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Zi1tb2RlJy4iCisgKGNvbmYtbW9kZS1pbml0 aWFsaXplICIjIikpCisKIChwcm92aWRlICdjb25mLW1vZGUpCiAKIDs7OyBjb25mLW1vZGUuZWwg ZW5kcyBoZXJlCi0tIAoyLjQ4LjEKCg== --=-lTBsfRpcRTPMJVzUbogA--
bug-gnu-emacs@HIDDEN
:bug#77138
; Package emacs
.
Full text available.Received: (at 77138) by debbugs.gnu.org; 22 Mar 2025 19:24:07 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 22 15:24:06 2025 Received: from localhost ([127.0.0.1]:45528 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tw4Rv-0007OV-V8 for submit <at> debbugs.gnu.org; Sat, 22 Mar 2025 15:24:06 -0400 Received: from forward502b.mail.yandex.net ([178.154.239.146]:43160) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <Hi-Angel@HIDDEN>) id 1tw4Rs-0007N2-J9 for 77138 <at> debbugs.gnu.org; Sat, 22 Mar 2025 15:24:01 -0400 Received: from mail-nwsmtp-smtp-production-main-59.iva.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-59.iva.yp-c.yandex.net [IPv6:2a02:6b8:c0c:ba8:0:640:2318:0]) by forward502b.mail.yandex.net (Yandex) with ESMTPS id 8191C60F0C; Sat, 22 Mar 2025 22:23:54 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-59.iva.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id rNSoVPMLn0U0-kRAfxACu; Sat, 22 Mar 2025 22:23:54 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1742671434; bh=oPjSjlHebnMRpsNJbPPW+RdhNwIJ8s3aY2y3Gey49G4=; h=References:Date:In-Reply-To:Cc:To:From:Subject:Message-ID; b=EAgZmqHeXdAMdFUroH5ux3cbMUQ3EpExQPoIiKfLRAYRFzo+JItODqp2BIfCSUxWX AieaiEEOLIFRzFYLGJKivwZyBmZT8i7UTGMxjuDLIMsnIS7DWat86diPLnQMwNIpY9 ZXvbGYN4mjaixvIppHkKKkUipqKl3WhZf0/O0IN0= Authentication-Results: mail-nwsmtp-smtp-production-main-59.iva.yp-c.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <593fed9ff39f114379142bb6b17ad72bd3e91bd5.camel@HIDDEN> Subject: Re: bug#77138: [PATCH] Add major mode for highlighting .npmrc files From: Konstantin Kharlamov <Hi-Angel@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Date: Sat, 22 Mar 2025 22:23:53 +0300 In-Reply-To: <3477da0fb48d9405ad24f47cab25a4a1da9167d8.camel@HIDDEN> References: <7e71b09115ba7de9bec72d840d894b99e0d68ed4.camel@HIDDEN> <86a59djng6.fsf@HIDDEN> <2daf3dd2fdb001819239a0cd53cb770fb3ac7af7.camel@HIDDEN> <a9cdbc380d63dacf8aa55ee6f8913206a3d49963.camel@HIDDEN> <CADwFkm=Q6-9yVWYyQafXizUVZh2Kn0UpZk87R4hY_STf1k-RTg@HIDDEN> <b6fa674498e366b4b2c4de4bac75dcd20bf38367.camel@HIDDEN> <86iko1hy2r.fsf@HIDDEN> <244cdfad1b53bd6b80ef2551ffd9ded20b344126.camel@HIDDEN> <86bjtsj2jl.fsf@HIDDEN> <3477da0fb48d9405ad24f47cab25a4a1da9167d8.camel@HIDDEN> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.54.3 MIME-Version: 1.0 X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 77138 Cc: stefankangas@HIDDEN, 77138 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) On Sat, 2025-03-22 at 22:21 +0300, Konstantin Kharlamov wrote: > On Sat, 2025-03-22 at 21:19 +0200, Eli Zaretskii wrote: > > > From: Konstantin Kharlamov <Hi-Angel@HIDDEN> > > > Cc: stefankangas@HIDDEN, 77138 <at> debbugs.gnu.org > > > Date: Sat, 22 Mar 2025 20:36:42 +0300 > > >=20 > > > On Sat, 2025-03-22 at 17:41 +0200, Eli Zaretskii wrote: > > > > > From: Konstantin Kharlamov <Hi-Angel@HIDDEN> > > > > > Cc: 77138 <at> debbugs.gnu.org > > > > > Date: Sat, 22 Mar 2025 17:29:09 +0300 > > > > >=20 > > > > > On Sat, 2025-03-22 at 14:26 +0000, Stefan Kangas wrote: > > > > > > Konstantin Kharlamov <Hi-Angel@HIDDEN> writes: > > > > > >=20 > > > > > > > =C2=A0* New Modes and Packages in Emacs 31.1 > > > > > > >=20 > > > > > > > +** New major modes that don't depend on the tree-sitter > > > > > > > library > > > > > >=20 > > > > > > Do we really need this explicit headline? > > > > >=20 > > > > > I don't have a preference, but I see that just a few lines > > > > > below > > > > > there' > > > > > s a headline about "tree-sitter based new modes", so if we > > > > > don't > > > > > add > > > > > the new headline it might look off. > > > >=20 > > > > We mention that a mode is based on tree-sitter because those > > > > modes > > > > will not be available in Emacs built without tree-sitter. > > >=20 > > > Yeah, I understand. > > >=20 > > > So, do you want me to change anything here? > >=20 > > I think the "that don't depend on the tree-sitter library" part is > > better removed. >=20 > Okay, done, patch is attached =F0=9F=98=8A =E2=80=A6I haven't reduced the heading there to `***` though. I am not completely sure if it's needed or not. Because again, the "newly added modes" below all have heading `***`=E2=80=A6
bug-gnu-emacs@HIDDEN
:bug#77138
; Package emacs
.
Full text available.Received: (at 77138) by debbugs.gnu.org; 22 Mar 2025 19:21:30 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 22 15:21:30 2025 Received: from localhost ([127.0.0.1]:45519 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tw4PR-0007Bh-RF for submit <at> debbugs.gnu.org; Sat, 22 Mar 2025 15:21:30 -0400 Received: from forward502b.mail.yandex.net ([178.154.239.146]:38630) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <Hi-Angel@HIDDEN>) id 1tw4PN-0007At-3t for 77138 <at> debbugs.gnu.org; Sat, 22 Mar 2025 15:21:27 -0400 Received: from mail-nwsmtp-smtp-production-main-70.sas.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-70.sas.yp-c.yandex.net [IPv6:2a02:6b8:c23:2129:0:640:f8ac:0]) by forward502b.mail.yandex.net (Yandex) with ESMTPS id A11EC60C06; Sat, 22 Mar 2025 22:21:16 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-70.sas.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id ELSkdcZLgqM0-FAYLaaPs; Sat, 22 Mar 2025 22:21:16 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1742671276; bh=OH32VejCHJB6KDz0qOGwscM8k9DfjburlGUajkYS3Xw=; h=Date:In-Reply-To:Cc:References:To:From:Subject:Message-ID; b=F2w7wjHv7wFGsVuOwCCYDZTTdUxSeCBEcY2scoG9vVc8Sta8ADVt87+T574SLMpGg rPtHk6fuvpFcHL4mhaF3/M5pOVewep+TZBjsQKWH2DnW1wooe6sw8v5s4v2kfa46Ib Yt6wZntq4+UoDGgH/+o+funHKUKZK35qbsnzFDA8= Authentication-Results: mail-nwsmtp-smtp-production-main-70.sas.yp-c.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <3477da0fb48d9405ad24f47cab25a4a1da9167d8.camel@HIDDEN> Subject: Re: bug#77138: [PATCH] Add major mode for highlighting .npmrc files From: Konstantin Kharlamov <Hi-Angel@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Date: Sat, 22 Mar 2025 22:21:14 +0300 In-Reply-To: <86bjtsj2jl.fsf@HIDDEN> References: <7e71b09115ba7de9bec72d840d894b99e0d68ed4.camel@HIDDEN> <86a59djng6.fsf@HIDDEN> <2daf3dd2fdb001819239a0cd53cb770fb3ac7af7.camel@HIDDEN> <a9cdbc380d63dacf8aa55ee6f8913206a3d49963.camel@HIDDEN> <CADwFkm=Q6-9yVWYyQafXizUVZh2Kn0UpZk87R4hY_STf1k-RTg@HIDDEN> <b6fa674498e366b4b2c4de4bac75dcd20bf38367.camel@HIDDEN> <86iko1hy2r.fsf@HIDDEN> <244cdfad1b53bd6b80ef2551ffd9ded20b344126.camel@HIDDEN> <86bjtsj2jl.fsf@HIDDEN> Content-Type: multipart/mixed; boundary="=-7nkYFvy8nba3rnTsWH77" User-Agent: Evolution 3.54.3 MIME-Version: 1.0 X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 77138 Cc: stefankangas@HIDDEN, 77138 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --=-7nkYFvy8nba3rnTsWH77 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, 2025-03-22 at 21:19 +0200, Eli Zaretskii wrote: > > From: Konstantin Kharlamov <Hi-Angel@HIDDEN> > > Cc: stefankangas@HIDDEN, 77138 <at> debbugs.gnu.org > > Date: Sat, 22 Mar 2025 20:36:42 +0300 > >=20 > > On Sat, 2025-03-22 at 17:41 +0200, Eli Zaretskii wrote: > > > > From: Konstantin Kharlamov <Hi-Angel@HIDDEN> > > > > Cc: 77138 <at> debbugs.gnu.org > > > > Date: Sat, 22 Mar 2025 17:29:09 +0300 > > > >=20 > > > > On Sat, 2025-03-22 at 14:26 +0000, Stefan Kangas wrote: > > > > > Konstantin Kharlamov <Hi-Angel@HIDDEN> writes: > > > > >=20 > > > > > > =C2=A0* New Modes and Packages in Emacs 31.1 > > > > > >=20 > > > > > > +** New major modes that don't depend on the tree-sitter > > > > > > library > > > > >=20 > > > > > Do we really need this explicit headline? > > > >=20 > > > > I don't have a preference, but I see that just a few lines > > > > below > > > > there' > > > > s a headline about "tree-sitter based new modes", so if we > > > > don't > > > > add > > > > the new headline it might look off. > > >=20 > > > We mention that a mode is based on tree-sitter because those > > > modes > > > will not be available in Emacs built without tree-sitter. > >=20 > > Yeah, I understand. > >=20 > > So, do you want me to change anything here? >=20 > I think the "that don't depend on the tree-sitter library" part is > better removed. Okay, done, patch is attached =F0=9F=98=8A --=-7nkYFvy8nba3rnTsWH77 Content-Disposition: attachment; filename="1.patch" Content-Transfer-Encoding: base64 Content-Type: text/x-patch; name="1.patch"; charset="UTF-8" RnJvbSA0OTUyODFlMzE3OTEwMGNhYmJmNDJjY2M3YTMyNTIxOTJkOWRhZTNlIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBLb25zdGFudGluIEtoYXJsYW1vdiA8SGktQW5nZWxAeWFuZGV4 LnJ1PgpEYXRlOiBUaHUsIDIwIE1hciAyMDI1IDE5OjE3OjMyICswMzAwClN1YmplY3Q6IFtQQVRD SF0gQWRkIG1ham9yIG1vZGUgZm9yIGhpZ2hsaWdodGluZyAubnBtcmMgZmlsZXMKCiogZXRjL05F V1M6IG1lbnRpb24gdGhlIG5ldyBtb2RlLgoqIGxpc3AvdGV4dG1vZGVzL2NvbmYtbW9kZS5lbCAo Y29uZi1ucG1yYy1tb2RlLXN5bnRheC10YWJsZSk6IG5ldwp2YXJpYWJsZS4KKiBsaXNwL3RleHRt b2Rlcy9jb25mLW1vZGUuZWwgKGNvbmYtbnBtcmMtbW9kZSk6IG5ldyBtYWpvciBtb2RlCmRlcml2 ZWQgZnJvbSBjb25mLW1vZGUgZm9yIGhpZ2hsaWdodGluZyAubnBtcmMgZmlsZXMuCiogbGlzcC9m aWxlcy5lbCAoYXV0by1tb2RlLWFsaXN0KTogYXNzb2NpYXRlIHRoZSBuZXcgbW9kZSB3aXRoIC5u cG1yYwpmaWxlbmFtZS4KLS0tCiBldGMvTkVXUyAgICAgICAgICAgICAgICAgICAgfCAgMyArKysK IGxpc3AvZmlsZXMuZWwgICAgICAgICAgICAgICB8ICAxICsKIGxpc3AvdGV4dG1vZGVzL2NvbmYt bW9kZS5lbCB8IDE0ICsrKysrKysrKysrKysrCiAzIGZpbGVzIGNoYW5nZWQsIDE4IGluc2VydGlv bnMoKykKCmRpZmYgLS1naXQgYS9ldGMvTkVXUyBiL2V0Yy9ORVdTCmluZGV4IDA3OTdmYz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text available.Received: (at 77138) by debbugs.gnu.org; 22 Mar 2025 19:20:18 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 22 15:20:18 2025 Received: from localhost ([127.0.0.1]:45513 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tw4OH-00074C-0M for submit <at> debbugs.gnu.org; Sat, 22 Mar 2025 15:20:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40238) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tw4OB-0006zy-V5 for 77138 <at> debbugs.gnu.org; Sat, 22 Mar 2025 15:20:14 -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 <eliz@HIDDEN>) id 1tw4O3-0005xD-Lb; Sat, 22 Mar 2025 15:20:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=DJ6xctrVr/CuhNn18gmSu7GVqWp38PoXSpE4znaJ1s0=; b=GBeE5j6GdOG+19E2HzvB AJnOwTUe+TaSHGK5h62GweCPmmwv5lfzJKkfCD72SbjeJxOV7ALIEea0EMdG4y1ZFUmqZBtLmv1T3 GhFZNZ2j4LkbKxs1el9M98ez/ux5rCXcer3R97kUbm24+zCKDfWrfVHAE/PKW0rgsq/LdLNE19c6U zV3tPR3OXxXRwE8EG8DElk8i1J7pT89ZM2MCsXpAFK68QOVITSMZbUhVZEVws609h7l5ooIjkWsix iHuTQhSxQ9QKV1HsJ6IpwiOLgP5II7bJJJhCrqKdCI3ENHkeLCA5GLQ4x7Sza3BjgWNNzfZB/GloI ibxVKGltiAkMoA==; Date: Sat, 22 Mar 2025 21:19:58 +0200 Message-Id: <86bjtsj2jl.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Konstantin Kharlamov <Hi-Angel@HIDDEN> In-Reply-To: <244cdfad1b53bd6b80ef2551ffd9ded20b344126.camel@HIDDEN> (message from Konstantin Kharlamov on Sat, 22 Mar 2025 20:36:42 +0300) Subject: Re: bug#77138: [PATCH] Add major mode for highlighting .npmrc files References: <7e71b09115ba7de9bec72d840d894b99e0d68ed4.camel@HIDDEN> <86a59djng6.fsf@HIDDEN> <2daf3dd2fdb001819239a0cd53cb770fb3ac7af7.camel@HIDDEN> <a9cdbc380d63dacf8aa55ee6f8913206a3d49963.camel@HIDDEN> <CADwFkm=Q6-9yVWYyQafXizUVZh2Kn0UpZk87R4hY_STf1k-RTg@HIDDEN> <b6fa674498e366b4b2c4de4bac75dcd20bf38367.camel@HIDDEN> <86iko1hy2r.fsf@HIDDEN> <244cdfad1b53bd6b80ef2551ffd9ded20b344126.camel@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77138 Cc: stefankangas@HIDDEN, 77138 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Konstantin Kharlamov <Hi-Angel@HIDDEN> > Cc: stefankangas@HIDDEN, 77138 <at> debbugs.gnu.org > Date: Sat, 22 Mar 2025 20:36:42 +0300 > > On Sat, 2025-03-22 at 17:41 +0200, Eli Zaretskii wrote: > > > From: Konstantin Kharlamov <Hi-Angel@HIDDEN> > > > Cc: 77138 <at> debbugs.gnu.org > > > Date: Sat, 22 Mar 2025 17:29:09 +0300 > > > > > > On Sat, 2025-03-22 at 14:26 +0000, Stefan Kangas wrote: > > > > Konstantin Kharlamov <Hi-Angel@HIDDEN> writes: > > > > > > > > > * New Modes and Packages in Emacs 31.1 > > > > > > > > > > +** New major modes that don't depend on the tree-sitter > > > > > library > > > > > > > > Do we really need this explicit headline? > > > > > > I don't have a preference, but I see that just a few lines below > > > there' > > > s a headline about "tree-sitter based new modes", so if we don't > > > add > > > the new headline it might look off. > > > > We mention that a mode is based on tree-sitter because those modes > > will not be available in Emacs built without tree-sitter. > > Yeah, I understand. > > So, do you want me to change anything here? I think the "that don't depend on the tree-sitter library" part is better removed.
bug-gnu-emacs@HIDDEN
:bug#77138
; Package emacs
.
Full text available.Received: (at 77138) by debbugs.gnu.org; 22 Mar 2025 17:36:55 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 22 13:36:55 2025 Received: from localhost ([127.0.0.1]:45332 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tw2mE-00043P-Nh for submit <at> debbugs.gnu.org; Sat, 22 Mar 2025 13:36:55 -0400 Received: from forward502d.mail.yandex.net ([178.154.239.210]:39954) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <Hi-Angel@HIDDEN>) id 1tw2mC-00042o-8X for 77138 <at> debbugs.gnu.org; Sat, 22 Mar 2025 13:36:52 -0400 Received: from mail-nwsmtp-smtp-production-main-72.klg.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-72.klg.yp-c.yandex.net [IPv6:2a02:6b8:c42:3d4b:0:640:d84f:0]) by forward502d.mail.yandex.net (Yandex) with ESMTPS id DA05860F16; Sat, 22 Mar 2025 20:36:44 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-72.klg.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id gaQt9JWLeuQ0-yg0Z7m1v; Sat, 22 Mar 2025 20:36:44 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1742665004; bh=LBVZLLOtorwybI/AeHMbfP3/wgV3PhT+veYMnWjv9gY=; h=References:Date:In-Reply-To:Cc:To:From:Subject:Message-ID; b=WC8pwbuk9n8v/XfVHHBFEIEc/jeMChaQpT2IDOdyQEbpqwTaUDMjsFPvUX8XtF+6U VUSNky7zm3hJn5fy4vx8SLQguFilg3NIHBnHxYQDZIRNjkfIIgMLJaTDGf54TMDz7k hTWHLExGDJlofXOujHer3LfKrmYNoZm9mDS+fs8c= Authentication-Results: mail-nwsmtp-smtp-production-main-72.klg.yp-c.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <244cdfad1b53bd6b80ef2551ffd9ded20b344126.camel@HIDDEN> Subject: Re: bug#77138: [PATCH] Add major mode for highlighting .npmrc files From: Konstantin Kharlamov <Hi-Angel@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Date: Sat, 22 Mar 2025 20:36:42 +0300 In-Reply-To: <86iko1hy2r.fsf@HIDDEN> References: <7e71b09115ba7de9bec72d840d894b99e0d68ed4.camel@HIDDEN> <86a59djng6.fsf@HIDDEN> <2daf3dd2fdb001819239a0cd53cb770fb3ac7af7.camel@HIDDEN> <a9cdbc380d63dacf8aa55ee6f8913206a3d49963.camel@HIDDEN> <CADwFkm=Q6-9yVWYyQafXizUVZh2Kn0UpZk87R4hY_STf1k-RTg@HIDDEN> <b6fa674498e366b4b2c4de4bac75dcd20bf38367.camel@HIDDEN> <86iko1hy2r.fsf@HIDDEN> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.54.3 MIME-Version: 1.0 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77138 Cc: stefankangas@HIDDEN, 77138 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) On Sat, 2025-03-22 at 17:41 +0200, Eli Zaretskii wrote: > > From: Konstantin Kharlamov <Hi-Angel@HIDDEN> > > Cc: 77138 <at> debbugs.gnu.org > > Date: Sat, 22 Mar 2025 17:29:09 +0300 > >=20 > > On Sat, 2025-03-22 at 14:26 +0000, Stefan Kangas wrote: > > > Konstantin Kharlamov <Hi-Angel@HIDDEN> writes: > > >=20 > > > > =C2=A0* New Modes and Packages in Emacs 31.1 > > > >=20 > > > > +** New major modes that don't depend on the tree-sitter > > > > library > > >=20 > > > Do we really need this explicit headline? > >=20 > > I don't have a preference, but I see that just a few lines below > > there' > > s a headline about "tree-sitter based new modes", so if we don't > > add > > the new headline it might look off. >=20 > We mention that a mode is based on tree-sitter because those modes > will not be available in Emacs built without tree-sitter. Yeah, I understand. So, do you want me to change anything here?
bug-gnu-emacs@HIDDEN
:bug#77138
; Package emacs
.
Full text available.Received: (at 77138) by debbugs.gnu.org; 22 Mar 2025 15:41:59 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 22 11:41:59 2025 Received: from localhost ([127.0.0.1]:44753 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tw0z0-00051h-N6 for submit <at> debbugs.gnu.org; Sat, 22 Mar 2025 11:41:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43354) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tw0yx-00051S-Ov for 77138 <at> debbugs.gnu.org; Sat, 22 Mar 2025 11:41:56 -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 <eliz@HIDDEN>) id 1tw0ys-00025U-Cv; Sat, 22 Mar 2025 11:41:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=mKhnNmTCw4bsOLJULFnV+vDvRG60omtIA4wfUnE4LxQ=; b=NTORD9w7oCmjuPwr3RIz GwYIr+NYKDcsFLAyWDV7p1upl3ml9d5RKoRKK1N1aTQbdnka0XJHPhfeF6bNVdm1sAeadaPEFZKjM Q8QQyXtyibu8uQzA/owPEpq3/MYQ+lRIozUJ6YDQFfGQxFoWzv8no4gF2fDF0hTdJTPfdJWuv7x4y 2ezUuBJZBaTpYxnzAB+mNRzg8ULpBnX+6ZnP1O4tMwgkBGyWmO5dBMccInL+0H6bg/FBLEaEcao29 P8nnrnCSbC4cP++xFQXN7Jr1jvh92mWisSUAHc0gelGTUvbzo0kYdA2oPhalXrSohWBhLDJOx1WcK ZPaw1KWvSrDlYQ==; Date: Sat, 22 Mar 2025 17:41:48 +0200 Message-Id: <86iko1hy2r.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Konstantin Kharlamov <Hi-Angel@HIDDEN> In-Reply-To: <b6fa674498e366b4b2c4de4bac75dcd20bf38367.camel@HIDDEN> (message from Konstantin Kharlamov on Sat, 22 Mar 2025 17:29:09 +0300) Subject: Re: bug#77138: [PATCH] Add major mode for highlighting .npmrc files References: <7e71b09115ba7de9bec72d840d894b99e0d68ed4.camel@HIDDEN> <86a59djng6.fsf@HIDDEN> <2daf3dd2fdb001819239a0cd53cb770fb3ac7af7.camel@HIDDEN> <a9cdbc380d63dacf8aa55ee6f8913206a3d49963.camel@HIDDEN> <CADwFkm=Q6-9yVWYyQafXizUVZh2Kn0UpZk87R4hY_STf1k-RTg@HIDDEN> <b6fa674498e366b4b2c4de4bac75dcd20bf38367.camel@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77138 Cc: stefankangas@HIDDEN, 77138 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Konstantin Kharlamov <Hi-Angel@HIDDEN> > Cc: 77138 <at> debbugs.gnu.org > Date: Sat, 22 Mar 2025 17:29:09 +0300 > > On Sat, 2025-03-22 at 14:26 +0000, Stefan Kangas wrote: > > Konstantin Kharlamov <Hi-Angel@HIDDEN> writes: > > > > > * New Modes and Packages in Emacs 31.1 > > > > > > +** New major modes that don't depend on the tree-sitter library > > > > Do we really need this explicit headline? > > I don't have a preference, but I see that just a few lines below there' > s a headline about "tree-sitter based new modes", so if we don't add > the new headline it might look off. We mention that a mode is based on tree-sitter because those modes will not be available in Emacs built without tree-sitter.
bug-gnu-emacs@HIDDEN
:bug#77138
; Package emacs
.
Full text available.Received: (at 77138) by debbugs.gnu.org; 22 Mar 2025 14:29:24 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 22 10:29:24 2025 Received: from localhost ([127.0.0.1]:44505 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tvzqm-0003qF-A2 for submit <at> debbugs.gnu.org; Sat, 22 Mar 2025 10:29:24 -0400 Received: from forward500b.mail.yandex.net ([2a02:6b8:c02:900:1:45:d181:d500]:44988) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <Hi-Angel@HIDDEN>) id 1tvzqi-0003py-Es for 77138 <at> debbugs.gnu.org; Sat, 22 Mar 2025 10:29:20 -0400 Received: from mail-nwsmtp-smtp-production-main-85.iva.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-85.iva.yp-c.yandex.net [IPv6:2a02:6b8:c0c:20a:0:640:fad9:0]) by forward500b.mail.yandex.net (Yandex) with ESMTPS id E3F4C60EF7; Sat, 22 Mar 2025 17:29:10 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-85.iva.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id 9TNZB3ILZiE0-ZhLxPMZu; Sat, 22 Mar 2025 17:29:10 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1742653750; bh=MMzGZJWMK2u7ByR5fUAXHXZinJwLdAxANU4p24ydAxE=; h=References:Date:In-Reply-To:Cc:To:From:Subject:Message-ID; b=uLIdrl8NbzXD4/A5EoYiknPOsfe7XUIb4mZRXXFzQFCHGxvQJw2JFFrlL1/yySdl9 hdKZOgUXFn1h9OHjV/8MolXKjmevENkcD2Tw/9VElmCx6VBWDkqUnZs8a8s5RgEh6r ZYgK9G6BssuQkkgkt++baSRHfayl8rsmH2Rmq7sY= Authentication-Results: mail-nwsmtp-smtp-production-main-85.iva.yp-c.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <b6fa674498e366b4b2c4de4bac75dcd20bf38367.camel@HIDDEN> Subject: Re: bug#77138: [PATCH] Add major mode for highlighting .npmrc files From: Konstantin Kharlamov <Hi-Angel@HIDDEN> To: Stefan Kangas <stefankangas@HIDDEN>, Eli Zaretskii <eliz@HIDDEN> Date: Sat, 22 Mar 2025 17:29:09 +0300 In-Reply-To: <CADwFkm=Q6-9yVWYyQafXizUVZh2Kn0UpZk87R4hY_STf1k-RTg@HIDDEN> References: <7e71b09115ba7de9bec72d840d894b99e0d68ed4.camel@HIDDEN> <86a59djng6.fsf@HIDDEN> <2daf3dd2fdb001819239a0cd53cb770fb3ac7af7.camel@HIDDEN> <a9cdbc380d63dacf8aa55ee6f8913206a3d49963.camel@HIDDEN> <CADwFkm=Q6-9yVWYyQafXizUVZh2Kn0UpZk87R4hY_STf1k-RTg@HIDDEN> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.54.3 MIME-Version: 1.0 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 77138 Cc: 77138 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) On Sat, 2025-03-22 at 14:26 +0000, Stefan Kangas wrote: > Konstantin Kharlamov <Hi-Angel@HIDDEN> writes: >=20 > > =C2=A0* New Modes and Packages in Emacs 31.1 > >=20 > > +** New major modes that don't depend on the tree-sitter library >=20 > Do we really need this explicit headline? I don't have a preference, but I see that just a few lines below there' s a headline about "tree-sitter based new modes", so if we don't add the new headline it might look off.
bug-gnu-emacs@HIDDEN
:bug#77138
; Package emacs
.
Full text available.Received: (at 77138) by debbugs.gnu.org; 22 Mar 2025 14:26:11 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 22 10:26:11 2025 Received: from localhost ([127.0.0.1]:44499 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tvznf-0003l4-5R for submit <at> debbugs.gnu.org; Sat, 22 Mar 2025 10:26:11 -0400 Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]:47486) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1tvznc-0003kr-IU for 77138 <at> debbugs.gnu.org; Sat, 22 Mar 2025 10:26:09 -0400 Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-5e5b56fc863so4223481a12.3 for <77138 <at> debbugs.gnu.org>; Sat, 22 Mar 2025 07:26:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742653562; x=1743258362; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=lmq6q+bBdK8q01P4QghyykCjtnasAEhhkx+xWP/ScMI=; b=m/pivOC+a3DARIOl2afNfE0STW5z3CwtrjnuUXpYBoWb45lPjNOw5rA20hGXRGBDfV 7vAjOKR10vnomNIXzSqiqfz+RE88zebDYlYbB5z/lrFNIdGOw/dEuL7o+/temFO21B/Z lowqnXoIXUSHwVZNhQZm05yGmvbUqZY2Gy3yEr38CEOerf2mn/MMHjISGZSJcr+ZAN6D CcH9XiXeiblkIWko1sE5iHeyrZw2LnRV72EYKqlLrQmRitGmhFZc5nwhSkSNnqbls0lR dIX1hTSjQrpp/J2Lw4HvZWmB3Qq2WPQV3TjIaPHWgWMcfXisGvrr356fVUeF7jWMVgV9 3hdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742653562; x=1743258362; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=lmq6q+bBdK8q01P4QghyykCjtnasAEhhkx+xWP/ScMI=; b=VIZ1OyXPxW3p6O/VZ1DE6OJlx+c0wNEyjO9kD1aKMhFe9pAgCDVvgf3LAjzSJbEGcz zHJ9BujMdzWwMcLCMj6DRt4OKMi8e+Biw1eihrrH19BPrKeFyruiHaqdd4TYEzqM9KFu ABtyjOg0V546JlymrmAYLqLT6OlKyCMmvoN2339y8793iSFhT/xQcNBoJx4A26ydw+bI 5xFCi3lqm+T2aVyhd4Ot8kzKv6V3ZuosdTtkgNPsV8PVm5VQipcBbcL2z8fKAf6aQxqL Mg6dczG8oEDyaM8Mkd0j4ceN2Wc3sjvKoeYVdOTzxTLZZX5dLFqGAVwa2eZAxg8UXjcm 2U0Q== X-Gm-Message-State: AOJu0YwTFCr1sc0GKG/v/pStXBMUrrPSoD8S1XpUq7TFXDdVppESxylu wCBykSdRclYi0JyQ0hUH/zXBZ7Pvnnww8S0k5UWw4Y4VpmiJJc3zkQt5MizYO4r5zPUbsu3k+ht lmbkFXC6uOuIIxAYyQpUECzdLUgUliNyL X-Gm-Gg: ASbGncsPNGCXOxLUsjVkH+xtw8aFkvSQSmA3kMiFdrYC+UdPOxruXL9ELrIEA99dRbk 82bWbdpGHdzvwFnc3MjVNZU6+Wa0uGL7I+8qix9uqZsC3tl+YBjUglYiDb/EQ3gQnv9NrYiuI6f OyRzs1T/ldl+fLIPHPtkL5nRA0RRQ= X-Google-Smtp-Source: AGHT+IFfKY2E+vUi7I8EjXhn/b93mW0GCsMdTxifb9OX2DdcaA2PKzSsYwP9w+2+wMWBD/MYFbvjFR0hE3h7Fq/iC78= X-Received: by 2002:a05:6402:3582:b0:5e5:d91c:4151 with SMTP id 4fb4d7f45d1cf-5ebcd4636a1mr6089102a12.16.1742653562412; Sat, 22 Mar 2025 07:26:02 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 22 Mar 2025 14:26:02 +0000 From: Stefan Kangas <stefankangas@HIDDEN> In-Reply-To: <a9cdbc380d63dacf8aa55ee6f8913206a3d49963.camel@HIDDEN> References: <7e71b09115ba7de9bec72d840d894b99e0d68ed4.camel@HIDDEN> <86a59djng6.fsf@HIDDEN> <2daf3dd2fdb001819239a0cd53cb770fb3ac7af7.camel@HIDDEN> <a9cdbc380d63dacf8aa55ee6f8913206a3d49963.camel@HIDDEN> MIME-Version: 1.0 Date: Sat, 22 Mar 2025 14:26:02 +0000 X-Gm-Features: AQ5f1JrLj-0UVQrcs1-7sgTyl-gLV6ZA6BIrDXH1KUoNLoVv6qpyOK-Ya3NT2bQ Message-ID: <CADwFkm=Q6-9yVWYyQafXizUVZh2Kn0UpZk87R4hY_STf1k-RTg@HIDDEN> Subject: Re: bug#77138: [PATCH] Add major mode for highlighting .npmrc files To: Konstantin Kharlamov <Hi-Angel@HIDDEN>, Eli Zaretskii <eliz@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77138 Cc: 77138 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Konstantin Kharlamov <Hi-Angel@HIDDEN> writes: > * New Modes and Packages in Emacs 31.1 > > +** New major modes that don't depend on the tree-sitter library Do we really need this explicit headline?
bug-gnu-emacs@HIDDEN
:bug#77138
; Package emacs
.
Full text available.Received: (at 77138) by debbugs.gnu.org; 22 Mar 2025 14:00:11 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 22 10:00:11 2025 Received: from localhost ([127.0.0.1]:44431 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tvzOU-0008F8-M1 for submit <at> debbugs.gnu.org; Sat, 22 Mar 2025 10:00:11 -0400 Received: from forward502a.mail.yandex.net ([178.154.239.82]:37252) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <Hi-Angel@HIDDEN>) id 1tvzOR-0007mz-GD for 77138 <at> debbugs.gnu.org; Sat, 22 Mar 2025 10:00:08 -0400 Received: from mail-nwsmtp-smtp-production-main-73.iva.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-73.iva.yp-c.yandex.net [IPv6:2a02:6b8:c0c:bca8:0:640:45be:0]) by forward502a.mail.yandex.net (Yandex) with ESMTPS id 24F0B6101E; Sat, 22 Mar 2025 16:59:59 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-73.iva.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id vxMvbEKLm8c0-0wQFiRx9; Sat, 22 Mar 2025 16:59:58 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1742651998; bh=xJ/v85kpsSxxug9PSmTfuzc8HeBQDyTavcNbIS+YPoE=; h=Date:In-Reply-To:Cc:References:To:From:Subject:Message-ID; b=R7KLr83IotlWvukDUB3YDUSB+7xrvoYA+Xt89OLbDZ5Uhbl7sxEDLXEYdRgpwdLjg kmTBDDPRKnXwsIAXtDbXuyPhdnYcZUbcJDncRKUwcUA8ZUywcMRYl5WhHxz3MaNoMk qrbqTapL91z10FUSgW3msV5UAKKGpErmUDcDblX8= Authentication-Results: mail-nwsmtp-smtp-production-main-73.iva.yp-c.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <a9cdbc380d63dacf8aa55ee6f8913206a3d49963.camel@HIDDEN> Subject: Re: bug#77138: [PATCH] Add major mode for highlighting .npmrc files From: Konstantin Kharlamov <Hi-Angel@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Date: Sat, 22 Mar 2025 16:59:57 +0300 In-Reply-To: <2daf3dd2fdb001819239a0cd53cb770fb3ac7af7.camel@HIDDEN> References: <7e71b09115ba7de9bec72d840d894b99e0d68ed4.camel@HIDDEN> <86a59djng6.fsf@HIDDEN> <2daf3dd2fdb001819239a0cd53cb770fb3ac7af7.camel@HIDDEN> Content-Type: multipart/mixed; boundary="=-+tSHRZcKPZD9/qS6QMGg" User-Agent: Evolution 3.54.3 MIME-Version: 1.0 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77138 Cc: 77138 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --=-+tSHRZcKPZD9/qS6QMGg Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, 2025-03-22 at 15:51 +0300, Konstantin Kharlamov wrote: > On Sat, 2025-03-22 at 13:48 +0200, Eli Zaretskii wrote: > > > +(define-derived-mode conf-npmrc-mode conf-mode "Conf[npmrc]" > > > + "Conf Mode starter for .npmrc files. > > > +Comments start with `#' and `;'. For details see `conf-mode'." > > > + (conf-mode-initialize "#") > > > + (modify-syntax-entry ?\; "<") > > > + (modify-syntax-entry ?\# "<")) > >=20 > > Doesn't this affect the global syntax table, not just the syntax > > local to the buffer under this mode? >=20 > Oooh, good catch! I counfounded "current buffer's syntax table" with > being buffer-local as opposed to mode local. >=20 > Thank you very much, will fix today! Fixed! Patch is attached --=-+tSHRZcKPZD9/qS6QMGg Content-Disposition: attachment; filename="1.patch" Content-Transfer-Encoding: base64 Content-Type: text/x-patch; name="1.patch"; charset="UTF-8" RnJvbSAxMjU5MTBkNTljNjc2ZjRkMmQyNWYwNGQ4MGJiNTEzNDdhMDZkZDQ4IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBLb25zdGFudGluIEtoYXJsYW1vdiA8SGktQW5nZWxAeWFuZGV4 LnJ1PgpEYXRlOiBUaHUsIDIwIE1hciAyMDI1IDE5OjE3OjMyICswMzAwClN1YmplY3Q6IFtQQVRD SF0gQWRkIG1ham9yIG1vZGUgZm9yIGhpZ2hsaWdodGluZyAubnBtcmMgZmlsZXMKCiogZXRjL05F V1M6IG1lbnRpb24gdGhlIG5ldyBtb2RlLgoqIGxpc3AvdGV4dG1vZGVzL2NvbmYtbW9kZS5lbCAo Y29uZi1ucG1yYy1tb2RlLXN5bnRheC10YWJsZSk6IG5ldwp2YXJpYWJsZS4KKiBsaXNwL3RleHRt b2Rlcy9jb25mLW1vZGUuZWwgKGNvbmYtbnBtcmMtbW9kZSk6IG5ldyBtYWpvciBtb2RlCmRlcml2 ZWQgZnJvbSBjb25mLW1vZGUgZm9yIGhpZ2hsaWdodGluZyAubnBtcmMgZmlsZXMuCiogbGlzcC9m aWxlcy5lbCAoYXV0by1tb2RlLWFsaXN0KTogYXNzb2NpYXRlIHRoZSBuZXcgbW9kZSB3aXRoIC5u cG1yYwpmaWxlbmFtZS4KLS0tCiBldGMvTkVXUyAgICAgICAgICAgICAgICAgICAgfCAgNSArKysr KwogbGlzcC9maWxlcy5lbCAg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bWVudHMgc3RhcnQgd2l0aCBg IycgYW5kIGA7Jy4gRm9yIGRldGFpbHMgc2VlIGBjb25mLW1vZGUnLiIKKyAoY29uZi1tb2RlLWlu aXRpYWxpemUgIiMiKSkKKwogKHByb3ZpZGUgJ2NvbmYtbW9kZSkKIAogOzs7IGNvbmYtbW9kZS5l bCBlbmRzIGhlcmUKLS0gCjIuNDguMQoK --=-+tSHRZcKPZD9/qS6QMGg--
bug-gnu-emacs@HIDDEN
:bug#77138
; Package emacs
.
Full text available.Received: (at 77138) by debbugs.gnu.org; 22 Mar 2025 12:51:23 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 22 08:51:22 2025 Received: from localhost ([127.0.0.1]:41461 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tvyJu-0003e2-9y for submit <at> debbugs.gnu.org; Sat, 22 Mar 2025 08:51:22 -0400 Received: from forward502d.mail.yandex.net ([178.154.239.210]:45916) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <Hi-Angel@HIDDEN>) id 1tvyJo-0003dc-Hj for 77138 <at> debbugs.gnu.org; Sat, 22 Mar 2025 08:51:17 -0400 Received: from mail-nwsmtp-smtp-production-main-94.klg.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-94.klg.yp-c.yandex.net [IPv6:2a02:6b8:c42:e2ca:0:640:d17d:0]) by forward502d.mail.yandex.net (Yandex) with ESMTPS id EC51260F47; Sat, 22 Mar 2025 15:51:07 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-94.klg.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id 7pLL7TTLlmI0-fTDrgIew; Sat, 22 Mar 2025 15:51:07 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1742647867; bh=Lyq1PA7Tii9o00VGzWYFaWNXbM451VZ5FW29JXha6TE=; h=References:Date:In-Reply-To:Cc:To:From:Subject:Message-ID; b=vX85cYfzHtEciQR0phZ8WbyOZRltchflEWSRppT7AgWwQTzVq72pn+UN9ej2CuNME phsOY01ICBNkSNFRzDEZ9sJCRu3nEYT4a+v96fxTzfRd4EkadeKE9AQPNQzOp6JXwZ HScLMFtvsPGVgB7SJe5l5qAW8kk0a6gbTCTXdJjc= Authentication-Results: mail-nwsmtp-smtp-production-main-94.klg.yp-c.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <2daf3dd2fdb001819239a0cd53cb770fb3ac7af7.camel@HIDDEN> Subject: Re: bug#77138: [PATCH] Add major mode for highlighting .npmrc files From: Konstantin Kharlamov <Hi-Angel@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Date: Sat, 22 Mar 2025 15:51:07 +0300 In-Reply-To: <86a59djng6.fsf@HIDDEN> References: <7e71b09115ba7de9bec72d840d894b99e0d68ed4.camel@HIDDEN> <86a59djng6.fsf@HIDDEN> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.54.3 MIME-Version: 1.0 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77138 Cc: 77138 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) On Sat, 2025-03-22 at 13:48 +0200, Eli Zaretskii wrote: > > +(define-derived-mode conf-npmrc-mode conf-mode "Conf[npmrc]" > > + "Conf Mode starter for .npmrc files. > > +Comments start with `#' and `;'. For details see `conf-mode'." > > + (conf-mode-initialize "#") > > + (modify-syntax-entry ?\; "<") > > + (modify-syntax-entry ?\# "<")) >=20 > Doesn't this affect the global syntax table, not just the syntax > local to the buffer under this mode? Oooh, good catch! I counfounded "current buffer's syntax table" with being buffer-local as opposed to mode local. Thank you very much, will fix today!
bug-gnu-emacs@HIDDEN
:bug#77138
; Package emacs
.
Full text available.Received: (at 77138) by debbugs.gnu.org; 22 Mar 2025 11:48:39 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 22 07:48:39 2025 Received: from localhost ([127.0.0.1]:41259 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tvxLC-00064a-Qx for submit <at> debbugs.gnu.org; Sat, 22 Mar 2025 07:48:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46454) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tvxLA-00064M-Ad for 77138 <at> debbugs.gnu.org; Sat, 22 Mar 2025 07:48:36 -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 <eliz@HIDDEN>) id 1tvxL3-0002EO-UO; Sat, 22 Mar 2025 07:48:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=1DixUcc6vc+D5f00oqFXwxzaMRiPVIh2eDKT7HOXOT4=; b=HppA+zwQHpGdAn2pzzRw 561gnuqvAwBbTRnD7rn1qAFt2yRGt2uLWPIFW3334YOu/Hkw4uTfkZ3KFVTVFoFWJ264NgCygKvRU SE0yvRYk7iCIQaCEWPSMCtUSLmjhEjx8MFEA7mwXSxpZabEjYpGFTK1nIRN1dUTImnFEU1ILrlw0u ggIOABWG6Q3g2bnAHs5UlejAWGxtbH/x14IYVZBKAynzzcVrksp0/maXzVLcsmko4qR9Kc+fal3Z5 xn8mCNEdPACXYT1uk5H3LdV61hZ8xsZlEcgCUGqI1qd/ve7z/rmFzLtPDAzVrLKFYFqbt2Y/vp1m2 09e7gAwc5C5msA==; Date: Sat, 22 Mar 2025 13:48:25 +0200 Message-Id: <86a59djng6.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Konstantin Kharlamov <Hi-Angel@HIDDEN> In-Reply-To: <7e71b09115ba7de9bec72d840d894b99e0d68ed4.camel@HIDDEN> (message from Konstantin Kharlamov on Thu, 20 Mar 2025 19:26:03 +0300) Subject: Re: bug#77138: [PATCH] Add major mode for highlighting .npmrc files References: <7e71b09115ba7de9bec72d840d894b99e0d68ed4.camel@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77138 Cc: 77138 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Konstantin Kharlamov <Hi-Angel@HIDDEN> > Date: Thu, 20 Mar 2025 19:26:03 +0300 > > ".npmrc" are configuration files used by "npm", which in turn is a > widely used package manager in web-development setting (javascript, > typescript, etc). > > I don't have much expertise in NPM field, but judging by the official > documentation¹ it's basically ini-style `key = value`, but with two > comment styles (semicolon and hash sign). > > Easily implementable by deriving from conf-mode and adding the comment > styles. > > Patch is attached. Thanks. > +(define-derived-mode conf-npmrc-mode conf-mode "Conf[npmrc]" > + "Conf Mode starter for .npmrc files. > +Comments start with `#' and `;'. For details see `conf-mode'." > + (conf-mode-initialize "#") > + (modify-syntax-entry ?\; "<") > + (modify-syntax-entry ?\# "<")) Doesn't this affect the global syntax table, not just the syntax local to the buffer under this mode?
bug-gnu-emacs@HIDDEN
:bug#77138
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 20 Mar 2025 16:26:42 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 20 12:26:42 2025 Received: from localhost ([127.0.0.1]:58644 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tvIjB-0001yL-Pg for submit <at> debbugs.gnu.org; Thu, 20 Mar 2025 12:26:42 -0400 Received: from lists.gnu.org ([2001:470:142::17]:33478) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <Hi-Angel@HIDDEN>) id 1tvIj6-0001xq-Lk for submit <at> debbugs.gnu.org; Thu, 20 Mar 2025 12:26:38 -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 <Hi-Angel@HIDDEN>) id 1tvIio-0005pW-4o for bug-gnu-emacs@HIDDEN; Thu, 20 Mar 2025 12:26:19 -0400 Received: from forward100b.mail.yandex.net ([2a02:6b8:c02:900:1:45:d181:d100]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Hi-Angel@HIDDEN>) id 1tvIik-0002II-TL for bug-gnu-emacs@HIDDEN; Thu, 20 Mar 2025 12:26:17 -0400 Received: from mail-nwsmtp-smtp-production-main-87.sas.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-87.sas.yp-c.yandex.net [IPv6:2a02:6b8:c37:7ccb:0:640:b046:0]) by forward100b.mail.yandex.net (Yandex) with ESMTPS id C25C460B50 for <bug-gnu-emacs@HIDDEN>; Thu, 20 Mar 2025 19:26:04 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-87.sas.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id 4QNP4o3LeCg0-ZyB5zhxb; Thu, 20 Mar 2025 19:26:04 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1742487964; bh=/a5UMUVzhObC6IZCTaMg3Y0lhMCOwarp+FhUaeUvkwo=; h=Date:To:From:Subject:Message-ID; b=Ti3sCX8QFcfEeDT/LmZdpSnsqB0nneMMinj68M7pzgeHBESFC26bh3kZ1hzjvKz4G WEVP1KzYqHdFRTLBV9EYkUsUSmhG8PhShSwXus38jfFkgN+dWItapW0BKy7etwRu5Z p8gQFS7xzc60h7kefe1i+3ga2TCYjn7uhFqWOF5o= Authentication-Results: mail-nwsmtp-smtp-production-main-87.sas.yp-c.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <7e71b09115ba7de9bec72d840d894b99e0d68ed4.camel@HIDDEN> Subject: [PATCH] Add major mode for highlighting .npmrc files From: Konstantin Kharlamov <Hi-Angel@HIDDEN> To: bug-gnu-emacs@HIDDEN Date: Thu, 20 Mar 2025 19:26:03 +0300 Content-Type: multipart/mixed; boundary="=-yQNgMAOdBugZvemjQ+Rs" User-Agent: Evolution 3.54.3 MIME-Version: 1.0 Received-SPF: pass client-ip=2a02:6b8:c02:900:1:45:d181:d100; envelope-from=Hi-Angel@HIDDEN; helo=forward100b.mail.yandex.net X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 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_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_SBL_A=0.1 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: ".npmrc" are configuration files used by "npm", which in turn is a widely used package manager in web-development setting (javascript, typescript, etc). I don't have much expertise in NPM field, but judging by the official documentation¹ it's basically ini-style `key = value`, but with two comment styles (semicolon and hash sign). Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.1 URIBL_SBL_A Contains URL's A record listed in the Spamhaus SBL blocklist [URIs: docs.npmjs.com] 0.6 URIBL_SBL Contains an URL's NS IP listed in the Spamhaus SBL blocklist [URIs: docs.npmjs.com] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (hi-angel[at]yandex.ru) 0.0 SPOOFED_FREEMAIL No description available. X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.7 (/) --=-yQNgMAOdBugZvemjQ+Rs Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable ".npmrc" are configuration files used by "npm", which in turn is a widely used package manager in web-development setting (javascript, typescript, etc). I don't have much expertise in NPM field, but judging by the official documentation=C2=B9 it's basically ini-style `key =3D value`, but with two comment styles (semicolon and hash sign). Easily implementable by deriving from conf-mode and adding the comment styles. Patch is attached. 1: https://docs.npmjs.com/cli/v11/configuring-npm/npmrc --=-yQNgMAOdBugZvemjQ+Rs Content-Disposition: attachment; filename="1.patch" Content-Type: text/x-patch; name="1.patch"; charset="UTF-8" Content-Transfer-Encoding: base64 RnJvbSBmYzA1NDE5MTA5ZTI3MDQ1NTFlZTRkZjQzYTFhMWJmYmI5MGFkY2ZiIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBLb25zdGFudGluIEtoYXJsYW1vdiA8SGktQW5nZWxAeWFuZGV4 LnJ1PgpEYXRlOiBUaHUsIDIwIE1hciAy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Bjb25mLW1vZGUuZWwgZW5kcyBoZXJlCi0tIAoy LjQ4LjEKCg== --=-yQNgMAOdBugZvemjQ+Rs--
Konstantin Kharlamov <Hi-Angel@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#77138
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.