From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 24 22:40:29 2020 Received: (at submit) by debbugs.gnu.org; 25 Jul 2020 02:40:29 +0000 Received: from localhost ([127.0.0.1]:49122 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzA6v-0005Bl-13 for submit@debbugs.gnu.org; Fri, 24 Jul 2020 22:40:29 -0400 Received: from lists.gnu.org ([209.51.188.17]:58940) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzA6t-0005Bd-JU for submit@debbugs.gnu.org; Fri, 24 Jul 2020 22:40:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56292) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jzA6t-00057S-BF for guix-patches@gnu.org; Fri, 24 Jul 2020 22:40:27 -0400 Received: from mx.kolabnow.com ([95.128.36.40]:51226) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jzA6q-0002Bp-Q0 for guix-patches@gnu.org; Fri, 24 Jul 2020 22:40:26 -0400 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out003.mykolab.com (Postfix) with ESMTP id D84CC4054F for ; Sat, 25 Jul 2020 04:40:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-type:content-type:mime-version:message-id:date:date :subject:subject:from:from:received:received:received; s= dkim20160331; t=1595644822; x=1597459223; bh=B0Y98bQKQvCSKz4pv/f CFJ39iPcWcCsyi3zZ+Erv818=; b=r1D7NkWxYhlgLpJtRAL5Nh4uySTGeyyv0Qd UTZuA78eVhinN+WlFbCo/VE7t7k/Cg+H5TKO7jAzY6jO8+PiIGNQZ3CSQEAY5zYk C0zhknGFGS3uMuhgOmIWhQ1W774LSHHg6nzeS5HzQTU7QiB9HaB5CcgoGxpzMkl6 Bz/Mdm3Q+0+eVrQq0ICxi7Jer6a9oofV+GvDPfbOJFCQc9AYp8x1KTmz5ipxD/Xk TcyITAJ/UGwpE9tI9r/f1U+d6mZZFzdNM0AsASZylJkQIpG/N6KI7t0VxjxEt/fI 6vDKKm7XWJIgTJfgK5ctp8ofGKKLrN91KCBChd6k2/FiX2EFDBrRP2MWjgxs5h42 hkBW/RvjGmapl11QPGRgx5QZux8G1BfnN34W5MJsZP+TT8d/FHv6ZoFG/uqdC2mc aNPwZViX9+ec2YdOfl0C77o/M6AJ4V0AKeTZyDARxmQbbjGdx/qO5j2XzoE7Qapc mxGXOObR6b8k81+W1YZPSXad/m8ywdYw4y62xudJDJafdbrqagzbil1CZnHDO5r7 yv4cpRwb2HvqEFyqLeK0aJ/cZ8cJRKCbtCImrwESp8EatKAj3pDo+avKRmLXEOBc t7WLMaOW5I6LTMl9TM1mDgxHI2emmYSV0JUMOOJ6MZP3oZUzS88QQ/e/9StzuIp3 TQd3y76o= X-Virus-Scanned: amavisd-new at mykolab.com X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-10 required=5 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out003.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 70Wab_kc1W7e for ; Sat, 25 Jul 2020 04:40:22 +0200 (CEST) Received: from int-mx002.mykolab.com (unknown [10.9.13.2]) by ext-mx-out003.mykolab.com (Postfix) with ESMTPS id 2C4C74053C for ; Sat, 25 Jul 2020 04:40:21 +0200 (CEST) Received: from ext-subm003.mykolab.com (unknown [10.9.6.3]) by int-mx002.mykolab.com (Postfix) with ESMTPS id C7F552328 for ; Sat, 25 Jul 2020 04:40:21 +0200 (CEST) From: "LaFreniere, Joseph" To: guix-patches@gnu.org Subject: [PATCH] gnu: Add emacs-shx. Date: Fri, 24 Jul 2020 21:40:16 -0500 Message-ID: <87imecgvvz.fsf@odyssey.lafreniere.xyz> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=95.128.36.40; envelope-from=joseph@lafreniere.xyz; helo=mx.kolabnow.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/24 22:04:15 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: 1 X-Spam_score: 0.1 X-Spam_bar: / X-Spam_report: (0.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FROM_SUSPICIOUS_NTLD=1, FROM_SUSPICIOUS_NTLD_FP=1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Patch file is attached. -- Joseph LaFreniere From c653ac4e2cb4f70a9c02ce99f2f45539c566daad Mon Sep 17 00:00:00 2001 From: Joseph LaFreniere Date: Fri, 24 Jul 2020 21:38:06 -0500 Subject: [PATCH] gnu: Add emacs-shx. Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 0.0 T_PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: lafreniere.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom; id=joseph%40lafreniere.xyz; ip=209.51.188.17; r=debbugs.gnu.org] 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [209.51.188.17 listed in wl.mailspike.net] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 2.0 FROM_SUSPICIOUS_NTLD_FP From abused NTLD 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 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: -1.9 (-) --=-=-= Content-Type: text/plain; format=flowed Patch file is attached. -- Joseph LaFreniere --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-Add-emacs-shx.patch >From c653ac4e2cb4f70a9c02ce99f2f45539c566daad Mon Sep 17 00:00:00 2001 From: Joseph LaFreniere Date: Fri, 24 Jul 2020 21:38:06 -0500 Subject: [PATCH] gnu: Add emacs-shx. * gnu/packages/emacs-xyz.scm (emacs-shx): 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 836a3950f8..6843f3470f 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -3918,6 +3918,34 @@ the speedbar window.") "This package provides commands to quickly switch between shell buffers.") (license license:gpl3+))) +(define-public emacs-shx + (package + (name "emacs-shx") + (version "1.4.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/riscy/shx-for-emacs") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0p9b621rgy34r1hl9xfzxh4xpx9gpsr3n330ypfxhlr0s5754j73")))) + (build-system emacs-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; A docstring provides examples of mapping hosts to programs in /bin. + ;; These examples are valid as-is. + (delete 'patch-el-files)))) + (home-page "https://github.com/riscy/shx-for-emacs") + (synopsis "Extras for the comint-mode shell") + (description + "This package extends @code{comint-mode}: it parses markup in the output +stream, enabling plots and graphics to be embedded, and adds command-line +functions which plug into Emacs (e.g. use @code{:e } to edit a +file).") + (license license:gpl3+))) + (define-public emacs-names (let ((commit "d8baba5360e5253938a25d3e005455b6d2d86971") (version "20151201.0") -- 2.27.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 25 04:12:48 2020 Received: (at 42526) by debbugs.gnu.org; 25 Jul 2020 08:12:49 +0000 Received: from localhost ([127.0.0.1]:49298 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzFIW-0007JQ-P5 for submit@debbugs.gnu.org; Sat, 25 Jul 2020 04:12:48 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:33263) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzFIU-0007JB-6k for 42526@debbugs.gnu.org; Sat, 25 Jul 2020 04:12:47 -0400 Received: by mail-lj1-f196.google.com with SMTP id v4so2553288ljd.0 for <42526@debbugs.gnu.org>; Sat, 25 Jul 2020 01:12:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=hNvdFCSqhQYeUtqxDPmsXi4vI0GdWLN/swG7PpdkGPU=; b=P2lOkvW778R5b1QCXy6Jxs4u81o7B8SOOGS+AcK6uQ9ZCvJoxzSBNEP1mvMRgqVcmS ELEjW7eqWTatRjBJfKQhp4zSzOJwljTZxjDx4He4QlQR1vAkypP+Aeiviu1XIYgII1Bd AkB6BN3s19gQI0Bn7u+NhS1I92IFTuW3DyRGeU5ceIY/DgfTM576A7qdr7tn5eTps3w5 G+b2kkCIU8tYwovS08ngh0F6IQvTbYxhM5QnjIhkUNu5ELppee7ZkBycZ7xMhMB30Arz JrgMU3fIOp8OXHkYneO2QielzT0Ii42raroWisLojTIHR+UOKQV8WIhgnbvxn/nmFJeg n2fQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=hNvdFCSqhQYeUtqxDPmsXi4vI0GdWLN/swG7PpdkGPU=; b=eOPWjkT+x+Kh8vtMEwDr2//gEb3Btzts6C2IyvAJMsvJ1t6JaTdylHRnFy+00vSNKu w4mEIM6LhuDfWs28aEjJDASMFwGfnmPqNbCS7qMPmL7IQIu0pDAUZIBnI+Qol7JaxYRj IL9MAcR9pad5o2Xpv77wJ9OtY0lplq3G4FOHn9j7A9TAXZ+IgZFwWVjWfbmNiV4JkTPw 16UXanj4SLeZ1aj2e9snh/3dgTYzqjlfbSQm0li211Ke77cTGjlNCCowVchNI520pupW jOY8fEfctQmrjeuKJaRtcUrcKrO+L4/JyQYWSNh8nKoO1RE4Ze7byN0Sr7dQYVqENWAJ rq7g== X-Gm-Message-State: AOAM531NAxn/aRk+3K8aNTly3Se7SApUFAj6FIbDi+lKdjExKT/PvHIn t+yGgYP0mV9t94/LzSl9i46d300sYdg= X-Google-Smtp-Source: ABdhPJw0Ug2Po4242QdxMHRDWc4uQ/inVLB2F+ItjiB/+C0HB1u5n1P/6kmnrQtMK8KHbHnw/OIMUA== X-Received: by 2002:a2e:9c95:: with SMTP id x21mr5972271lji.234.1595664759780; Sat, 25 Jul 2020 01:12:39 -0700 (PDT) Received: from guixsd (ppp91-122-98-213.pppoe.avangarddsl.ru. [91.122.98.213]) by smtp.gmail.com with ESMTPSA id g19sm1065619lfd.28.2020.07.25.01.12.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Jul 2020 01:12:39 -0700 (PDT) From: Oleg Pykhalov To: "LaFreniere\, Joseph" Subject: Re: [bug#42526] [PATCH] gnu: Add emacs-shx. References: <87imecgvvz.fsf@odyssey.lafreniere.xyz> Date: Sat, 25 Jul 2020 11:12:35 +0300 In-Reply-To: <87imecgvvz.fsf@odyssey.lafreniere.xyz> (Joseph LaFreniere's message of "Fri, 24 Jul 2020 21:40:16 -0500") Message-ID: <87a6zoau8c.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 42526 Cc: 42526@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 (-) --=-=-= Content-Type: text/plain Hi, "LaFreniere, Joseph" writes: > Patch file is attached. Could you also take a look on running test suite in a package recipe, please? Thanks, Oleg. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEcjhxI46s62NFSFhXFn+OpQAa+pwFAl8b6XMACgkQFn+OpQAa +pxN3xAAsEJ0xv6ijPNfl3UUJfSQW0ZjiF/gHJjik64DvzbvBPbcnOBX+MHjNGpW GdUeIc+fBroMcyeYTMp1MQiMhvocGayc7XXuZ2xbjqHD05wBkQAlW7k3kZITbR5R VFxwlAmQU7Ty0o0yhzqItc39eFXuiErS8p5VIBpjEyPsM3Er6Evy3bvLQapbUR9n Aqh7SjPCHYeDmUOlG66gIv3VLKHn1kzeSMdRnrEvFwkv4DGUtVVCtZ/6e/8hdkwG DStDIJdsxg6yWgfy0nojSFq7FYKS4KgG6SVMxveWGCZ4Wy0m3Nu90H1g4BsdtdtU dh4H4QkbaixIUPFzIDZz3pB416T2VmUTQt495emTlzo6HW9vWGswsWH8C+jD9tC+ DLXFfA1UOQk4+M2t//nmPtZ9PyHiq32MLbF4mPR3sHAr/SjERlS56GzhoBr+VXKi HaGbM1yHsL8EaIyzUKS7ZtyW6oDK2mnJGDZicaLkNccuejNDb4PpRltOZ18XJT7z AFAmiqHiJPR8UCoFT2brHqhdjD/XXIPEOEq3dPN1p0mJ48W4pEDNlwuq9q2ZJbfw KjTcN+6poOUbc7dQke/WR8w4Hrdl3HmRwU785ZRiA7DKv0rsmY0LEVi+oTq/eA1s yAFyoyEbyfU7Mhp220IuRPNaSk/nFUcd169XJ5JwWfSxW412CeA= =UKlK -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 25 09:29:44 2020 Received: (at 42526) by debbugs.gnu.org; 25 Jul 2020 13:29:44 +0000 Received: from localhost ([127.0.0.1]:49548 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzKFD-0000Vd-LL for submit@debbugs.gnu.org; Sat, 25 Jul 2020 09:29:44 -0400 Received: from mx.kolabnow.com ([95.128.36.40]:64960) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzKFA-0000VN-LA for 42526@debbugs.gnu.org; Sat, 25 Jul 2020 09:29:41 -0400 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out003.mykolab.com (Postfix) with ESMTP id A9C074053C; Sat, 25 Jul 2020 15:29:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-type:content-type:mime-version:message-id:date:date :in-reply-to:subject:subject:from:from:references:received :received:received; s=dkim20160331; t=1595683773; x=1597498174; bh=/UHgAoxErOgRPUMrSW/ju54xDL4DLE6ASXw7YyxD9iM=; b=gYmD+wyoXTv/ 480Bm7fFC4/t9ZNbz4qL/l33kxqXrtJirbol1PpEXuFWekzXSels7J3Kxd0QWucA QQsra2Hi6kGs0ZEvIx/Xz/IbVqOKOcU6MhqV8pwaovzd/so2g7tGfYiiq0GmvdZZ BgTWY35BAJV3EozV0nCuOAYqxbgOc2ThiAhETsECWjgb7KNiEqNTGe+5KTT2ACN1 N52/6nzvQ7maUIXhfW1KbsGecgsOeCWCRo5l3rX/e0ev9oE7eDiSekOVUZtcHQeJ ppw6UKnYpS7NtLayXrTWYVWIwEjDoESr04WFuAR8E0IOrQ0X2h8LrHL/7ddNLRF8 WZokLf3kkResvf4v2t1hYsrmrOCJChCIByWIdneAC1hWaVX3R4dGRbk746bsDNOZ bsaT8td8aIu9DrPGLtpXASPebFDNun/Ue2PxyG+oHaWTAMDLNZHtRdbddbs/BlKM OYmTlwCkPWE6uk5BTM1bOz4/qhNwttmTOLuHNlrhG4yh3tQ3nGITBnMIAJfcW8L8 kshGB22wpuzBRfr4McbYHUUCorSet+EDs3xaXIWee047fI0t2zqxlTd5Fp3uEkWi 7aO8jkfmd8boHCU471xIxXi3SlxjkGnO/sVX5UMqFA8P21PbGp873eLHH2wSiLWh GvwjzMEctah1O15g2jDZ2MWfFFZVNV0= X-Virus-Scanned: amavisd-new at mykolab.com X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-10 required=5 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out003.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ASLdbHF2tf39; Sat, 25 Jul 2020 15:29:33 +0200 (CEST) Received: from int-mx001.mykolab.com (unknown [10.9.13.1]) by ext-mx-out003.mykolab.com (Postfix) with ESMTPS id BA33C404C8; Sat, 25 Jul 2020 15:29:33 +0200 (CEST) Received: from ext-subm002.mykolab.com (unknown [10.9.6.2]) by int-mx001.mykolab.com (Postfix) with ESMTPS id 626B83CE; Sat, 25 Jul 2020 15:29:33 +0200 (CEST) References: <87imecgvvz.fsf@odyssey.lafreniere.xyz> <87a6zoau8c.fsf@gmail.com> From: "LaFreniere, Joseph" To: Oleg Pykhalov Subject: Re: [bug#42526] [PATCH] gnu: Add emacs-shx. In-reply-to: <87a6zoau8c.fsf@gmail.com> Date: Sat, 25 Jul 2020 08:29:26 -0500 Message-ID: <87wo2rsoy1.fsf@odyssey.lafreniere.xyz> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 42526 Cc: "LaFreniere, Joseph" , 42526@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: 0.5 (/) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Oleg Pykhalov writes: > Could you also take a look on running test suite in a package=20 > recipe, please? Thank you for pointing that out. A new patch file is attached=20 with tests enabled and passing: > starting phase `check' > =E2=9C=94 shx-tokenize works with apostrophes. > =E2=9C=94 shx-tokenize works with partial apostrophes. > =E2=9C=94 shx-tokenize returns nil when quoting doesn't match. > =E2=9C=94 shx-tokenize works with apostrophes and quotation marks. > =E2=9C=94 shx-tokenize works with escaped spaces. > =E2=9C=94 shx-tokenize works with escaped quotation marks. > =E2=9C=94 shx-tokenize works with escaped characters > =E2=9C=94 shx-tokenize works with a directory specified. > =E2=9C=94 shx--get-user-cmd returns nil for empty string > =E2=9C=94 shx--get-user-cmd returns command with correct prefix > =E2=9C=94 shx--safe-as-markup-p recognizes unsafe command > =E2=9C=94 shx--safe-as-markup-p recognizes a safe command > =E2=9C=94 shx--safe-as-markup-p handles undocumented command > =E2=9C=94 shx--quote-regexp matches escaped regexps correctly > =E2=9C=94 shx--quote-regexp matches unescaped regexps correctly > =E2=9C=94 shx--get-timer-list is empty > =E2=9C=94 shx--shx-timer-list grows by 1 > =E2=9C=94 shx--get-timer-list becomes empty > =E2=9C=94 shx.el passes checkdoc > =E2=9C=94 shx-cat concatenates strings correctly > =E2=9C=94 shx-cat propertizes text correctly > =E2=9C=94 shx--shell-command finds the default shell > =E2=9C=94 shx--replace-from-list acts sequentially > =E2=9C=94 shx--replace-from-list performs the correct replacements > =E2=9C=94 shx-el passes check-declare-file > =E2=9C=94 shx-cmd-syntax recognizes command with arguments > =E2=9C=94 shx-cmd-syntax recognizes alphabetical command names > =E2=9C=94 shx-cmd-syntax recognizes hyphenated command names > =E2=9C=94 shx--shell-quote-no-quotation-marks escapes string > =E2=9C=94 shx.el passes byte-compilation > =E2=9C=94 shx-tokenize-filenames works with relative and absolute paths. > =E2=9C=94 shx--all-commands lists user command functions > phase `check' succeeded after 0.2 seconds -- Joseph LaFreniere --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-Add-emacs-shx.patch >From 26be119a3353863b3b66757e319ea82f24b16f38 Mon Sep 17 00:00:00 2001 From: Joseph LaFreniere Date: Fri, 24 Jul 2020 21:38:06 -0500 Subject: [PATCH] gnu: Add emacs-shx. * gnu/packages/emacs-xyz.scm (emacs-shx): New variable. --- gnu/packages/emacs-xyz.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 836a3950f8..6cc2d4671a 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -3918,6 +3918,38 @@ the speedbar window.") "This package provides commands to quickly switch between shell buffers.") (license license:gpl3+))) +(define-public emacs-shx + (package + (name "emacs-shx") + (version "1.4.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/riscy/shx-for-emacs") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0p9b621rgy34r1hl9xfzxh4xpx9gpsr3n330ypfxhlr0s5754j73")))) + (build-system emacs-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; A docstring provides examples of mapping hosts to programs in /bin. + ;; These examples are valid as-is. + (delete 'patch-el-files)) + #:tests? #t + #:test-command + '("emacs" "--batch" "--quiet" + "--script" "test/script.el"))) + (home-page "https://github.com/riscy/shx-for-emacs") + (synopsis "Extras for the comint-mode shell") + (description + "This package extends @code{comint-mode}: it parses markup in the output +stream, enabling plots and graphics to be embedded, and adds command-line +functions which plug into Emacs (e.g. use @code{:e } to edit a +file).") + (license license:gpl3+))) + (define-public emacs-names (let ((commit "d8baba5360e5253938a25d3e005455b6d2d86971") (version "20151201.0") -- 2.27.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 25 10:07:22 2020 Received: (at 42526-done) by debbugs.gnu.org; 25 Jul 2020 14:07:22 +0000 Received: from localhost ([127.0.0.1]:50743 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzKpe-0001mC-FU for submit@debbugs.gnu.org; Sat, 25 Jul 2020 10:07:22 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:34833) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzKpZ-0001ls-JQ for 42526-done@debbugs.gnu.org; Sat, 25 Jul 2020 10:07:21 -0400 Received: by mail-lf1-f66.google.com with SMTP id j22so779297lfm.2 for <42526-done@debbugs.gnu.org>; Sat, 25 Jul 2020 07:07:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=UZH9bermWZqpaNbt3CkIhWqyfwA9eel5b/tJZPEQJCc=; b=Nu+/5OdSbwCfsWvawTkevfCYQ0mLaR09TG+/KCxpfyLVoMjAu46rK2JZ6xTfTCZLI7 UFoEvTVvIeCtMqjwv4pjut43lntaSxFA/xH/2y/5F5g5NuqKj6tFAdYdQ0GiCvzYBl0u nRHsGYKnvQfXaIcJ6q5fzvmJczRCGBArPf6g4roWI+S97rsmZwmIYmfywIJEEu+zYDBN 356qLdlJYbZS7PNfAK/3ih7CBJRm0uEoys3Dg+1Elf2/T9R9ZsI6WdppdY/RiUC6mkBs is4CQAeADqKFgmfKERU4Qbc3c8HQIo/BsPQZhxPac3w6L9ZoI1+n66+StlDm5IXWRAFy i2iQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=UZH9bermWZqpaNbt3CkIhWqyfwA9eel5b/tJZPEQJCc=; b=JTkmlbt5vK5gLpiYYTcrSddEumgN2sUuJfH4u7hvI17JP+RiC8NKm8+f8ZmbYNSFLg B2HAxhVbXzWAM2mYZuOXJUvDGbMVVNgjCUnQ+pJ9Z23e27wylks7QMCydOtAfaqmAUAL HqAeFhOPEdnkOJUHKRkv1DGdH9VppHokI6NTnqHYOzfFxWbBeyKclq6Ofc+9IB1UQWyH Gbf8ID7fTwj/23FghX+r7Wdc2KXtWK//prHJTubklCP4vvp0WziBolhQUbelE9Bney0Q nMoQqU5PgjciDE8M6/GQZ+45v9+jp1H/d+viSOqjShi78gj5sfcrdm6vJD5E6EEYZYVo Tp5g== X-Gm-Message-State: AOAM532uvgWP01q+vNPXlYIEbSf0VPBpBSHOIXkOnIvA2sn+gn1xf9+t mRZOeAcz5i92R4nvZXsfzjtVbC5y X-Google-Smtp-Source: ABdhPJzH02vC0CGM95CbqHbk59gUuW9CBkzAnxdA9Dxyt6+evBtXhnNStxUWWyeiTTphZOoqN1tpOA== X-Received: by 2002:a19:654c:: with SMTP id c12mr7792247lfj.132.1595686030282; Sat, 25 Jul 2020 07:07:10 -0700 (PDT) Received: from guixsd (ppp91-122-98-213.pppoe.avangarddsl.ru. [91.122.98.213]) by smtp.gmail.com with ESMTPSA id v23sm421942lfa.5.2020.07.25.07.07.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Jul 2020 07:07:09 -0700 (PDT) From: Oleg Pykhalov To: "LaFreniere\, Joseph" Subject: Re: [bug#42526] [PATCH] gnu: Add emacs-shx. References: <87imecgvvz.fsf@odyssey.lafreniere.xyz> <87a6zoau8c.fsf@gmail.com> <87wo2rsoy1.fsf@odyssey.lafreniere.xyz> Date: Sat, 25 Jul 2020 17:07:05 +0300 In-Reply-To: <87wo2rsoy1.fsf@odyssey.lafreniere.xyz> (Joseph LaFreniere's message of "Sat, 25 Jul 2020 08:29:26 -0500") Message-ID: <87sgdflmd2.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 42526-done Cc: 42526-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 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable "LaFreniere, Joseph" writes: [=E2=80=A6] > A new patch file is attached with tests enabled and passing: Pushed to master. Thanks, Oleg. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEcjhxI46s62NFSFhXFn+OpQAa+pwFAl8cPIkACgkQFn+OpQAa +pzcuBAAmuF5wmsaGr+ojrS8CNbrQsTVDOCu1SCD7p4JiuHgftK6+qwKrHODB3Cb Hfz2ZLYOxWdOZ8KP0vlPOMZKuYBd0jDw711OShjsPpu9PQiwrKIr61BxrDhcilAl FMPhv8Or0UeDZkzQ11O8mKYT+SQgy1zpscUKhssIpas5k9hQ+v0sVxTj0NEfiwe0 qU7xPTo1y9qZ+1i3GP96euwsmTOt/Et91Yw8Hwt8+hncpioHvdsMq9GNd1P9ROgO dFuXOP0lQJUKchUfwonx3JnWvUKTjkoZ5dy4/MYMIXvJo0wqL6ICgnyXQnGU2+R+ FnMnD+5tE8k8o1/NlgFtfP0dWMWnm+DzFz8lkfyKplQPAUX+uCQn7cYwNq2e/96n M9PjojNnNuQOfbCexrDR38UGaoXPbYpN1tGs2jXX81Z+Nd3M1QwJqc9QFHCT4d74 lXo+VlqHdJI7Gv3EJ9fDj2zejhbAHzz4+9gVfoN1LDHGeAbZh/Zvq7K6hEeex5xR xgpvwNSus1EshvGTlcKab9LntdmSpP0mLu6Jnd7VLgO+Wwxn/ZgYCOuKb/IYKeaF 6Qa6ELHLw8XTDiWIzTHlYfZ4tDMo8sky6sqtEMLbvEUlJMabfVqPvCqs/zUzT0Pl cxQdzUY9UkFYnfsMsixnfhAxzbLM+TcodEUsz1XsHGBktzKBUqQ= =1+O8 -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Aug 15 20:28:19 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 23 Aug 2020 11: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