GNU bug report logs - #53472
[PATCH] gnu: Add emacs-nim-mode

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: "(unmatched-parenthesis" <paren@HIDDEN>; Keywords: patch; dated Sun, 23 Jan 2022 13:39:01 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 53472 <at> debbugs.gnu.org:


Received: (at 53472) by debbugs.gnu.org; 7 Mar 2022 20:51:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 07 15:51:33 2022
Received: from localhost ([127.0.0.1]:54697 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nRKKL-0003vV-0t
	for submit <at> debbugs.gnu.org; Mon, 07 Mar 2022 15:51:33 -0500
Received: from eggs.gnu.org ([209.51.188.92]:52464)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1nRKKJ-0003vI-Oi
 for 53472 <at> debbugs.gnu.org; Mon, 07 Mar 2022 15:51:32 -0500
Received: from [2001:470:142:3::e] (port=51660 helo=fencepost.gnu.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1nRKKD-0004go-T6; Mon, 07 Mar 2022 15:51:25 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To:
 From; bh=4V+gQi8Zuc1zuVNVO3ZwSivZZUmS+HgJJtLbVvX7p5o=; b=BNv4F8rwIUiDeAEtDwSc
 JRbpbGNSUJ3cdMdPzfIpVNTenIrScOngTGqT3HPRYUBgkdTSXOCGJrdfHjfhgEXY31/QiRqMprAXJ
 P6VvdGJz5sjmp0Am2o13dSHfX7dP6D8oHjpWH8HR9AnTf0c5y6/q7fNVp55pI0CIf6B9V7pvaz8H2
 nLj4qVx9o+Cv6fa90oxb55GH4d1ur8WNsTPKcDX798LftvJVncAwRuvwgepMoJq2cSWf+iIa63t4c
 Din35sd6aJxJGL+sn7MomDX2J0ZiWqnG7wTHdTHc7l+IYR1D7SGqBv3JSRIKCmOiufjZxjTel6w6e
 E05+DH0/PeZzdg==;
Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:58571
 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1nRKKD-0000TG-FP; Mon, 07 Mar 2022 15:51:25 -0500
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: paren@HIDDEN
Subject: Re: bug#53472: [PATCH] gnu: Add emacs-nim-mode
References: <20220123133837.1035-1-paren@HIDDEN>
 <20220124201247.30159-1-paren@HIDDEN>
 <877dakxpjl.fsf@HIDDEN>
Date: Mon, 07 Mar 2022 21:51:23 +0100
In-Reply-To: <877dakxpjl.fsf@HIDDEN> (Nicolas Goaziou's message of
 "Fri, 28 Jan 2022 08:55:26 +0100")
Message-ID: <87zgm1a3lg.fsf_-_@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 53472
Cc: 53472 <at> debbugs.gnu.org, Nicolas Goaziou <mail@HIDDEN>
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 (---)

Hi unmatched-parenthesis,

I know it=E2=80=99s been a while already, but did you have a chance to look=
 into
making the changes Nicolas suggested?

  https://issues.guix.gnu.org/53472

TIA,
Ludo=E2=80=99.

Nicolas Goaziou <mail@HIDDEN> skribis:

> Hello,
>
> "(unmatched-parenthesis via Guix-patches" via <guix-patches@HIDDEN>
> writes:
>
>> * gnu/packages/emacs-xyz.scm(emacs-nim-mode): New variable.
>
> Thank you.
>
> You add both emacs-nim-mode and emacs-commenter. Could you split the
> patch into two parts?
>> +       (uri (string-append "https://github.com/yuutayamada/commenter/ar=
chive/refs/tags/v" version ".tar.gz"))
>
> These URI are not stable. You should use git-fetch with commit
> (string-append "v" version) instead.
>
>> +       (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 var=
iables like @code{comment-start} or @code{comment-end} etc.")
>
> The synopsis is too long:
>
>   "Set both single- and multi-line comment variables in Emacs"
>
>> +    (description "This package allows you to set both single and multi =
line comment variables like @code{comment-start} or @code{comment-end} etc.=
")
>
> I suggest to drop the "etc." since there is "like" before.
>
>   "This Emacs package sets both single- and multi-line comment variables =
like @code{comment-start} or @code{comment-end}."
>
>> +(define-public emacs-nim-mode
>> +  (let ((commit "744e076f0bea1c5ddc49f92397d9aa98ffa7eff8")
>> +        (revision "0"))
>
> Since you're not using a tagged commit, could you put a comment above
> the let binding explaining why?
>
>> +      (synopsis "Major mode for editing Nim source code")
>
> I would add "Emacs": "Emacs 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, an=
d nim.cfg
>> ++@item `M-x nim-compile`, which can also be invoked with `C-c C-c` insi=
de a Nim source file
>> ++@item File outline by procedures
>> ++@item Indentation and line breaking (alpha)
>> ++@item Integration with nimsuggest, the Nim linting and completion serv=
er (alpha, both nimsuggest-mode and nimsuggest itself are currently VERY un=
stable and may make emacs much less responsive)
>> ++@end itemize")
>
> I suggest:
>
>   This package includes major modes for Nim. In particular, it provides
>   syntax highlighting for Nim code, Nimble configuration files, and
>   @file{nim.cfg}, outlining features, a dedicated compilation command,
>   indentation and line breaking.
>
>   It also implements integration with @code{nimsuggest}, the Nim linting
>   and completion server, although this is currently unstable.
>=20=20
>> +      (license license:gpl3+))))
>
> Could you send an updated patch?
>
> Regards,




Information forwarded to guix-patches@HIDDEN:
bug#53472; Package guix-patches. Full text available.

Message received at 53472 <at> debbugs.gnu.org:


Received: (at 53472) by debbugs.gnu.org; 28 Jan 2022 07:55:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 28 02:55:48 2022
Received: from localhost ([127.0.0.1]:57189 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nDM6l-0000l5-PE
	for submit <at> debbugs.gnu.org; Fri, 28 Jan 2022 02:55:48 -0500
Received: from relay12.mail.gandi.net ([217.70.178.232]:42587)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1nDM6k-0000kr-Ga
 for 53472 <at> debbugs.gnu.org; Fri, 28 Jan 2022 02:55:47 -0500
Received: (Authenticated sender: admin@HIDDEN)
 by relay12.mail.gandi.net (Postfix) with ESMTPSA id BD4F8200002;
 Fri, 28 Jan 2022 07:55:27 +0000 (UTC)
From: Nicolas Goaziou <mail@HIDDEN>
To: "(unmatched-parenthesis via Guix-patches" via <guix-patches@HIDDEN>
Subject: Re: [bug#53472] [PATCH v4] gnu: Add emacs-nim-mode
References: <20220123133837.1035-1-paren@HIDDEN>
 <20220124201247.30159-1-paren@HIDDEN>
Date: Fri, 28 Jan 2022 08:55:26 +0100
In-Reply-To: <20220124201247.30159-1-paren@HIDDEN>
 (guix-patches@HIDDEN's message of "Mon, 24 Jan 2022 20:12:47 +0000")
Message-ID: <877dakxpjl.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 53472
Cc: 53472 <at> debbugs.gnu.org, "\(unmatched-parenthesis" <paren@HIDDEN>
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 (-)

Hello,

"(unmatched-parenthesis via Guix-patches" via <guix-patches@HIDDEN>
writes:

> * gnu/packages/emacs-xyz.scm(emacs-nim-mode): New variable.

Thank you.

You add both emacs-nim-mode and emacs-commenter. Could you split the
patch into two parts?
> +       (uri (string-append "https://github.com/yuutayamada/commenter/archive/refs/tags/v" version ".tar.gz"))

These URI are not stable. You should use git-fetch with commit
(string-append "v" version) instead.

> +       (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.")

The synopsis is too long:

  "Set both single- and multi-line comment variables in Emacs"

> +    (description "This package allows you to set both single and multi line comment variables like @code{comment-start} or @code{comment-end} etc.")

I suggest to drop the "etc." since there is "like" before.

  "This Emacs package sets both single- and multi-line comment variables like @code{comment-start} or @code{comment-end}."

> +(define-public emacs-nim-mode
> +  (let ((commit "744e076f0bea1c5ddc49f92397d9aa98ffa7eff8")
> +        (revision "0"))

Since you're not using a tagged commit, could you put a comment above
the let binding explaining why?

> +      (synopsis "Major mode for editing Nim source code")

I would add "Emacs": "Emacs 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")

I suggest:

  This package includes major modes for Nim. In particular, it provides
  syntax highlighting for Nim code, Nimble configuration files, and
  @file{nim.cfg}, outlining features, a dedicated compilation command,
  indentation and line breaking.

  It also implements integration with @code{nimsuggest}, the Nim linting
  and completion server, although this is currently unstable.
 
> +      (license license:gpl3+))))

Could you send an updated patch?

Regards,
-- 
Nicolas Goaziou




Information forwarded to guix-patches@HIDDEN:
bug#53472; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 28 Jan 2022 07:55:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 28 02:55:52 2022
Received: from localhost ([127.0.0.1]:57192 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nDM6q-0000lM-2Q
	for submit <at> debbugs.gnu.org; Fri, 28 Jan 2022 02:55:52 -0500
Received: from lists.gnu.org ([209.51.188.17]:35258)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1nDM6o-0000lF-Tr
 for submit <at> debbugs.gnu.org; Fri, 28 Jan 2022 02:55:51 -0500
Received: from eggs.gnu.org ([209.51.188.92]:43790)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <mail@HIDDEN>)
 id 1nDM6l-0002cB-9S
 for guix-patches@HIDDEN; Fri, 28 Jan 2022 02:55:50 -0500
Received: from [2001:4b98:dc4:8::232] (port=47593 helo=relay12.mail.gandi.net)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <mail@HIDDEN>)
 id 1nDM6h-0001mJ-UX
 for guix-patches@HIDDEN; Fri, 28 Jan 2022 02:55:46 -0500
Received: (Authenticated sender: admin@HIDDEN)
 by relay12.mail.gandi.net (Postfix) with ESMTPSA id BD4F8200002;
 Fri, 28 Jan 2022 07:55:27 +0000 (UTC)
From: Nicolas Goaziou <mail@HIDDEN>
To: "(unmatched-parenthesis via Guix-patches" via <guix-patches@HIDDEN>
Subject: Re: [bug#53472] [PATCH v4] gnu: Add emacs-nim-mode
References: <20220123133837.1035-1-paren@HIDDEN>
 <20220124201247.30159-1-paren@HIDDEN>
Date: Fri, 28 Jan 2022 08:55:26 +0100
In-Reply-To: <20220124201247.30159-1-paren@HIDDEN>
 (guix-patches@HIDDEN's message of "Mon, 24 Jan 2022 20:12:47 +0000")
Message-ID: <877dakxpjl.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Host-Lookup-Failed: Reverse DNS lookup failed for 2001:4b98:dc4:8::232
 (failed)
Received-SPF: pass client-ip=2001:4b98:dc4:8::232;
 envelope-from=mail@HIDDEN; helo=relay12.mail.gandi.net
X-Spam_score_int: -10
X-Spam_score: -1.1
X-Spam_bar: -
X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, RDNS_NONE=0.793,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.6 (-)
X-Debbugs-Envelope-To: submit
Cc: 53472 <at> debbugs.gnu.org, "\(unmatched-parenthesis" <paren@HIDDEN>
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: -2.6 (--)

Hello,

"(unmatched-parenthesis via Guix-patches" via <guix-patches@HIDDEN>
writes:

> * gnu/packages/emacs-xyz.scm(emacs-nim-mode): New variable.

Thank you.

You add both emacs-nim-mode and emacs-commenter. Could you split the
patch into two parts?
> +       (uri (string-append "https://github.com/yuutayamada/commenter/archive/refs/tags/v" version ".tar.gz"))

These URI are not stable. You should use git-fetch with commit
(string-append "v" version) instead.

> +       (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.")

The synopsis is too long:

  "Set both single- and multi-line comment variables in Emacs"

> +    (description "This package allows you to set both single and multi line comment variables like @code{comment-start} or @code{comment-end} etc.")

I suggest to drop the "etc." since there is "like" before.

  "This Emacs package sets both single- and multi-line comment variables like @code{comment-start} or @code{comment-end}."

> +(define-public emacs-nim-mode
> +  (let ((commit "744e076f0bea1c5ddc49f92397d9aa98ffa7eff8")
> +        (revision "0"))

Since you're not using a tagged commit, could you put a comment above
the let binding explaining why?

> +      (synopsis "Major mode for editing Nim source code")

I would add "Emacs": "Emacs 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")

I suggest:

  This package includes major modes for Nim. In particular, it provides
  syntax highlighting for Nim code, Nimble configuration files, and
  @file{nim.cfg}, outlining features, a dedicated compilation command,
  indentation and line breaking.

  It also implements integration with @code{nimsuggest}, the Nim linting
  and completion server, although this is currently unstable.
 
> +      (license license:gpl3+))))

Could you send an updated patch?

Regards,
-- 
Nicolas Goaziou




Information forwarded to guix-patches@HIDDEN:
bug#53472; Package guix-patches. Full text available.

Message received at 53472 <at> debbugs.gnu.org:


Received: (at 53472) by debbugs.gnu.org; 24 Jan 2022 20:14:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 24 15:14:16 2022
Received: from localhost ([127.0.0.1]:45981 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nC5jE-0007S7-Hs
	for submit <at> 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 <paren@HIDDEN>) id 1nC5jD-0007Rz-92
 for 53472 <at> 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)
From: "(unmatched-parenthesis" <paren@HIDDEN>
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==
To: 53472 <at> debbugs.gnu.org
Subject: [PATCH v4] gnu: Add emacs-nim-mode
Date: Mon, 24 Jan 2022 20:12:47 +0000
Message-Id: <20220124201247.30159-1-paren@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 53472
Cc: "\(unmatched-parenthesis" <paren@HIDDEN>
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 (-)

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 <brian@HIDDEN>
 ;;; Copyright © 2021, 2022 Taiju HIGASHI <higashi@HIDDEN>
 ;;; Copyright © 2022 Brandon Lucas <br@HIDDEN>
+;;; Copyright © 2022 (unmatched parenthesis <paren@HIDDEN>
 ;;;
 ;;; 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





Information forwarded to guix-patches@HIDDEN:
bug#53472; Package guix-patches. Full text available.

Message received at 53472 <at> debbugs.gnu.org:


Received: (at 53472) by debbugs.gnu.org; 24 Jan 2022 19:01:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 24 14:01:31 2022
Received: from localhost ([127.0.0.1]:45872 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nC4ap-0000AJ-68
	for submit <at> 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 <paren@HIDDEN>) id 1nC4an-00008E-PX
 for 53472 <at> 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)
From: "(unmatched-parenthesis" <paren@HIDDEN>
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==
To: 53472 <at> debbugs.gnu.org
Subject: [PATCH v3] gnu: Add emacs-nim-mode
Date: Mon, 24 Jan 2022 19:00:58 +0000
Message-Id: <20220124190058.21503-1-paren@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 53472
Cc: "\(unmatched-parenthesis" <paren@HIDDEN>
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 (-)

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 <brian@HIDDEN>
 ;;; Copyright © 2021, 2022 Taiju HIGASHI <higashi@HIDDEN>
 ;;; Copyright © 2022 Brandon Lucas <br@HIDDEN>
+;;; Copyright © 2022 (unmatched parenthesis <paren@HIDDEN>
 ;;;
 ;;; 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





Information forwarded to guix-patches@HIDDEN:
bug#53472; Package guix-patches. Full text available.

Message received at 53472 <at> debbugs.gnu.org:


Received: (at 53472) by debbugs.gnu.org; 24 Jan 2022 18:40:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 24 13:40:56 2022
Received: from localhost ([127.0.0.1]:45827 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nC4Gu-0004Os-2m
	for submit <at> debbugs.gnu.org; Mon, 24 Jan 2022 13:40:56 -0500
Received: from knopi.disroot.org ([178.21.23.139]:60164)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <paren@HIDDEN>) id 1nC4Gs-0004Of-0m
 for 53472 <at> debbugs.gnu.org; Mon, 24 Jan 2022 13:40:55 -0500
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 18C7710558;
 Mon, 24 Jan 2022 19:40: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 ESMTP id H1p_AyzWnPff; Mon, 24 Jan 2022 19:40:50 +0100 (CET)
From: "(unmatched-parenthesis" <paren@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1643049648; bh=iPFaC6iD7p3T0j+TP44FHRc4u1T4xM2cqdnNV9t5n8Q=;
 h=From:To:Cc:Subject:Date;
 b=hq6yx/2z1ZM5xZ9dEOSaVuqd1zXX+mB4TYuDHsyi80GEviBIVtqKi/Cl+mNLr4OrQ
 wazvD4D8Rmey12Bsgxpyy6HDX2za8IdUNV0/8K+CGhHsmfSscwj8nD8YASxH8AJgOh
 GsQ2CcfFd/WbSrzWlIK/lumXOCgmh+INgB+6VLXGo/mCncfxczuMUAruJOaPEwcvYR
 xVpmBJQOZGXuR2/1y2Cxlc/EeowQPPRAm+an2Sg9YgOc2ePt/2LcTvyhb4+ed85WOH
 MdtgVq0HjW9vT4DbpkCazcRapZ/UmWzO/rPMKLupcb6a4Q1d4yUbrsJhiUQbS0dpe7
 he3kFJvGzPQDA==
To: 53472 <at> debbugs.gnu.org
Subject: [PATCH v2] gnu: Add emacs-nim-mode
Date: Mon, 24 Jan 2022 18:40:37 +0000
Message-Id: <20220124184037.21204-1-paren@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 53472
Cc: "\(unmatched-parenthesis" <paren@HIDDEN>
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 (-)

Sorry about that!

* 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..34ac0d4dae 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -107,6 +107,7 @@
 ;;; Copyright © 2021 Brian Kubisiak <brian@HIDDEN>
 ;;; Copyright © 2021, 2022 Taiju HIGASHI <higashi@HIDDEN>
 ;;; Copyright © 2022 Brandon Lucas <br@HIDDEN>
+;;; Copyright © 2022 (unmatched parenthesis <paren@HIDDEN>
 ;;;
 ;;; 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-pace "https://github.com/nim-lang/nim-mode")
+      (synosis "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





Information forwarded to guix-patches@HIDDEN:
bug#53472; Package guix-patches. Full text available.

Message received at 53472 <at> debbugs.gnu.org:


Received: (at 53472) by debbugs.gnu.org; 24 Jan 2022 18:30:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 24 13:30:30 2022
Received: from localhost ([127.0.0.1]:45786 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nC46o-00045p-Nl
	for submit <at> debbugs.gnu.org; Mon, 24 Jan 2022 13:30:30 -0500
Received: from knopi.disroot.org ([178.21.23.139]:60728)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <paren@HIDDEN>) id 1nC46j-00045V-BJ
 for 53472 <at> debbugs.gnu.org; Mon, 24 Jan 2022 13:30:28 -0500
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id C83AF10529;
 Mon, 24 Jan 2022 19:30:23 +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 Kgs54gbLTOPN; Mon, 24 Jan 2022 19:30:22 +0100 (CET)
Mime-Version: 1.0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1643049012; bh=XXjJSV0kyCeLyNQO1fpRGmHU14T+LOiWuHvEcCg7CNQ=;
 h=Date:From:Subject:To:Cc:In-Reply-To:References;
 b=EO2Pw6/LmtZX20fPM1Unk3+fPMsCnevoUrqqTM6RiZ1xKNt+NjtwQhvZUn9IpH6tt
 AGrBDExf9FF7lfl7PonXeOO0UG0f2PSvszsjKmnRu6NsfLycFtCLHRmevFgTr9FL8i
 PUKfVv8Ll3/utjHVrUA1+iQOBD/LiMP1kug6xkMvNBeSXO2Mt3AkbMPsRuCUkbbBq/
 zcfFwe7P9Kh83KzO5cIOJmNpcPwS61Y8tPf1RdEVtaphOPVBSBgrOnb3VKmQV6tXMk
 vPgtkSdBFUhzovjEQn6HmWUIrNVrklVprs/vbE/v9ePkp6aRO9QWNahnlJX9EhhLzB
 4sFc0dI+KSkBw==
Date: Mon, 24 Jan 2022 18:30:12 +0000
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: paren@HIDDEN
Message-ID: <976be05a828735584d209ae9862d7532@HIDDEN>
Subject: Re: [bug#53472] [PATCH] gnu: Add emacs-nim-mode
To: "Maxime Devos" <maximedevos@HIDDEN>
In-Reply-To: <e6f821f04f1c61aed725233ac97cc9499ae91010.camel@HIDDEN>
References: <e6f821f04f1c61aed725233ac97cc9499ae91010.camel@HIDDEN>
 <20220123133837.1035-1-paren@HIDDEN>
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 53472
Cc: 53472 <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 (-)

> I don't think there's a tag by the name "0.4.1-23.744e076"
> in the git repo. Try (git-reference ... (commit commit)) instead.

Oops! I automatically wrote (commit version) out of habit :)
One moment...




Information forwarded to guix-patches@HIDDEN:
bug#53472; Package guix-patches. Full text available.

Message received at 53472 <at> debbugs.gnu.org:


Received: (at 53472) by debbugs.gnu.org; 23 Jan 2022 16:21:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 23 11:21:22 2022
Received: from localhost ([127.0.0.1]:40977 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nBfcI-0001fM-7n
	for submit <at> debbugs.gnu.org; Sun, 23 Jan 2022 11:21:22 -0500
Received: from laurent.telenet-ops.be ([195.130.137.89]:56380)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maximedevos@HIDDEN>) id 1nBfcF-0001fB-RK
 for 53472 <at> debbugs.gnu.org; Sun, 23 Jan 2022 11:21:20 -0500
Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be
 ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a])
 by laurent.telenet-ops.be with bizsmtp
 id mGMH2600G4UW6Th01GMH7h; Sun, 23 Jan 2022 17:21:18 +0100
Message-ID: <e6f821f04f1c61aed725233ac97cc9499ae91010.camel@HIDDEN>
Subject: Re: [bug#53472] [PATCH] gnu: Add emacs-nim-mode
From: Maxime Devos <maximedevos@HIDDEN>
To: "(unmatched-parenthesis" <paren@HIDDEN>, 53472 <at> debbugs.gnu.org
Date: Sun, 23 Jan 2022 17:21:11 +0100
In-Reply-To: <20220123133837.1035-1-paren@HIDDEN>
References: <20220123133837.1035-1-paren@HIDDEN>
Content-Type: multipart/signed; micalg="pgp-sha512";
 protocol="application/pgp-signature"; boundary="=-XWf4FjKteZfs4poWiwyq"
User-Agent: Evolution 3.38.3-1 
MIME-Version: 1.0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22;
 t=1642954878; bh=Su1aF3C4ek9JcoB8hYJPDZpk7VasONTn2Ou+tnqia+Y=;
 h=Subject:From:To:Date:In-Reply-To:References;
 b=EHk/HsXxnUfumctNScm+9UMznsM1kIsh55cwDJEy48IemIkX2OWyFf5qwOOMPrMWK
 bbYmTEt5ayNp01sW6I7MT/NI/I59FHYkE8QFDYnPtUldpHsRV59isU4JCoW9nljCa8
 Pb2J1hMvOxiTKhRQapyq5nsfIgeQK6wx2FDJj2fjOMxFy4KGxE+VXJqqlBiTmJTLNP
 WcoYFx3o2dLIMLqmUP36NRVHEoRqz5hJA1GwqkP0+SXJqHMbW7FZKzUDXiujrWcGPk
 RACakU3Vw3uoPnZQTZfPrf/x8bMc6Cao5A92GtBMrKUadM7HRHe5ER6EuzDMy2RzqM
 294pc3NX6eALQ==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 53472
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 (-)


--=-XWf4FjKteZfs4poWiwyq
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: base64

KHVubWF0Y2hlZC1wYXJlbnRoZXNpcyB2aWEgR3VpeC1wYXRjaGVzIHZpYSBzY2hyZWVmIG9wIHpv
IDIzLTAxLTIwMjIgb20KMTM6MzggWyswMDAwXToKPiArwqDCoMKgwqDCoCAodmVyc2lvbiAoZ2l0
LXZlcnNpb24gIjAuNC4xIiByZXZpc2lvbiBjb21taXQpKQo+ICvCoMKgwqDCoMKgIChzb3VyY2UK
PiArwqDCoMKgwqDCoMKgIChvcmlnaW4KPiArwqDCoMKgwqDCoMKgwqDCoCAobWV0aG9kIGdpdC1m
ZXRjaCkKPiArwqDCoMKgwqDCoMKgwqDCoCAodXJpIChnaXQtcmVmZXJlbmNlCj4gK8KgwqDCoMKg
wqDCoMKgwqDCoMKgwqDCoMKgwqAgKHVybCAiaHR0cHM6Ly9naXRodWIuY29tL25pbS1sYW5nL25p
bS1tb2RlIikKPiArwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAoY29tbWl0IHZlcnNpb24p
KSkKCkkgZG9uJ3QgdGhpbmsgdGhlcmUncyBhIHRhZyBieSB0aGUgbmFtZSAiMC40LjEtMjMuNzQ0
ZTA3NiIKaW4gdGhlIGdpdCByZXBvLiAgVHJ5IChnaXQtcmVmZXJlbmNlIC4uLiAoY29tbWl0IGNv
bW1pdCkpIGluc3RlYWQuCgpHcmVldGluZ3MsCk1heGltZS4K


--=-XWf4FjKteZfs4poWiwyq
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYe2AdxccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7neKAQCxU5JqJ6NoYsGei/WtgMvRkosQ
w1nNQE+39ryBb6LoEQEAyY4u0hHor6gJ4iqmMyfjSxZRqT2f6qNVeJpz9UUBDQM=
=tc9N
-----END PGP SIGNATURE-----

--=-XWf4FjKteZfs4poWiwyq--





Information forwarded to guix-patches@HIDDEN:
bug#53472; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 23 Jan 2022 13:38:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 23 08:38:59 2022
Received: from localhost ([127.0.0.1]:38907 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nBd58-0001ad-Se
	for submit <at> 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 <paren@HIDDEN>) id 1nBd57-0001aU-JP
 for submit <at> 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 <paren@HIDDEN>) id 1nBd56-0005SP-Ck
 for guix-patches@HIDDEN; 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 <paren@HIDDEN>) id 1nBd53-0001aS-St
 for guix-patches@HIDDEN; 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)
From: "(unmatched-parenthesis" <paren@HIDDEN>
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==
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: Add emacs-nim-mode
Date: Sun, 23 Jan 2022 13:38:37 +0000
Message-Id: <20220123133837.1035-1-paren@HIDDEN>
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@HIDDEN;
 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-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
Cc: "\(unmatched-parenthesis" <paren@HIDDEN>
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: -2.4 (--)

* 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 <brian@HIDDEN>
 ;;; Copyright © 2021, 2022 Taiju HIGASHI <higashi@HIDDEN>
 ;;; Copyright © 2022 Brandon Lucas <br@HIDDEN>
+;;; Copyright © 2022 (unmatched parenthesis <paren@HIDDEN>
 ;;;
 ;;; 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





Acknowledgement sent to "(unmatched-parenthesis" <paren@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#53472; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 7 Mar 2022 21:00:03 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.