From patchwork Wed Mar 26 17:15:47 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "King, Spencer via Guix-patches\" via" X-Patchwork-Id: 40862 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 65FEA27BBEA; Wed, 26 Mar 2025 17:18:28 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 33BCE27BBE2 for ; Wed, 26 Mar 2025 17:18:27 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1txUOD-0000Hm-07; Wed, 26 Mar 2025 13:18:05 -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 1txUOA-0000Ga-Mi for guix-patches@gnu.org; Wed, 26 Mar 2025 13:18:02 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1txUOA-0002UH-CR for guix-patches@gnu.org; Wed, 26 Mar 2025 13:18:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=RohKqe4GJMx4WnqRsfB/0vuWXGvB2rs+LrHpPr2ZfPw=; b=ihcoqXppLfbNuRPtLdwXW62kzCTfU0lYWkT00wrFyZrfGC401tetX4Kqq0AKflRK92j5oXK4cBhr1dgWamn59osDDOlSrVD29o0O4OIC/k2yjsP/ps5sZRVf9x1nQnUpjW5ovwI/2SV/lJ4QkvxIm4ZMeEVur6sPAFzdSFqtp+oWzgpH0+yXKGUP4hBGMt35rj7Zp4rHwrP36u3Lbhng48kRcXdccH1HshN2CVqdZJW4OcpgXySGZukk9isToDGtN0mVkYAOeiQ1tsCp1wHwS7wiPDAjb3WZVTzuVhDwU3DDyyszHRoDFqPJjF5O+dAvR3fFj+tww6XHhyJzj4lzrQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1txUOA-0001w8-2H for guix-patches@gnu.org; Wed, 26 Mar 2025 13:18:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77290] [PATCH] gnu: Add emacs-rescript-mode Resent-From: vasilii.smirnov@mailbox.org Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 26 Mar 2025 17:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 77290 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77290@debbugs.gnu.org Cc: Vasilii Smirnov X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17430094287348 (code B ref -1); Wed, 26 Mar 2025 17:18:01 +0000 Received: (at submit) by debbugs.gnu.org; 26 Mar 2025 17:17:08 +0000 Received: from localhost ([127.0.0.1]:44212 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1txUNH-0001uR-LV for submit@debbugs.gnu.org; Wed, 26 Mar 2025 13:17:08 -0400 Received: from lists.gnu.org ([2001:470:142::17]:53064) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1txUNF-0001tV-6Z for submit@debbugs.gnu.org; Wed, 26 Mar 2025 13:17:05 -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 1txUMx-0008UO-KM for guix-patches@gnu.org; Wed, 26 Mar 2025 13:16:48 -0400 Received: from mout-p-101.mailbox.org ([80.241.56.151]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1txUMu-0002Lj-Q4 for guix-patches@gnu.org; Wed, 26 Mar 2025 13:16:47 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4ZND3V5kP9z9tCZ for ; Wed, 26 Mar 2025 18:16:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1743009398; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=RohKqe4GJMx4WnqRsfB/0vuWXGvB2rs+LrHpPr2ZfPw=; b=RzQAyuuinMUp1xw+8YaNDBt0i1hARW7WkdVV6CjwsDl2t/q5+2KwOIo+FsSCnAis85Lelf NeLd+Y+ENLYM4EvAOBg9Xseolhej8Gd0QZXlM/mZfMO11VxP/bI3ALNtpzfQkkd4PGyuHy HTqAiDFIPxkfGW4Me86iBXm7s1kawQf5A1Xc0n/4cyKSKq4Qn/a7gO9A9lHd8TeK9qN2tg yglVcoP8/8VeshtDtXhmdbBs0r8AMrWrkyRDRNfp5V0L9tiWsNpj8uPbZ7mJroGEwcoivZ EkKnM7AirjICOu6QOqwqg4iKaXTAKuV/J8zldJ2udvBeZ7dyZhvjAkbzm4gI6w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1743009396; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=RohKqe4GJMx4WnqRsfB/0vuWXGvB2rs+LrHpPr2ZfPw=; b=quD00GVdLI3bfwc6Ie2+AwLqNF0l+TFK7NgRMYicNNpdLAsjoT+abOMxjx4qOJZZOSFXOD VicxFeyoM13uJlkf8wJtc4bAn9MFz7oNj3WXt+z1PJVfcB88awoLR9yT8NcWEAEze28eP8 h6Z1TMCmE5LlJGJkJEmtt3zrco+O6tlrgRojcJ6yTy0sE/Ha5sAucLNps0fkUodEhJk6Bu GLmn6Kb243g6cnp5lxd3fO9N4QGQ/tDbaifcwFhipDNzZYMJmORyBsLg8tmPCDyAqKDyqP uVZsrvWTP03IE5uDgBFTl6mlQ8QC8IAKRb1uB/vdsRlfz3SkWcPZpsi+hGhGdg== Date: Wed, 26 Mar 2025 18:15:47 +0100 Message-ID: <3a21ded4879d324ee6c86b33542eb71765aad081.1743009283.git.vasilii.smirnov@mailbox.org> MIME-Version: 1.0 X-MBO-RS-ID: eacbb4bd2f6fa88f9a3 X-MBO-RS-META: rko6t1fn5hmn4w4whzfrgppgj5cdjx9k X-Rspamd-Queue-Id: 4ZND3V5kP9z9tCZ Received-SPF: pass client-ip=80.241.56.151; envelope-from=vasilii.smirnov@mailbox.org; helo=mout-p-101.mailbox.org 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_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: vasilii.smirnov@mailbox.org X-ACL-Warn: , "vasilii.smirnov--- via Guix-patches" X-Patchwork-Original-From: "vasilii.smirnov--- via Guix-patches" via From: "King, Spencer via Guix-patches\" via" Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: Vasilii Smirnov * gnu/packages/emacs-xyz.scm (emacs-rescript-mode): New variable. Change-Id: I52fa3e2693f62aa25ec2d97441bc3f191d46ac0b --- gnu/packages/emacs-xyz.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) base-commit: a9239a769c5611f12061c9a895e4e218b3445e2f diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index da30b4776c..8133654138 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -3772,6 +3772,27 @@ (define-public emacs-reformatter optional minor mode which can apply this command automatically on save.") (license license:gpl3+))) +(define-public emacs-rescript-mode + (let ((commit "b9dda43cc52cd4a9b384c59fb0cc7a11f0bad230") + (revision "0")) + (package + (name "emacs-rescript-mode") + (version (git-version "0.0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jjlee/rescript-mode") + (commit commit))) + (sha256 + (base32 + "00pjn683zl5rcmwf86gs4ikxzz82d3rpmicpxhgy2m2xyrfxpz89")) + (file-name (git-file-name name version)))) + (build-system emacs-build-system) + (home-page "https://github.com/jjlee/rescript-mode") + (synopsis "Major mode for editing ReScript") + (description "This package provides a major mode for editing ReScript source code.") + (license license:gpl3)))) + (define-public emacs-language-id (package (name "emacs-language-id")