From patchwork Tue Jul 12 21:05:13 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricardo Wurmus X-Patchwork-Id: 13767 Received: (qmail 45424 invoked by uid 89); 12 Jul 2016 21:09:11 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.1 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.1 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=managers, composed, perspectives, Switch X-Spam-Status: No, score=-3.1 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: lists.gnu.org Received: from lists.gnu.org (HELO lists.gnu.org) (208.118.235.17) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Tue, 12 Jul 2016 21:09:01 +0000 Received: from localhost ([::1]:43519 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bN4vL-0003S5-Kx for patchwork@sourceware.org; Tue, 12 Jul 2016 17:08:59 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56153) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bN4tC-0000Rz-3C for guix-devel@gnu.org; Tue, 12 Jul 2016 17:06:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bN4t8-0001za-HN for guix-devel@gnu.org; Tue, 12 Jul 2016 17:06:45 -0400 Received: from sender163-mail.zoho.com ([74.201.84.163]:24404) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bN4t8-0001zC-8r for guix-devel@gnu.org; Tue, 12 Jul 2016 17:06:42 -0400 Received: from localhost (xd9ba42ea.dyn.telefonica.de [217.186.66.234]) by mx.zohomail.com with SMTPS id 1468357600305670.6091101756724; Tue, 12 Jul 2016 14:06:40 -0700 (PDT) From: Ricardo Wurmus To: guix-devel@gnu.org Subject: [PATCH 16/17] gnu: Add emacs-perspective. Date: Tue, 12 Jul 2016 23:05:13 +0200 Message-Id: <20160712210514.21310-17-rekado@elephly.net> X-Mailer: git-send-email 2.8.4 In-Reply-To: <20160712210514.21310-1-rekado@elephly.net> References: <20160712210514.21310-1-rekado@elephly.net> X-ZohoMail: Z_26063301 SPT_1 Z_26062608 SPT_0 X-Zoho-Virus-Status: 2 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 74.201.84.163 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+patchwork=sourceware.org@gnu.org Sender: "Guix-devel" * gnu/packages/emacs.scm (emacs-perspective): New variable. --- gnu/packages/emacs.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 283ed56..2c92756 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -2137,6 +2137,33 @@ moving to the next or previous keyword and to invoke @code{occur} with a regexp that matches all known keywords.") (license license:gpl3+))) +(define-public emacs-perspective + (package + (name "emacs-perspective") + (version "1.12") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/nex3/perspective-el/" + "archive/" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "078ahh0kmhdylq5ib9c81c76kz1n02xwc83pm729d00i84ibviic")))) + (build-system emacs-build-system) + (home-page "http://github.com/nex3/perspective-el") + (synopsis "Switch between named \"perspectives\"") + (description + "This package provides tagged workspaces in Emacs, similar to workspaces in +windows managers such as Awesome and XMonad. @code{perspective.el} provides +multiple workspaces (or \"perspectives\") for each Emacs frame. Each +perspective is composed of a window configuration and a set of buffers. +Switching to a perspective activates its window configuration, and when in a +perspective only its buffers are available by default.") + ;; This package is released under the same license as Emacs (GPLv3+) or + ;; the Expat license. + (license license:gpl3+))) + (define-public emacs-hydra (package (name "emacs-hydra")