From unknown Thu Jul 31 07:10:43 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#44274 <44274@debbugs.gnu.org> To: bug#44274 <44274@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add emacs-powershell.el Reply-To: bug#44274 <44274@debbugs.gnu.org> Date: Thu, 31 Jul 2025 14:10:43 +0000 retitle 44274 [PATCH] gnu: Add emacs-powershell.el reassign 44274 guix-patches submitter 44274 Adam Kandur severity 44274 normal tag 44274 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 28 04:39:21 2020 Received: (at submit) by debbugs.gnu.org; 28 Oct 2020 08:39:21 +0000 Received: from localhost ([127.0.0.1]:47039 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXgzJ-00024z-AK for submit@debbugs.gnu.org; Wed, 28 Oct 2020 04:39:21 -0400 Received: from lists.gnu.org ([209.51.188.17]:60286) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXgzI-00024s-8p for submit@debbugs.gnu.org; Wed, 28 Oct 2020 04:39:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40692) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kXgzH-00084G-Vs for guix-patches@gnu.org; Wed, 28 Oct 2020 04:39:20 -0400 Received: from w4.tutanota.de ([81.3.6.165]:54402) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kXgzF-0000wI-G5 for guix-patches@gnu.org; Wed, 28 Oct 2020 04:39:19 -0400 Received: from w3.tutanota.de (unknown [192.168.1.164]) by w4.tutanota.de (Postfix) with ESMTP id 21E231060159 for ; Wed, 28 Oct 2020 08:39:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1603874353; s=s1; d=tuta.io; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Cc:Date:Date:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:Sender; bh=+W0UG61pDlSrSl23MCYjBDnqA6IWiHPBaRSDKAzHdho=; b=pjVIKJphMIIMEX3yk8atXQC4Fki5ksrWycUsJLUZAOYf/hn47sONinIdX33nB8FL w0HkgfCTX1KOZ5GT+Hw2SFV+rJujXgGWmQHK5m8tEJEMxNb1DDvQHjs2E+7aQQabBWN z1YHS7K70Q8mBQ9k5Ar1sF4SsuE3Or1yjOL2QQdAuKazCDFX7ddB1Fzu6He3t4LqoLr +ON6QnjXB+mQ7G6fm7YfSCcXSQ6I3ubzGrN8hnp2DH9Hu5UYGNmR58MOJBAZIy+/KrE Hr3xL1cptresJtwRWouLN+Hmbcrl3RF/BXqXkyXK78aOBSJAu9ztP8DRclsURsmVG9D SEOfwXmL8w== Date: Wed, 28 Oct 2020 09:39:13 +0100 (CET) From: Adam Kandur To: Guix Patches Message-ID: Subject: [PATCH] gnu: Add emacs-powershell.el MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_20812_720652549.1603874353123" Received-SPF: pass client-ip=81.3.6.165; envelope-from=rndd@tuta.io; helo=w4.tutanota.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/28 04:39:13 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] 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_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-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 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) ------=_Part_20812_720652549.1603874353123 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sometimes use it for work, would be great to have in guix, Adam Kandur ------=_Part_20812_720652549.1603874353123 Content-Type: text/x-patch; charset=us-ascii; name=0001-gnu-Add-emacs-powershell.el.patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0001-gnu-Add-emacs-powershell.el.patch >From debe288267094e2eefff6083ac4d245020a4909d Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 28 Oct 2020 11:35:03 +0300 Subject: [PATCH] gnu: Add emacs-powershell.el * gnu/packages/emacs-xyz.scm (emacs-powershell.el): New variable. --- gnu/packages/emacs-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 019b2c6..8470829 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -25091,6 +25091,29 @@ built-in generator package. It provides @code{iter2-defun} and original package.") (license license:gpl3+))) +(define-public emacs-powershell.el + (let ((revision "0") + (commit "d1b3f95669343399f199f291ef76c09a0ede5e60")) + (package + (name "emacs-powershell.el") + (build-system emacs-build-system) + (arguments + `(#:include '("\\.el$"))) + (version "master") ;; tagged branch is outdated (2015) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jschaf/powershell.el") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1cxhzaaig88zhylyycvb3849r85j1ijqklnh9zbqsfl2zhpb0g5c")))) + (home-page "https://github.com/jschaf/powershell.el") + (synopsis "Mode for editing PowerShell scripts") + (description "@code{powershell.el} Mode is an Emacs major mode for editing and running Microsoft PowerShell files.") + (license license:gpl3+)))) + (define-public emacs-promise (package (name "emacs-promise") -- 2.28.0 ------=_Part_20812_720652549.1603874353123-- From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 28 05:27:57 2020 Received: (at 44274) by debbugs.gnu.org; 28 Oct 2020 09:27:57 +0000 Received: from localhost ([127.0.0.1]:47168 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXhkL-0007aY-K0 for submit@debbugs.gnu.org; Wed, 28 Oct 2020 05:27:57 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:52567) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXhkJ-0007aK-Re for 44274@debbugs.gnu.org; Wed, 28 Oct 2020 05:27:56 -0400 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay11.mail.gandi.net (Postfix) with ESMTPSA id D9CFB100010; Wed, 28 Oct 2020 09:27:48 +0000 (UTC) From: Nicolas Goaziou To: Adam Kandur via Guix-patches via Subject: Re: [bug#44274] [PATCH] gnu: Add emacs-powershell.el References: Date: Wed, 28 Oct 2020 10:27:47 +0100 In-Reply-To: (Adam Kandur via Guix-patches via's message of "Wed, 28 Oct 2020 09:39:13 +0100 (CET)") Message-ID: <87v9eu3dkc.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 44274 Cc: 44274@debbugs.gnu.org, Adam Kandur X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello, Adam Kandur via Guix-patches via writes: > * gnu/packages/emacs-xyz.scm (emacs-powershell.el): New variable. Thank you. Some comments follow. > +(define-public emacs-powershell.el I suggest to rename it emacs-powershell. > + (let ((revision "0") > + (commit "d1b3f95669343399f199f291ef76c09a0ede5e60")) > + (package > + (name "emacs-powershell.el") See above. > + (build-system emacs-build-system) > + (arguments > + `(#:include '("\\.el$"))) > + (version "master") ;; tagged branch is outdated (2015) Version is 0.3 per main Elisp file. Also, end of line comments start with a single semicolon. Two semicolons are used only for full line comments. In any case, I suggest to write the comment above `package' instead. > + (source > + (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/jschaf/powershell.el") There seem to be an issue with indentation here. > + (commit version))) This should be (commit commit) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 "1cxhzaaig88zhylyycvb3849r85j1ijqklnh9zbqsfl2zhpb0g5c"= )))) > + (home-page "https://github.com/jschaf/powershell.el") > + (synopsis "Mode for editing PowerShell scripts") I suggest: Emacs mode for editing PowerShell scripts > + (description "@code{powershell.el} Mode is an Emacs major mode for= editing and running Microsoft PowerShell files.") I suggest: Powershell is an Emacs major mode=E2=80=A6 The library is really named Powershell, and the capitalization makes it different from PowerShell. Could you send an updated patch? Regards, --=20 Nicolas Goaziou From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 28 06:01:28 2020 Received: (at submit) by debbugs.gnu.org; 28 Oct 2020 10:01:28 +0000 Received: from localhost ([127.0.0.1]:47243 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXiGm-000287-H4 for submit@debbugs.gnu.org; Wed, 28 Oct 2020 06:01:28 -0400 Received: from lists.gnu.org ([209.51.188.17]:58750) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXiGk-00027s-I5 for submit@debbugs.gnu.org; Wed, 28 Oct 2020 06:01:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58708) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kXiGk-0004lQ-9P for guix-patches@gnu.org; Wed, 28 Oct 2020 06:01:26 -0400 Received: from relay12.mail.gandi.net ([217.70.178.232]:37205) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kXiGh-0005uW-Vs for guix-patches@gnu.org; Wed, 28 Oct 2020 06:01:25 -0400 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 24AD0200010; Wed, 28 Oct 2020 10:01:18 +0000 (UTC) From: Nicolas Goaziou To: Adam Kandur via Guix-patches via Subject: Re: [bug#44274] [PATCH] gnu: Add emacs-powershell.el References: Date: Wed, 28 Oct 2020 11:01:17 +0100 In-Reply-To: (Adam Kandur via Guix-patches via's message of "Wed, 28 Oct 2020 09:39:13 +0100 (CET)") Message-ID: <87lffq3c0i.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=217.70.178.232; envelope-from=mail@nicolasgoaziou.fr; helo=relay12.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/28 06:01:20 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, 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.6 (-) X-Debbugs-Envelope-To: submit Cc: 44274@debbugs.gnu.org, Adam Kandur X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) Adam Kandur via Guix-patches via writes: > + (arguments > + `(#:include '("\\.el$"))) In addition to my other comments, I don't think the section above is needed. Regards, From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 28 07:04:23 2020 Received: (at 44274) by debbugs.gnu.org; 28 Oct 2020 11:04:23 +0000 Received: from localhost ([127.0.0.1]:47389 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXjFf-00081B-0N for submit@debbugs.gnu.org; Wed, 28 Oct 2020 07:04:23 -0400 Received: from w4.tutanota.de ([81.3.6.165]:45554) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXjFb-00080v-1F for 44274@debbugs.gnu.org; Wed, 28 Oct 2020 07:04:20 -0400 Received: from w3.tutanota.de (unknown [192.168.1.164]) by w4.tutanota.de (Postfix) with ESMTP id DEE401060159; Wed, 28 Oct 2020 11:04:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1603883052; s=s1; d=tuta.io; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:In-Reply-To:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:References:Sender; bh=NmdGpR7BzeAA23W4jAGzBMrMshcBk0H2XPl1x1WZ84M=; b=XLzIrEBgfrQx84fIPIlObDCZNBEVglzgWEb6ukiy0lQOKvJAdRDXl0Y4hASTJ7fi JiA+MYbRfCjmyNXdaGDiniDWa4furGFxEh5Mi/zUOQ2c/Ig5XmBusuX68GXBv61o6bC +iGQ71BqAMWES+h0oTeO+J5H4g6ZvRJhPOeBpdGgXJE8GchC83q3YxGHi5EIGgRr5h8 jk4GPgjFqUvawaC2tvm4MwA6qUqiPMzkNGfWBGMJaGXOx0+h8VdrgTWniTZmI9xDIWU +vnQb4lPQIk0IWPzwSUN9xPfze1lNEjLkD7UQk5RJ3d1QFqPQMGQ1SrG0qIXy0EX+pW qEpM5+yvNA== Date: Wed, 28 Oct 2020 12:04:12 +0100 (CET) From: Adam Kandur To: Nicolas Goaziou Message-ID: In-Reply-To: <87lffq3c0i.fsf@nicolasgoaziou.fr> References: <87lffq3c0i.fsf@nicolasgoaziou.fr> Subject: Re: [bug#44274] [PATCH] gnu: Add emacs-powershell.el MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1650_909918034.1603883052897" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 44274 Cc: 44274@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) ------=_Part_1650_909918034.1603883052897 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit hi, attached new patch. hope it is correct Oct 28, 2020, 10:01 by mail@nicolasgoaziou.fr: > Adam Kandur via Guix-patches via writes: > >> + (arguments >> + `(#:include '("\\.el$"))) >> > > In addition to my other comments, I don't think the section above is > needed. > > Regards, > ------=_Part_1650_909918034.1603883052897 Content-Type: text/x-patch; charset=us-ascii; name=0001-gnu-Add-emacs-powershell.patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0001-gnu-Add-emacs-powershell.patch >From 288fbe826b26d088c70c876ef74afd5445b63609 Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 28 Oct 2020 14:02:26 +0300 Subject: [PATCH] gnu: Add emacs-powershell. * gnu/packages/emacs-xyz.scm (emacs-powershell): New variable. --- gnu/packages/emacs-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 40e4c63..6684678 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -13232,6 +13232,28 @@ literate programming tools for exporting, weaving and tangling.") "Edit YAML files for Ansible containing embedded Jinja2 templating.") (license license:gpl3+)))) +(define-public emacs-powershell + (let ((revision "0") + (commit "d1b3f95669343399f199f291ef76c09a0ede5e60")) + ;; tagged branch 0.1 is outdated (2015) + (package + (name "emacs-powershell") + (build-system emacs-build-system) + (version "0.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jschaf/powershell.el") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1cxhzaaig88zhylyycvb3849r85j1ijqklnh9zbqsfl2zhpb0g5c")))) + (home-page "") + (synopsis "Emacs mode for editing PowerShell scripts") + (description "@code{powershell.el} Mode is an Emacs major mode for editing and running Microsoft PowerShell files.") + (license license:gpl3+)))) + (define-public emacs-polymode-org (package (name "emacs-polymode-org") -- 2.28.0 ------=_Part_1650_909918034.1603883052897-- From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 29 05:20:16 2020 Received: (at 44274-done) by debbugs.gnu.org; 29 Oct 2020 09:20:16 +0000 Received: from localhost ([127.0.0.1]:51849 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kY46S-0008DI-4E for submit@debbugs.gnu.org; Thu, 29 Oct 2020 05:20:16 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:39697) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kY46Q-0008D0-0d for 44274-done@debbugs.gnu.org; Thu, 29 Oct 2020 05:20:14 -0400 X-Originating-IP: 185.131.40.67 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id C902BC000A; Thu, 29 Oct 2020 09:20:07 +0000 (UTC) From: Nicolas Goaziou To: Adam Kandur Subject: Re: [bug#44274] [PATCH] gnu: Add emacs-powershell.el References: <87lffq3c0i.fsf@nicolasgoaziou.fr> Date: Thu, 29 Oct 2020 10:20:07 +0100 In-Reply-To: (Adam Kandur's message of "Wed, 28 Oct 2020 12:04:12 +0100 (CET)") Message-ID: <87d011mlrs.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44274-done Cc: 44274-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Adam Kandur writes: > hi, attached new patch. hope it is correct I fixed indentation, the version tag, added a home-page, tweaked the description, and pushed your patch. Thanks. Regards, -- Nicolas Goaziou From unknown Thu Jul 31 07:10:43 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 26 Nov 2020 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator