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 wPZ4B4xa7WG6HwEAgWs5BA (envelope-from ) for ; Sun, 23 Jan 2022 14:39:24 +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 8A3uBIxa7WHYtwAA9RJhRA (envelope-from ) for ; Sun, 23 Jan 2022 14:39:24 +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 AB91C12744 for ; Sun, 23 Jan 2022 14:39:23 +0100 (CET) Received: from localhost ([::1]:41822 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nBd5W-0005X8-KP for larch@yhetil.org; Sun, 23 Jan 2022 08:39:22 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49436) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nBd5D-0005Ut-PJ for guix-patches@gnu.org; Sun, 23 Jan 2022 08:39:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46004) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nBd5C-0001cH-45 for guix-patches@gnu.org; Sun, 23 Jan 2022 08:39:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nBd5C-0001ay-0A for guix-patches@gnu.org; Sun, 23 Jan 2022 08:39:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53472] [PATCH] gnu: Add emacs-nim-mode Resent-From: "(unmatched-parenthesis" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 23 Jan 2022 13:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53472 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53472@debbugs.gnu.org Cc: "\(unmatched-parenthesis" X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16429451396120 (code B ref -1); Sun, 23 Jan 2022 13:39:01 +0000 Received: (at submit) by debbugs.gnu.org; 23 Jan 2022 13:38:59 +0000 Received: from localhost ([127.0.0.1]:38907 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nBd58-0001ad-Se for submit@debbugs.gnu.org; Sun, 23 Jan 2022 08:38:59 -0500 Received: from lists.gnu.org ([209.51.188.17]:43856) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nBd57-0001aU-JP for submit@debbugs.gnu.org; Sun, 23 Jan 2022 08:38:58 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49418) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nBd56-0005SP-Ck for guix-patches@gnu.org; Sun, 23 Jan 2022 08:38:57 -0500 Received: from knopi.disroot.org ([178.21.23.139]:54358) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nBd53-0001aS-St for guix-patches@gnu.org; Sun, 23 Jan 2022 08:38:55 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 1EF0C9264; Sun, 23 Jan 2022 14:38:52 +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 3Ffxs8lSoh5U; Sun, 23 Jan 2022 14:38:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1642945130; bh=cagiNy+z8xiu7m4/WVIut4EOi/BV0Yk4B3Rzbw8ka7g=; h=From:To:Cc:Subject:Date; b=ixysnBK1OnIvQMPxd/pVbxlJduYhk8Y7IQVozESwyn74RwlvaBe+wIB7ebjCWJefM OEQqcPFgz8IK9FD4wSsRkLbfsLcVeSBy5BAJ58uSfjNlLfx99wV1wUEmNULulA2lPu xhJFuO4tfwIHlkP9nBfSPXfZjzfqjoLF3y25fjIR1vmjLN5XZo58ksFy/4/zajfPVf u3uisjx6HRrHJ/Po2LJP7f1ANylS/xeD+8CrsfYW2vef6ji5+nvlZe4e5bXsBFo3K6 9LnwgaWZVaQmsEGd2p7ZMqhTU/bxRWsMyNIIzGeGo0QugpqcbcOLQV8Inp7lIKExJd 5b+Mbw5prP9Ng== Date: Sun, 23 Jan 2022 13:38:37 +0000 Message-Id: <20220123133837.1035-1-paren@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=178.21.23.139; envelope-from=paren@disroot.org; helo=knopi.disroot.org 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, 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-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=1642945163; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=cm9zJTk5nHp9XHUp+Ya0CPnTm6aFk/FTW5bqnxiSKcE=; b=QaPnn6KE9WM2/VNzUP+RB4F/sOwI/j3DWHxjrU1Ar7DUoIb1/z3ms2p3z6pcLgDCWgB8Qv yPlc+9du3xkzUd7alOgmDlkja4piEwlADRAuaMVUqs6Z485i6Glc5yMstV7tyrFcg91SzK bvlpd8A6C7Gwi2fLt0JW+djOMwXuHOhpH74fh7MTSpTVYkfAkemCtH+7uOiZO0KQ7iUMcy lIJDVHroOmnjsg+He+wFWxhy+8YQLYWZbzPeUo2E+e0kA2YyI7hzhPQxzShFcBgChb+mA7 mjaNMUbwQlJL18QoNL4b6Nlox2Gz6ecPLQZUXkzy+0vb6ReQN1xi1N2llua0rg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642945163; a=rsa-sha256; cv=none; b=MROjgvvA9AhK3QKweKkXU0UiUC6IczJyJw3ygHxicSm3+SMNZlZ+gqzY9WJ3x+x36crq12 BG0R7KE4cH+MHjBTuxD7Top5sWRNnbJCxTNdZTHrbcJdQCzyDuq8w5P6XCg5rrpTvNfPX3 yS6E47uVDnvyW5KKWo8EHCFvUnnMCRD+aMDj4jefYpXf/QZW0NSDvaX1Ut0zooCoE5P9fZ uL0HuM9xRLxe9WrUNMoZ4l1S7tPKNSfr0B79AnPEZDpYAQuEU350ERvEKrgRwTF/DSEOjy syRpD16571YuYupL3pZiijhP8y4+a2uktrRXgSD7c9A1R8iKBRtREVOJSrLI5Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=ixysnBK1; 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.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=ixysnBK1; 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: AB91C12744 X-Spam-Score: -3.33 X-Migadu-Scanner: scn1.migadu.com X-TUID: lWITPPPygoTD * gnu/packages/emacs-xyz.scm(emacs-nim-mode): New variable. --- gnu/packages/emacs-xyz.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 8edbfc5a3d..d2508748a9 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,31 @@ (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 + ;; The last tag was 0.4.1 in 2017. There have been many more commits since then. + (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 version))) + (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