From patchwork Sat Jun 15 20:34:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Baptiste Strazzulla X-Patchwork-Id: 14330 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 0208B170E4; Sat, 15 Jun 2019 21:39:09 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,MIME_HTML_MOSTLY,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 6E073170E1 for ; Sat, 15 Jun 2019 21:39:08 +0100 (BST) Received: from localhost ([::1]:36476 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hcFS7-0000En-QZ for patchwork@mira.cbaines.net; Sat, 15 Jun 2019 16:39:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41215) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hcFS4-00006B-FE for guix-patches@gnu.org; Sat, 15 Jun 2019 16:39:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hcFS2-0002G4-Ve for guix-patches@gnu.org; Sat, 15 Jun 2019 16:39:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53950) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hcFS2-0002Fj-P2 for guix-patches@gnu.org; Sat, 15 Jun 2019 16:39:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hcFS2-0005nd-LC for guix-patches@gnu.org; Sat, 15 Jun 2019 16:39:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#36230] [PATCH] Add emacs-multi-term Resent-From: Baptiste Strazzulla Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 15 Jun 2019 20:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 36230 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 36230@debbugs.gnu.org X-Debbugs-Original-To: "guix-patches@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.156063108322182 (code B ref -1); Sat, 15 Jun 2019 20:39:02 +0000 Received: (at submit) by debbugs.gnu.org; 15 Jun 2019 20:38:03 +0000 Received: from localhost ([127.0.0.1]:39261 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hcFR5-0005li-1O for submit@debbugs.gnu.org; Sat, 15 Jun 2019 16:38:03 -0400 Received: from lists.gnu.org ([209.51.188.17]:47225) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hcFPu-0005iu-7r for submit@debbugs.gnu.org; Sat, 15 Jun 2019 16:36:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40366) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hcFPs-0001KL-Ue for guix-patches@gnu.org; Sat, 15 Jun 2019 16:36:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hcFNi-0004L9-5K for guix-patches@gnu.org; Sat, 15 Jun 2019 16:34:35 -0400 Received: from mail-oln040092064082.outbound.protection.outlook.com ([40.92.64.82]:15984 helo=EUR01-DB5-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hcFNh-0004FH-To for guix-patches@gnu.org; Sat, 15 Jun 2019 16:34:34 -0400 Received: from VE1EUR01FT011.eop-EUR01.prod.protection.outlook.com (10.152.2.56) by VE1EUR01HT226.eop-EUR01.prod.protection.outlook.com (10.152.3.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1987.11; Sat, 15 Jun 2019 20:34:30 +0000 Received: from PR2PR08MB4810.eurprd08.prod.outlook.com (10.152.2.54) by VE1EUR01FT011.mail.protection.outlook.com (10.152.2.229) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1987.11 via Frontend Transport; Sat, 15 Jun 2019 20:34:30 +0000 Received: from PR2PR08MB4810.eurprd08.prod.outlook.com ([fe80::3df0:165d:6f06:7855]) by PR2PR08MB4810.eurprd08.prod.outlook.com ([fe80::3df0:165d:6f06:7855%7]) with mapi id 15.20.1987.014; Sat, 15 Jun 2019 20:34:30 +0000 From: Baptiste Strazzulla Thread-Topic: [PATCH] Add emacs-multi-term Thread-Index: AQHVI7mpO/e0Fsy4gkmTkHLCuzgFdA== Date: Sat, 15 Jun 2019 20:34:30 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:2DE46745EBB7EFEE3B38E6B7071E53B5F833D15B050ABB43F91EB90A36805AF8; UpperCasedChecksum:3D56EBE0BA381DEC860951565E95A1481EFEDBA62739E3A1939BA53B67373363; SizeAsReceived:6493; Count:40 x-tmn: [YhHieGZJD/OjFbJU/r5EVK8stxrtjowU] x-ms-publictraffictype: Email x-incomingheadercount: 40 x-eopattributedmessage: 0 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(5050001)(7020095)(20181119110)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031322404)(2017031323274)(2017031324274)(1601125500)(1603101475)(1701031045); SRVR:VE1EUR01HT226; x-ms-traffictypediagnostic: VE1EUR01HT226: x-microsoft-antispam-message-info: Md8/2GNxvUhBwlHs/whrZ+oduMMo0pM0W3nnoG0Zft56VaAaCJ0TENkErfPNxXDQ MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: a057bb0b-0586-4baa-0409-08d6f1d0de5a X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Jun 2019 20:34:30.5136 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1EUR01HT226 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Mailman-Approved-At: Sat, 15 Jun 2019 16:38:02 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From 3118853b54988c68828c5e7e266d4959151b64cf Mon Sep 17 00:00:00 2001 From: Zzull Date: Sat, 15 Jun 2019 22:32:19 +0200 Subject: [PATCH] gnu: Add emacs-multi-term * gnu/packages/emacs-xyz.scm (emacs-multi-term): 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 37bf9a06b9..39df468220 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -48,6 +48,7 @@ ;;; Copyright © 2019 Gabriel Hondet ;;; Copyright © 2019 LaFreniere, Joseph ;;; Copyright © 2019 Amar Singh +;;; Copyright © 2019 Baptiste Strazzulla ;;; ;;; This file is part of GNU Guix. ;;; @@ -16014,3 +16015,48 @@ themselves live in an Org-mode file. As such, this leverages the power of Org-mode (the notes may have outlines, latex fragments, babel, etc...) while acting like notes that are made @emph{in} the document.") (license license:gpl3+))) + +(define-public emacs-multi-term + (package + (name "emacs-multi-term") + (version "1.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/emacsorphanage/multi-term.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1bn6zx931vz2fa72ab999r33bxv8brn3cqmalvq25x7s4z3q1lyi")))) + (build-system emacs-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; FIXME: `patch-el-files' crashes with the following error: + ;; unable to locate "zsh". + (delete 'patch-el-files)))) + (home-page "https://github.com/emacsorphanage/multi-term") + (synopsis "Manage multiple terminal buffers in Emacs") + (description + "By default, term.el provides a great terminal emulator in Emacs. But it +lacks the following: + + 1) term.el just provides commands @{term} or @{ansi-term} for creating a +terminal buffer. And there is no special command to create or switch between +multiple terminal buffers quickly. + + 2) By default, the keystrokes of term.el conflict with global-mode +keystrokes, which makes it difficult for the user to integrate term.el with +Emacs. + + 3) By default, executing *NIX command @{exit} from term-mode, it will leave +an unused buffer. + + 4) term.el won’t quit running sub-process when you kill terminal buffer +forcibly. + + 5) Lacks a dedicated window for debugging program. + + And multi-term.el is enhanced with those features.") + (license license:gpl3+))) -- 2.22.0