From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KGb1OuIL72GxKAAAgWs5BA (envelope-from ) for ; Mon, 24 Jan 2022 21:28:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id CErVN+IL72GgsQAAauVa8A (envelope-from ) for ; Mon, 24 Jan 2022 21:28:18 +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 7A1721CD68 for ; Mon, 24 Jan 2022 21:28:18 +0100 (CET) Received: from localhost ([::1]:40250 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nC5wn-0005P7-K1 for larch@yhetil.org; Mon, 24 Jan 2022 15:28:17 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38734) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nC5jy-000529-OW for guix-patches@gnu.org; Mon, 24 Jan 2022 15:15:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53078) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nC5jy-0002qU-EM for guix-patches@gnu.org; Mon, 24 Jan 2022 15:15:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nC5jy-0007TM-Ab for guix-patches@gnu.org; Mon, 24 Jan 2022 15:15:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53472] [PATCH v4] 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 20:15: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.164305525628655 (code B ref 53472); Mon, 24 Jan 2022 20:15:02 +0000 Received: (at 53472) by debbugs.gnu.org; 24 Jan 2022 20:14:16 +0000 Received: from localhost ([127.0.0.1]:45981 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nC5jE-0007S7-Hs for submit@debbugs.gnu.org; Mon, 24 Jan 2022 15:14:16 -0500 Received: from knopi.disroot.org ([178.21.23.139]:38068) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nC5jD-0007Rz-92 for 53472@debbugs.gnu.org; Mon, 24 Jan 2022 15:14:15 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 967DD53199; Mon, 24 Jan 2022 21:14:13 +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 x1zQgsva0rdY; Mon, 24 Jan 2022 21:14:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1643055177; bh=UWtQNd/VYYmKrxpUJIvVMad5UfbYXTZ/ovj3hg+9WDo=; h=From:To:Cc:Subject:Date; b=FQ1OFPA3Ocb5NlwkJ+vQipHeZ8z5vBwWMGHdrc+aU7+jaMXgQaSA/jScXY6Ab8vXN IdRhYLIlI5Il3Vc/iXkvUOXR8KcIMcuhY6MAYaHmJrnYuIGPtGGoi6jxjhTSWlCsta tUU5b1uLclu4hNb8BONNp9XtG8BSvhhDGTPrhlFoszZVScPpkYgcHqSv4WTPigiY2j ydDZOc0d2rMjIBzXozuQD2/+hra9Vn2IEAnw0sNVLD7mdoldxJZgxSp71QGrKwNk+/ qt86dLDrDtBTALsr+uVPnYhEvH0DWgI/PhpXAfOJ/HgT59/x2/UDGTBlicWXzCfHpv dx4r35sInAhLw== Date: Mon, 24 Jan 2022 20:12:47 +0000 Message-Id: <20220124201247.30159-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=1643056098; 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=VXxs48wJ9VIC2y/MRE4D81Wpluo3WYsfQUzr0hJd+1Q=; b=u07vhE/Gka3eGFo43RwMRd+mxUFKdMGQvm8qWzPq/o2u4z5tld/eafAYua9YAaruL+X567 JxbAZ/g8PAGP/9xLME2JbEh2aQhrqUDADG3Lfu4HyYAXfOqh0lnme4g4fW6nXYyUft7Ror zWQsHaGKc+ktJL/lFfknRhtm6/zJbRrGXq3gx/dTMRamFtM3ZsGH2D5xVvdrz5WyEpNoQ0 7DCwzp1A1gb8kVsyKxOiHCI3QeGDmh5CEyeSKssnao20i6TtYxhlxnpLokMI8/a0aHZnN2 goOT/516vPs3xuJclPuRVA4BSiiyTAK/hajpFRMDYp2gl9boVKvm6kLJ3w+WiQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643056098; a=rsa-sha256; cv=none; b=flujRcC4hhXWBkTEnoE8IoMG85BHqcXJ5vHcatLrhPwlLNELbzifHLZqabj0WyeMUrWZao iGsPTD85wt4tD4L0KvZHVnRskyGj57dx3vGQyXPz6D2L5BaVU/Vrvr8N2xmh/1pLr5PAT3 hYjdT5wWdvCTEelEuS7unrUrHDt6zrQ4HX7FgNrhJULb9qqufDnZaROanAY8bOuWap4YWK IiYeAVHzVFPBW4qnSxue0IUBfg19hw0lbbo1S7AJkel9oMev+L/Vp4S4At4ctaYGrqY0Xo 8AZ49jYH3H13a1nCcGMJeufxpQXkoTXdp4BHKjY0Rh8vtxaI3rKIqnbFKadsSA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=FQ1OFPA3; 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=FQ1OFPA3; 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: 7A1721CD68 X-Spam-Score: -3.13 X-Migadu-Scanner: scn1.migadu.com X-TUID: iVPvrdcJT0H8 Well, that was embarrassing... the package was completely wrong and `guix package -i emacs-nim-mode` would have actually installed `emacs-fennel-mode`... Always test things, I guess. * gnu/packages/emacs-xyz.scm(emacs-nim-mode): New variable. --- gnu/packages/emacs-xyz.scm | 46 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 8edbfc5a3d..78650d0c52 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,48 @@ (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-commenter + (package + (name "emacs-commenter") + (version "0.5.2") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/yuutayamada/commenter/archive/refs/tags/v" version ".tar.gz")) + (sha256 + (base32 "1n9m8f4gflb0c3nh98nkmsqzscyf5d1p1gcz8apskkmf7z0z0q2j")))) + (build-system emacs-build-system) + (home-page "https://github.com/yuutayamada/commenter") + (synopsis "Allows you to set both single and multi line comment variables like @code{comment-start} or @code{comment-end} etc.") + (description "This package allows you to set both single and multi line comment variables like @code{comment-start} or @code{comment-end} etc.") + (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 "0jjrjsks3q8qpipxcqdkm8pi3pjnkcxcydspbf0rkvy3x6i5mwkv")))) + (build-system emacs-build-system) + (propagated-inputs + (list emacs-commenter emacs-epc)) + (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