From unknown Sun Jun 22 00:05:15 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#53279 <53279@debbugs.gnu.org> To: bug#53279 <53279@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add emacs-dtache Reply-To: bug#53279 <53279@debbugs.gnu.org> Date: Sun, 22 Jun 2025 07:05:15 +0000 retitle 53279 [PATCH] gnu: Add emacs-dtache reassign 53279 guix-patches submitter 53279 Niklas Eklund severity 53279 normal tag 53279 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 15 03:35:43 2022 Received: (at submit) by debbugs.gnu.org; 15 Jan 2022 08:35:43 +0000 Received: from localhost ([127.0.0.1]:38929 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8eXD-0008At-8h for submit@debbugs.gnu.org; Sat, 15 Jan 2022 03:35:43 -0500 Received: from lists.gnu.org ([209.51.188.17]:37264) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8eXB-0008Aj-3P for submit@debbugs.gnu.org; Sat, 15 Jan 2022 03:35:38 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39196) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8eXA-0000jz-T7 for guix-patches@gnu.org; Sat, 15 Jan 2022 03:35:36 -0500 Received: from mout01.posteo.de ([185.67.36.65]:40593) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8eX8-0003c1-Fi for guix-patches@gnu.org; Sat, 15 Jan 2022 03:35:36 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 6132B240026 for ; Sat, 15 Jan 2022 09:35:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1642235730; bh=zILsQR13IHgHmlo9GAYom9i4ZM4gNba4mCZxECW+oro=; h=From:To:Subject:Date:From; b=EyoM9nQIYn4R42HDz/INX/FEUKp8/6dUU00FlknMWiNSltV01pR4xrKhxMIw+mR5A dmqOleBVNGlRqh+Z3BCcU2O/OREPrK3ZcxZ9EPqCaYBRrxeLw1Sqsu/JR/mvjoaha2 0kGE0nGYD5ge1VcKBLkU28BCyFm491Q2PguqaM4bjntlDaV5tmuzOcaxiTBqRm3+KD vxp4pYLK2R425duaZemsWk8wDCmBiFheb/2LgMTiNoVSGXoJ8EVgSm/nq7MCkzRKaw AvRT8UIa06hYH3CDZ45tQ8KnbOk4nRpabgHqzo6rUo89gZ7fw8mU1H1UIUMPDatICs 9oBd1O1q53Klg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4JbWhK5P8sz6tmN for ; Sat, 15 Jan 2022 09:35:29 +0100 (CET) From: Niklas Eklund To: guix-patches@gnu.org Subject: [PATCH] gnu: Add emacs-dtache Date: Sat, 15 Jan 2022 08:35:29 +0000 Message-ID: <87pmotpfam.fsf@posteo.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=185.67.36.65; envelope-from=niklas.eklund@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, 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.3 (-) 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: -0.0 (/) --=-=-= Content-Type: text/plain Hi, I would like to contribute with my package dtache to guix. /Niklas --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-emacs-dtache-package.patch Content-Transfer-Encoding: quoted-printable Content-Description: patch >From 3e04c575776a8f1fb4afa4df3146f63cd7b5a094 Mon Sep 17 00:00:00 2001 From: Niklas Eklund Date: Thu, 13 Jan 2022 18:19:57 +0100 Subject: [PATCH] gnu: Add emacs-dtache package. --- gnu/packages/emacs-xyz.scm | 39 +++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index df469fa..ea97bac 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -78,7 +78,7 @@ ;;; Copyright =C2=A9 2020 Eric Bavier ;;; Copyright =C2=A9 2020, 2021 Morgan Smith ;;; Copyright =C2=A9 2020 Peng Mei Yu -;;; Copyright =C2=A9 2020, 2021 Niklas Eklund +;;; Copyright =C2=A9 2020, 2021, 2022 Niklas Eklund ;;; Copyright =C2=A9 2020 Marco Grassi ;;; Copyright =C2=A9 2020 Tom=C3=A1s Ort=C3=ADn Fern=C3=A1ndez ;;; Copyright =C2=A9 2020, 2021 Zhu Zihao @@ -214,6 +214,7 @@ (define-module (gnu packages emacs-xyz) #:use-module (gnu packages password-utils) #:use-module (gnu packages pulseaudio) #:use-module (gnu packages sphinx) + #:use-module (gnu packages screen) #:use-module (gnu packages xdisorg) #:use-module (gnu packages shells) #:use-module (gnu packages shellutils) @@ -23366,6 +23367,42 @@ (define-public emacs-cmake-font-lock according to their use.") (license license:gpl3+)))) =20 +(define-public emacs-dtache + (package + (name "emacs-dtache") + (version "0.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/niklaseklund/dtache") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1dnwdkd9bhrvspmp83k40ji1ylm6dhbj4hfhmscjd8s1f4n6jyym")))) + (native-inputs + (list emacs-ert-runner)) + (inputs + (list dtach)) + (arguments + `(#:test-command '("ert-runner") + #:phases + (modify-phases %standard-phases + (add-before 'install 'install-dtache-env + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin"))) + (mkdir-p bin) + (copy-file "dtache-env" + (string-append bin "/dtache-env")))))))) + (build-system emacs-build-system) + (home-page "https://gitlab.com/niklaseklund/dtache") + (synopsis "Run and interact with detached shell commands") + (description "The dtache package allows users to run shell commands +detached from Emacs. These commands are launched in sessions, using the +program dtach.") + (license license:gpl3+))) + (define-public emacs-dtrt-indent (package (name "emacs-dtrt-indent") --=20 2.32.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 15 06:11:58 2022 Received: (at 53279) by debbugs.gnu.org; 15 Jan 2022 11:11:58 +0000 Received: from localhost ([127.0.0.1]:39229 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8gyU-00055M-FV for submit@debbugs.gnu.org; Sat, 15 Jan 2022 06:11:58 -0500 Received: from laurent.telenet-ops.be ([195.130.137.89]:46828) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8gyT-00055C-3H for 53279@debbugs.gnu.org; Sat, 15 Jan 2022 06:11:58 -0500 Received: from [172.20.10.5] ([188.188.185.222]) by laurent.telenet-ops.be with bizsmtp id izBu2600a4oKcDo01zBvHV; Sat, 15 Jan 2022 12:11:55 +0100 Message-ID: Subject: Re: [bug#53279] [PATCH] gnu: Add emacs-dtache From: Maxime Devos To: Niklas Eklund , 53279@debbugs.gnu.org Date: Sat, 15 Jan 2022 12:11:50 +0100 In-Reply-To: <87pmotpfam.fsf@posteo.net> References: <87pmotpfam.fsf@posteo.net> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-drK5sPeV/gsRkTPJiYtE" 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=1642245115; bh=cv+ymrY/6eL0WZqla6EC+lOm0s5LRyA8CEuXXQW08Os=; h=Subject:From:To:Date:In-Reply-To:References; b=TPt24/z+c4lex/yLQkuZqQgUK5M+3RZmzLTqyl2Q727qL6XABVrDpWDXhIF3yuqQT n9k8S/QHdK69GGRPmZ3pUfguBCrq0felgXu06cZ0YfvP5yMp7etSr+f6ddHCYiH+T3 /JhrfcaMpCQHnMldCyLOK3MR8ljdpDTaTRj2zvot2TJL6Bcm2JLGaPnbenD1p+cxbk id9oKqmG/7gzS+6mQWZvVgeEgv6da7sVzlIa43HPcF/Sjjkq1M0Xfvok6iH+xhduNj vkzHWdxBroV+/NRqmN7M9wwyrll/BkscqmIcrfBStD1SsnlMY/cfamfafHazNZTmKO I2uW6rUqRjnjw== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 53279 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 (-) --=-drK5sPeV/gsRkTPJiYtE Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 SGksCgpOaWtsYXMgRWtsdW5kIHNjaHJlZWYgb3AgemEgMTUtMDEtMjAyMiBvbSAwODozNSBbKzAw MDBdOgo+ICvCoMKgwqDCoMKgIChtb2RpZnktcGhhc2VzICVzdGFuZGFyZC1waGFzZXMKPiArwqDC oMKgwqDCoMKgwqAgKGFkZC1iZWZvcmUgJ2luc3RhbGwgJ2luc3RhbGwtZHRhY2hlLWVudgo+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seQp0aGV5IGFyZSBlcXVpdmFsZW50LgoKR3JlZXRpbmdzLApNYXhp bWUuCg== --=-drK5sPeV/gsRkTPJiYtE 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+4iGRcl7gUCYeKr9hccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7u1nAP4jvOn/3MBKgtIdQquA2sosGhoh a2oZtPUZvaDRwI2zPwEAvb0oDS6iYqEGFmhH66b/+ie9zVUo3dRSTjXSic6YoAk= =C3+R -----END PGP SIGNATURE----- --=-drK5sPeV/gsRkTPJiYtE-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 15 09:31:42 2022 Received: (at 53279) by debbugs.gnu.org; 15 Jan 2022 14:31:42 +0000 Received: from localhost ([127.0.0.1]:39583 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8k5i-0002xK-AV for submit@debbugs.gnu.org; Sat, 15 Jan 2022 09:31:42 -0500 Received: from mout02.posteo.de ([185.67.36.66]:35725) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8k5f-0002x4-SN for 53279@debbugs.gnu.org; Sat, 15 Jan 2022 09:31:37 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id A6996240101 for <53279@debbugs.gnu.org>; Sat, 15 Jan 2022 15:31:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1642257089; bh=qc2T/pbso9Lt7a9vAPtGuxtaRiL+dk887d8tUfjVWyQ=; h=From:To:Subject:Date:From; b=ki1HAF6vtKggoVMfIM4zMrkgcDsSVmjkDhNQc19gY3hOhE15GQ76EI4AQoxQl1iFl y2oFD/fn4DrxZm+qWzlvS9ltGTlW9XOuu1DSfYYFh8OHbnW1z4x8PsMYZUU526NWtl xRUu5PjyaABSIHkCR5GRtGNhS8s3GigwvBzFDllwBTlte3sz6xs+MK7db0yPUakscs GV/G/+qkMlWBzb7RjCF8HNUfq1baRvFVgPoYF0TkFKctgZhFuL0wFM1otPlLYBL2jj /7Xy5rHopbTs5vZ2Ga0muYYBEOSW6eeQLCgDpRJcIzu0bcK6xxlsP6RlYceNuIdwcX v3hQRs4P1ozGA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Jbgb45zgvz6tnS for <53279@debbugs.gnu.org>; Sat, 15 Jan 2022 15:31:28 +0100 (CET) From: Niklas Eklund To: 53279@debbugs.gnu.org Subject: Re: [bug#53279] [PATCH] gnu: Add emacs-dtache In-Reply-To: References: <87pmotpfam.fsf@posteo.net> Date: Sat, 15 Jan 2022 14:31:27 +0000 Message-ID: <87czktkr40.fsf@posteo.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 53279 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: base64 TWF4aW1lIERldm9zIDxtYXhpbWVkZXZvc0B0ZWxlbmV0LmJlPiB3cml0ZXM6DQoNCj4gSGksDQo+ DQo+IE5pa2xhcyBFa2x1bmQgc2NocmVlZiBvcCB6YSAxNS0wMS0yMDIyIG9tIDA4OjM1IFsrMDAw MF06DQo+PiArwqDCoMKgwqDCoCAobW9kaWZ5LXBoYXNlcyAlc3RhbmRhcmQtcGhhc2VzDQo+PiAr wqDCoMKgwqDCoMKgwqAgKGFkZC1iZWZvcmUgJ2luc3RhbGwgJ2luc3RhbGwtZHRhY2hlLWVudg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HdoZXRoZXIgdGhhdCdzIGFuIGltcHJvdmVtZW50IG9yIG5vdCAtLSB0 ZWNobmljYWxseQ0KPiB0aGV5IGFyZSBlcXVpdmFsZW50Lg0KPg0KPiBHcmVldGluZ3MsDQo+IE1h eGltZS4NCg0KSGkgTWF4aW1lLA0KDQp0aGFua3MgZm9yIHRoZSBzdWdnZXN0aW9uIDopLiBIZXJl IGlzIGEgbmV3IHBhdGNoIHdpdGggdGhlIGNoYW5nZXMuDQoNCkNoZWVycw0KTmlrbGFzDQoNCg== --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-emacs-dtache-package.patch Content-Transfer-Encoding: quoted-printable Content-Description: updated-patch >From a0bba7a205bcf542804fe2c67f7d2a5192e90489 Mon Sep 17 00:00:00 2001 From: Niklas Eklund Date: Thu, 13 Jan 2022 18:19:57 +0100 Subject: [PATCH] gnu: Add emacs-dtache package. --- gnu/packages/emacs-xyz.scm | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index f7022d1f34..8d86429c02 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -78,7 +78,7 @@ ;;; Copyright =C2=A9 2020 Eric Bavier ;;; Copyright =C2=A9 2020, 2021 Morgan Smith ;;; Copyright =C2=A9 2020 Peng Mei Yu -;;; Copyright =C2=A9 2020, 2021 Niklas Eklund +;;; Copyright =C2=A9 2020, 2021, 2022 Niklas Eklund ;;; Copyright =C2=A9 2020 Marco Grassi ;;; Copyright =C2=A9 2020 Tom=C3=A1s Ort=C3=ADn Fern=C3=A1ndez ;;; Copyright =C2=A9 2020, 2021 Zhu Zihao @@ -214,6 +214,7 @@ (define-module (gnu packages emacs-xyz) #:use-module (gnu packages password-utils) #:use-module (gnu packages pulseaudio) #:use-module (gnu packages sphinx) + #:use-module (gnu packages screen) #:use-module (gnu packages xdisorg) #:use-module (gnu packages shells) #:use-module (gnu packages shellutils) @@ -23366,6 +23367,40 @@ (define-public emacs-cmake-font-lock according to their use.") (license license:gpl3+)))) =20 +(define-public emacs-dtache + (package + (name "emacs-dtache") + (version "0.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/niklaseklund/dtache") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1dnwdkd9bhrvspmp83k40ji1ylm6dhbj4hfhmscjd8s1f4n6jyym")))) + (native-inputs (list emacs-ert-runner)) + (inputs (list dtach)) + (arguments + `(#:test-command '("ert-runner") + #:phases + ,#~(modify-phases %standard-phases + (add-before 'install 'install-dtache-env + (lambda _ + (let ((bin (string-append #$output "/bin"))) + (mkdir-p bin) + (copy-file "dtache-env" + (string-append bin "/dtache-env")))))))) + (build-system emacs-build-system) + (home-page "https://gitlab.com/niklaseklund/dtache") + (synopsis "Run and interact with detached shell commands") + (description + "The dtache package allows users to run shell commands +detached from Emacs. These commands are launched in sessions, using the +program dtach.") + (license license:gpl3+))) + (define-public emacs-dtrt-indent (package (name "emacs-dtrt-indent") --=20 2.32.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 15 12:08:28 2022 Received: (at 53279) by debbugs.gnu.org; 15 Jan 2022 17:08:28 +0000 Received: from localhost ([127.0.0.1]:41637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8mXQ-0007ou-1R for submit@debbugs.gnu.org; Sat, 15 Jan 2022 12:08:28 -0500 Received: from mout01.posteo.de ([185.67.36.65]:42835) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8mXN-0007od-PC for 53279@debbugs.gnu.org; Sat, 15 Jan 2022 12:08:22 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id B9F36240028 for <53279@debbugs.gnu.org>; Sat, 15 Jan 2022 18:08:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1642266495; bh=HPUk1a6ZC5sKt0YXGwjE5UHXR0diAgMUcBqEURGOk70=; h=From:To:Subject:Date:From; b=NM3yC2CC685Llc0MCze1ytCFiEz6l4S3zz1aaRh8SIi9XGiNKWnaGOEbZnmKGHS1L fdOwWTt4fs0mg0udWjiys89uEbAIwK4k+BSZULtfswo3EWonLrAav+EHZnDwAKBbSF 1PBigFr+cCZwI9geDTEcH/NA4yIvPywZjgH2LEhBhyp9AdKiFY/1G5eHSm6PUVtpN6 ofl7HazVfdcUvEhSH+f99cUoH2Pu9P9pKM1tO7oew/RiC7FsmjOVKUBTOSEjDMg+jP bSd4QJs2L0sUPllAU0zDlZeOhIfigN5V5Qr8r/UMkKWn0IR4WwpYJ8NR5HKvfcS4b9 DnnuSjx2dUn+A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Jbl3z0C09z9rxW for <53279@debbugs.gnu.org>; Sat, 15 Jan 2022 18:08:14 +0100 (CET) From: Niklas Eklund To: 53279@debbugs.gnu.org Subject: Re: [bug#53279] [PATCH] gnu: Add emacs-dtache In-Reply-To: <87czktkr40.fsf@posteo.net> References: <87pmotpfam.fsf@posteo.net> <87czktkr40.fsf@posteo.net> Date: Sat, 15 Jan 2022 17:08:13 +0000 Message-ID: <877db13p1e.fsf@posteo.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 53279 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 Niklas Eklund writes: > Maxime Devos writes: > >> Hi, >> >> Niklas Eklund schreef op za 15-01-2022 om 08:35 [+0000]: >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (modify-phases %standard-phases >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (add-before 'install 'insta= ll-dtache-env >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (lambda* (#:key= outputs #:allow-other-keys) >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (le= t* ((out=C2=A0 (assoc-ref outputs "out")) >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (bin=C2=A0 (string-append out "/bin= "))) >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 (mkdir-p bin) >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 (copy-file "dtache-env" >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= (string-append bin "/dtache-env")))))))) >> >> FWIW you can eliminate (#:key outputs #:allow-other-keys) here: >> >> ,#~(modify-phases %standard-phases >> (add-before 'install 'install-dtache-env >> (lambda _ >> (let ((bin (string-append #$output "/bin))) >> (mkdir-p bin) >> (copy-file "dtache-env" >> (string-append bin "/dtache-env")))))))) >> >> YMMV on whether that's an improvement or not -- technically >> they are equivalent. >> >> Greetings, >> Maxime. > > Hi Maxime, > > thanks for the suggestion :). Here is a new patch with the changes. > > Cheers > Niklas > Hi again, there is an even newer version of the package available so here is a patch featuring version 0.3 instead of version 0.2 :) /Niklas --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-emacs-dtache-package.patch Content-Transfer-Encoding: quoted-printable Content-Description: version_03 >From ec51862795bc3f746cd1cb6e7472826a204ad1f2 Mon Sep 17 00:00:00 2001 From: Niklas Eklund Date: Thu, 13 Jan 2022 18:19:57 +0100 Subject: [PATCH] gnu: Add emacs-dtache package. --- gnu/packages/emacs-xyz.scm | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index f7022d1f34..5020c4ba43 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -78,7 +78,7 @@ ;;; Copyright =C2=A9 2020 Eric Bavier ;;; Copyright =C2=A9 2020, 2021 Morgan Smith ;;; Copyright =C2=A9 2020 Peng Mei Yu -;;; Copyright =C2=A9 2020, 2021 Niklas Eklund +;;; Copyright =C2=A9 2020, 2021, 2022 Niklas Eklund ;;; Copyright =C2=A9 2020 Marco Grassi ;;; Copyright =C2=A9 2020 Tom=C3=A1s Ort=C3=ADn Fern=C3=A1ndez ;;; Copyright =C2=A9 2020, 2021 Zhu Zihao @@ -214,6 +214,7 @@ (define-module (gnu packages emacs-xyz) #:use-module (gnu packages password-utils) #:use-module (gnu packages pulseaudio) #:use-module (gnu packages sphinx) + #:use-module (gnu packages screen) #:use-module (gnu packages xdisorg) #:use-module (gnu packages shells) #:use-module (gnu packages shellutils) @@ -23366,6 +23367,40 @@ (define-public emacs-cmake-font-lock according to their use.") (license license:gpl3+)))) =20 +(define-public emacs-dtache + (package + (name "emacs-dtache") + (version "0.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/niklaseklund/dtache") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0f2yxrqfkslif2y88x9vlpshadifppxw6yl1rrf1qzfjy6cv144n")))) + (native-inputs (list emacs-ert-runner)) + (inputs (list dtach)) + (arguments + `(#:test-command '("ert-runner") + #:phases + ,#~(modify-phases %standard-phases + (add-before 'install 'install-dtache-env + (lambda _ + (let ((bin (string-append #$output "/bin"))) + (mkdir-p bin) + (copy-file "dtache-env" + (string-append bin "/dtache-env")))))))) + (build-system emacs-build-system) + (home-page "https://gitlab.com/niklaseklund/dtache") + (synopsis "Run and interact with detached shell commands") + (description + "The dtache package allows users to run shell commands +detached from Emacs. These commands are launched in sessions, using the +program dtach.") + (license license:gpl3+))) + (define-public emacs-dtrt-indent (package (name "emacs-dtrt-indent") --=20 2.32.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 15 15:25:15 2022 Received: (at 53279) by debbugs.gnu.org; 15 Jan 2022 20:25:15 +0000 Received: from localhost ([127.0.0.1]:41987 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8pbv-00036q-HF for submit@debbugs.gnu.org; Sat, 15 Jan 2022 15:25:15 -0500 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:50265) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8pbt-00036X-Mc for 53279@debbugs.gnu.org; Sat, 15 Jan 2022 15:25:14 -0500 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id 9D6DE20004; Sat, 15 Jan 2022 20:25:06 +0000 (UTC) From: Nicolas Goaziou To: Niklas Eklund Subject: Re: [bug#53279] [PATCH] gnu: Add emacs-dtache References: <87pmotpfam.fsf@posteo.net> <87czktkr40.fsf@posteo.net> <877db13p1e.fsf@posteo.net> Date: Sat, 15 Jan 2022 21:25:05 +0100 In-Reply-To: <877db13p1e.fsf@posteo.net> (Niklas Eklund's message of "Sat, 15 Jan 2022 17:08:13 +0000") Message-ID: <87a6fw3fxa.fsf@nicolasgoaziou.fr> 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: 53279 Cc: 53279@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.7 (-) Hello, Niklas Eklund writes: > +(define-public emacs-dtache > + (package > + (name "emacs-dtache") > + (version "0.3") Thank you. > + (native-inputs (list emacs-ert-runner)) > + (inputs (list dtach)) Nitpick: native-inputs and inputs are usually located after arguments and build-system. Adding "dtach" to input is insufficient. You also need to set `dtache-dtach-program' so it points to the dtach program provided as an input. Likewise, you also need to set `dtache-shell-program' so it points to the bash from the package inputs. For example, you can do the first step with the following phase: --8<---------------cut here---------------start------------->8--- (add-after 'unpack 'locate-dtach (lambda* (#:key inputs #:allow-other-keys) (make-file-writable "dtache.el") (emacs-substitute-variables "dtache.el" ("dtache-dtach-program" (search-input-file inputs "/bin/dtach"))))) --8<---------------cut here---------------end--------------->8--- > + (arguments > + `(#:test-command '("ert-runner") > + #:phases > + ,#~(modify-phases %standard-phases > + (add-before 'install 'install-dtache-env > + (lambda _ > + (let ((bin (string-append #$output "/bin"))) > + (mkdir-p bin) > + (copy-file "dtache-env" > + (string-append bin "/dtache-env")))))))) You can simplify the arguments further: --8<---------------cut here---------------start------------->8--- (arguments (list #:test-command #~(list "ert-runner") #:phases #~(modify-phases %standard-phases (add-before 'install 'install-dtache-env (lambda _ (install-file "dtache-env" (string-append #$output "/bin"))))))) --8<---------------cut here---------------end--------------->8--- Could you send an updated patch? Regards, -- Nicolas Goaziou From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 16 17:56:25 2022 Received: (at 53279) by debbugs.gnu.org; 16 Jan 2022 22:56:25 +0000 Received: from localhost ([127.0.0.1]:44433 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n9ERk-0005cR-Rg for submit@debbugs.gnu.org; Sun, 16 Jan 2022 17:56:25 -0500 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:41517) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n9ERi-0005cC-Af for 53279@debbugs.gnu.org; Sun, 16 Jan 2022 17:56:23 -0500 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id 6C011FF802; Sun, 16 Jan 2022 22:56:15 +0000 (UTC) From: Nicolas Goaziou To: Niklas Eklund Subject: Re: [bug#53279] [PATCH] gnu: Add emacs-dtache References: <87pmotpfam.fsf@posteo.net> <87czktkr40.fsf@posteo.net> <877db13p1e.fsf@posteo.net> <87a6fw3fxa.fsf@nicolasgoaziou.fr> <87ee587itt.fsf@posteo.net> Date: Sun, 16 Jan 2022 23:56:14 +0100 In-Reply-To: <87ee587itt.fsf@posteo.net> (Niklas Eklund's message of "Sat, 15 Jan 2022 22:08:46 +0000") Message-ID: <87tue3i92p.fsf@nicolasgoaziou.fr> 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: 53279 Cc: 53279@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.7 (-) Hello, Niklas Eklund writes: > Ah good to know, I have updated that part now. Thanks for the update. I merged the consecutive phases with emacs-substitute-variables for clarity, and enabled tests with "#:tests? #true". I'm sending the package definition in its current state: --8<---------------cut here---------------start------------->8--- (define-public emacs-dtache (package (name "emacs-dtache") (version "0.3") (source (origin (method git-fetch) (uri (git-reference (url "https://gitlab.com/niklaseklund/dtache") (commit version))) (file-name (git-file-name name version)) (sha256 (base32 "0f2yxrqfkslif2y88x9vlpshadifppxw6yl1rrf1qzfjy6cv144n")))) (arguments (list #:tests? #true #:test-command #~(list "ert-runner") #:phases #~(modify-phases %standard-phases (add-before 'install 'install-dtache-env (lambda _ (install-file "dtache-env" (string-append #$output "/bin")))) (add-after 'unpack 'locate-dtach (lambda* (#:key inputs #:allow-other-keys) (make-file-writable "dtache.el") (emacs-substitute-variables "dtache.el" ("dtache-env" (string-append #$output "/bin/dtache-env")) ("dtache-dtach-program" (search-input-file inputs "/bin/dtach")) ("dtache-shell-program" (search-input-file inputs "/bin/bash")))))))) (build-system emacs-build-system) (native-inputs (list emacs-ert-runner)) (inputs (list dtach)) (home-page "https://gitlab.com/niklaseklund/dtache") (synopsis "Run and interact with detached shell commands") (description "The dtache package allows users to run shell commands detached from Emacs. These commands are launched in sessions, using the program dtach.") (license license:gpl3+))) --8<---------------cut here---------------end--------------->8--- Unfortunately, one test is failing with the following output: --8<---------------cut here---------------start------------->8--- .......Test dtache-test-dtach-command backtrace: Test dtache-test-dtach-command condition: (ert-test-failed ((should (equal expected-concat (dtache-dtach-command session t))) :form (equal "dtach -c /tmp/guix-build-emacs-dtache-0.3.drv-0/dtache7Dw27E/sessions/7695240f5262181009a25db676161039.socket -z bash -c \\{\\ dtache-env\\ ls\\\\\\ -la\\;\\ \\}\\ 2\\>\\&1\\ \\|\\ tee\\ /tmp/guix-build-emacs-dtache-0.3.drv-0/dtache7Dw27E/sessions/7695240f5262181009a25db676161039.log" "/gnu/store/prhk20g1yp8qbn4rj5h25cdpimxynq3d-dtach-0.9/bin/dtach -c /tmp/guix-build-emacs-dtache-0.3.drv-0/dtache7Dw27E/sessions/7695240f5262181009a25db676161039.socket -z bash -c \\{\\ dtache-env\\ ls\\\\\\ -la\\;\\ \\}\\ 2\\>\\&1\\ \\|\\ tee\\ /tmp/guix-build-emacs-dtache-0.3.drv-0/dtache7Dw27E/sessions/7695240f5262181009a25db676161039.log") :value nil :explanation (arrays-of-different-length 268 326 "dtach -c /tmp/guix-build-emacs-dtache-0.3.drv-0/dtache7Dw27E/sessions/7695240f5262181009a25db676161039.socket -z bash -c \\{\\ dtache-env\\ ls\\\\\\ -la\\;\\ \\}\\ 2\\>\\&1\\ \\|\\ tee\\ /tmp/guix-build-emacs-dtache-0.3.drv-0/dtache7Dw27E/sessions/7695240f5262181009a25db676161039.log" "/gnu/store/prhk20g1yp8qbn4rj5h25cdpimxynq3d-dtach-0.9/bin/dtach -c /tmp/guix-build-emacs-dtache-0.3.drv-0/dtache7Dw27E/sessions/7695240f5262181009a25db676161039.socket -z bash -c \\{\\ dtache-env\\ ls\\\\\\ -la\\;\\ \\}\\ 2\\>\\&1\\ \\|\\ tee\\ /tmp/guix-build-emacs-dtache-0.3.drv-0/dtache7Dw27E/sessions/7695240f5262181009a25db676161039.log" first-mismatch-at 0))) F................ --8<---------------cut here---------------end--------------->8--- Do you think this can be fixed? Or shall we skip that test? Regards, -- Nicolas Goaziou From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 19 12:11:43 2022 Received: (at 53279-done) by debbugs.gnu.org; 19 Jan 2022 17:11:43 +0000 Received: from localhost ([127.0.0.1]:55397 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAEUo-0002mb-Gd for submit@debbugs.gnu.org; Wed, 19 Jan 2022 12:11:43 -0500 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:52103) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAEUk-0002mJ-8W for 53279-done@debbugs.gnu.org; Wed, 19 Jan 2022 12:11:42 -0500 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id 7CB1620005; Wed, 19 Jan 2022 17:11:31 +0000 (UTC) From: Nicolas Goaziou To: Niklas Eklund Subject: Re: [bug#53279] [PATCH] gnu: Add emacs-dtache References: <87pmotpfam.fsf@posteo.net> <87czktkr40.fsf@posteo.net> <877db13p1e.fsf@posteo.net> <87a6fw3fxa.fsf@nicolasgoaziou.fr> <87ee587itt.fsf@posteo.net> <87tue3i92p.fsf@nicolasgoaziou.fr> <87h7a2y27d.fsf@posteo.net> Date: Wed, 19 Jan 2022 18:11:30 +0100 In-Reply-To: <87h7a2y27d.fsf@posteo.net> (Niklas Eklund's message of "Mon, 17 Jan 2022 12:30:14 +0000") Message-ID: <87k0evabwd.fsf@nicolasgoaziou.fr> 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: 53279-done Cc: 53279-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.7 (-) Hello, Niklas Eklund writes: > I think it make sense to fix it, it was a small typo that I hadn't > captured before. I have created a new patch, where I have updated the > package definition to use a specific commit which solves the issue with > the failing test. I added a comment explaining why we do not use a tagged release, fixed indentation, and applied your patch. Thank you. Regards, -- Nicolas Goaziou From unknown Sun Jun 22 00:05:15 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, 17 Feb 2022 12:24:08 +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