From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oJNaF7z67mEI8gAAgWs5BA (envelope-from ) for ; Mon, 24 Jan 2022 20:15:08 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id oBLAFLz67mGAswAA9RJhRA (envelope-from ) for ; Mon, 24 Jan 2022 20:15:08 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DC4A411EF4 for ; Mon, 24 Jan 2022 20:15:07 +0100 (CET) Received: from localhost ([::1]:35570 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nC4nx-0002Hh-RK for larch@yhetil.org; Mon, 24 Jan 2022 14:15:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51122) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nC4bK-0007vN-HU for guix-patches@gnu.org; Mon, 24 Jan 2022 14:02:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52969) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nC4bK-0007u0-4o for guix-patches@gnu.org; Mon, 24 Jan 2022 14:02:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nC4bK-0000Ya-33 for guix-patches@gnu.org; Mon, 24 Jan 2022 14:02:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53472] [PATCH v3] gnu: Add emacs-nim-mode References: <20220123133837.1035-1-paren@disroot.org> In-Reply-To: <20220123133837.1035-1-paren@disroot.org> Resent-From: "(unmatched-parenthesis" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 24 Jan 2022 19:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53472 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53472@debbugs.gnu.org Cc: "\(unmatched-parenthesis" Received: via spool by 53472-submit@debbugs.gnu.org id=B53472.1643050891668 (code B ref 53472); Mon, 24 Jan 2022 19:02:02 +0000 Received: (at 53472) by debbugs.gnu.org; 24 Jan 2022 19:01:31 +0000 Received: from localhost ([127.0.0.1]:45872 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nC4ap-0000AJ-68 for submit@debbugs.gnu.org; Mon, 24 Jan 2022 14:01:31 -0500 Received: from knopi.disroot.org ([178.21.23.139]:33184) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nC4an-00008E-PX for 53472@debbugs.gnu.org; Mon, 24 Jan 2022 14:01:30 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 372E0531C6; Mon, 24 Jan 2022 20:01:28 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with UTF8SMTP id 5tNfZZ1BPnnv; Mon, 24 Jan 2022 20:01:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1643050868; bh=/4daFXOavKC1cnqb3jZy6DE0tJoO25Kx2xDBc3yLDJo=; h=From:To:Cc:Subject:Date; b=XB2M0gK9aQmfr/GKNcwp4uvpuMnhl1G7wKF42pdOFtk2exqfXPWQxOxDMy+7EcVQU 1CsJEYdm4awhXOtz0HADoWmbmMfCy4D0l9eyIqNxLKqzVBuB2/UnePJYcmMQHQV47n 5Wed65BSKghzvuMFpWcxS+X0ngff+asHJACuJHz7T4bIEkf8wI4QiX5QKArLlR7Oqf puGeptIhXI8i2kQlJMfw1ls+bj49aAH05Gc9xk7pBti9x5prmIVgEHPl5rbyd/d1V0 dxR0CyBy0myvHb+BzR6WnovkkS/eSTkc2z3NvsjsAbs6LLnT6yRAX0d+qF6IxeyOil Y4PZN8HmtI2yA== Date: Mon, 24 Jan 2022 19:00:58 +0000 Message-Id: <20220124190058.21503-1-paren@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: "\(unmatched-parenthesis" X-ACL-Warn: , "\(unmatched-parenthesis via Guix-patches" From: "\(unmatched-parenthesis via Guix-patches" via X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643051707; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=mw1JNUy2UiRZv7sfH7XCeupWoN/Btw/AkAycdUlyBbg=; b=nX8HGcDk6Yued4o+wxta/kK8h9dHZwGdpRtCAULS4ZnFZ82En1I9v4App3ORT3H2omoBep FoU8A7UH054gW4nVLyPhNsBqfY0Ak9uA7CrLv+HYx5kw95U4R+IfhFOLusyNiqAjj3CC9o nR8NPL2mFYIsDufj0gTbdv+tpPuYQJpwQ3rmdXPQix6CDlXKxYHIYuOFrr2JUMBJ94wstB O7ATfvINBt8GpZYXVYkkjfgX/vTapV/6iXKYI0ZGThnqpPimXeOQ3757qbKopRvdZvUfHg 01LAIslotJVJW0f3CO6n0cctM1BUykdDcuGf27ixZqSq51m8rtevchGio0t/tQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643051707; a=rsa-sha256; cv=none; b=hx+A68vP9UQAdh5Bqvk/kHy87GRBTsgPbRCvZPCZB7JLhjBGQ6HKDUgQuF+IRAQ+r8ecsl NaJOKgYP/Ddzh7VEGgMyJpP3wEM7lRqo9elA0lTYhsv/WB3zb90il+8t1o/CmpC6K1Qehz R5Lpvc4PfQrxZn/qIHtgmojyqmreKwwl0iEspyz41/KFskNIqBu8dwpm9Of0Cxcoi2g1Cx CZczKakEQ0uH1fZhrfrxtNST7P1Mj4YfTuWNdSXs0jhZXQswTmbepFPeKgLmoGEDQsSgX5 0QQa9er+2qo0sg8wMLvkZ94z/dIh7AEWyp5ovGaTTavPidV7hDTi+NA6iESXmg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=XB2M0gK9; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.13 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=XB2M0gK9; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: DC4A411EF4 X-Spam-Score: -3.13 X-Migadu-Scanner: scn1.migadu.com X-TUID: Mii6cfqhbAc8 Aren't typos fun. * gnu/packages/emacs-xyz.scm(emacs-nim-mode): New variable. --- gnu/packages/emacs-xyz.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 8edbfc5a3d..e7a7edbd14 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -107,6 +107,7 @@ ;;; Copyright © 2021 Brian Kubisiak ;;; Copyright © 2021, 2022 Taiju HIGASHI ;;; Copyright © 2022 Brandon Lucas +;;; Copyright © 2022 (unmatched parenthesis ;;; ;;; This file is part of GNU Guix. ;;; @@ -29837,3 +29838,30 @@ (define-public emacs-fennel-mode "Fennel mode provides font-lock, indentation, navigation, and REPL for Fennel code within Emacs.") (license license:gpl3+))) + +(define-public emacs-nim-mode + (let ((commit "744e076f0bea1c5ddc49f92397d9aa98ffa7eff8") + (revision "0")) + (package + (name "emacs-nim-mode") + (version (git-version "0.4.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/nim-lang/nim-mode") + (commit commit))) + (sha256 + (base32 "0dwas3ivhxdyw6njkcadc8c17cirq325cmby04qls8zkmrvlil1w")))) + (build-system emacs-build-system) + (home-page "https://github.com/nim-lang/nim-mode") + (synopsis "Major mode for editing Nim source code") + (description "This package provides major modes for Nim: ++@itemize ++@item Syntax highlighting for Nim code, Nimble configuration files, and nim.cfg ++@item `M-x nim-compile`, which can also be invoked with `C-c C-c` inside a Nim source file ++@item File outline by procedures ++@item Indentation and line breaking (alpha) ++@item Integration with nimsuggest, the Nim linting and completion server (alpha, both nimsuggest-mode and nimsuggest itself are currently VERY unstable and may make emacs much less responsive) ++@end itemize") + (license license:gpl3+)))) -- 2.34.0