From patchwork Sun Jun 9 14:10:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Griffin X-Patchwork-Id: 14268 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 9E1E3170BF; Sun, 9 Jun 2019 15:12:17 +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.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID 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 42D7717083 for ; Sun, 9 Jun 2019 15:12:17 +0100 (BST) Received: from localhost ([::1]:36052 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hZyYS-0003fG-S4 for patchwork@mira.cbaines.net; Sun, 09 Jun 2019 10:12:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55944) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hZyYP-0003es-6u for guix-patches@gnu.org; Sun, 09 Jun 2019 10:12:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hZyYK-0005MA-0Q for guix-patches@gnu.org; Sun, 09 Jun 2019 10:12:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41599) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hZyYD-0005F3-UM for guix-patches@gnu.org; Sun, 09 Jun 2019 10:12:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hZyYD-0008Iy-P8 for guix-patches@gnu.org; Sun, 09 Jun 2019 10:12:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#36146] [PATCH 2/4] gnu: Add emacs-restart-emacs. References: <33ae2269-19b1-4122-845e-dacc6533f72d@www.fastmail.com> In-Reply-To: <33ae2269-19b1-4122-845e-dacc6533f72d@www.fastmail.com> Resent-From: "Alex Griffin" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 09 Jun 2019 14:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36146 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 36146@debbugs.gnu.org Received: via spool by 36146-submit@debbugs.gnu.org id=B36146.156008946831863 (code B ref 36146); Sun, 09 Jun 2019 14:12:01 +0000 Received: (at 36146) by debbugs.gnu.org; 9 Jun 2019 14:11:08 +0000 Received: from localhost ([127.0.0.1]:55143 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hZyXL-0008Hr-PI for submit@debbugs.gnu.org; Sun, 09 Jun 2019 10:11:08 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:51673) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hZyXK-0008HE-Ag for 36146@debbugs.gnu.org; Sun, 09 Jun 2019 10:11:06 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id C50FC2F7 for <36146@debbugs.gnu.org>; Sun, 9 Jun 2019 10:11:00 -0400 (EDT) Received: from imap6 ([10.202.2.56]) by compute6.internal (MEProxy); Sun, 09 Jun 2019 10:11:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ajgrf.com; h= mime-version:message-id:date:from:to:subject:content-type; s= fm3; bh=Atsa193Vwixg89Jb5xwC3Wsl8KejJkW9gQKQ6Ka/pvA=; b=j3ns7bpp l/D1LT09Ujr1/Binonmn5ywTqmwmIg52lDr50Szu9fWDXLMP1QlnjyTfKf+iUOna jsYeUWFL9IzuE78AUmYETPFdtrkOX9RGqZbytMOZDMR4eazPUADXbuJHJkvbL12H 5seh7no2p8Qj+9BzCqwNvePrDkfBWutBxr0vAe383/Eq9xIaXkhF7JIDEVHoJidj XLafneozQkPZFyrjzeoY9nL29ZLWUuiQRY3yUOK1w6nx6PWclwhGr8hCIb1iYweB d0/ptBfLkC0y4zwNWDvwDlJFHToParjXQ3wrurSqIsP8h7vWm7oi/nfpQ0WUV8X4 BShJP9Z2njCYsg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=Atsa193Vwixg89Jb5xwC3Wsl8KejJ kW9gQKQ6Ka/pvA=; b=XQRPtfMZ4rHB4+CQN18LhsOHyeukFfAfFI7KMLl8RiyOg wBIAgC/pW2rQ0r0XCOgJyZj8XK1IxjvwUhOhGlCqsUNqp0a1x5ky+qRXxKsnetB6 t34Fow7qEr7XQS/1u1ju0h7w0Ic1DXqA0dyfTc7L8YLMpO+hY3VaYsTzWXxWin3j aE/7DEiQYxH8zRkepL8UZbFRjmAJxTnfLXWYy0R1oOj4su8soKzcz03XC9YybBk3 VjiXzqpR2cWz/E99AIdd3glC9MxnqHPn3D9hMR1frJaUE1LkUhJCzJxeSk/w30+4 gfHyupxV5TG5XgZw+FO09OiKAGz7PpFJawyU7AdZw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrudehtddgjeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfffhffvufgtsehmtderre erredtnecuhfhrohhmpedftehlvgigucfirhhifhhfihhnfdcuoegrsegrjhhgrhhfrdgt ohhmqeenucfrrghrrghmpehmrghilhhfrhhomheprgesrghjghhrfhdrtghomhenucevlh hushhtvghrufhiiigvpedt X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 04D361400A0; Sun, 9 Jun 2019 10:11:00 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.6-663-gf46ad30-fmstable-20190607v1 Mime-Version: 1.0 Message-Id: <1c95421c-2010-415c-bfdb-dd0ce589b298@www.fastmail.com> Date: Sun, 09 Jun 2019 14:10:56 +0000 From: "Alex Griffin" 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 This patch adds emacs-restart-emacs, an Emacs package that provides a command to restart Emacs. From 738315f7907d5415d6229cb6905380e0bc09e5c5 Mon Sep 17 00:00:00 2001 From: Alex Griffin Date: Sun, 9 Jun 2019 09:00:48 -0500 Subject: [PATCH 2/4] gnu: Add emacs-restart-emacs. * gnu/packages/emacs-xyz.scm (emacs-restart-emacs): New variable. --- gnu/packages/emacs-xyz.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index c1283f1ffd..d1eb877010 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -10629,6 +10629,27 @@ macro takes a first argument (whose value must be an alist) and a body.") your Emacs.") (license license:gpl2+)))) +(define-public emacs-restart-emacs + (package + (name "emacs-restart-emacs") + (version "20180601.1031") + (source + (origin + (method url-fetch) + (uri (string-append + "https://melpa.org/packages/restart-emacs-" + version + ".el")) + (sha256 + (base32 + "1rpn1881xrgm17hd33ngpzl9wn22f43h5n7d8zf57089hc1lzvrb")))) + (build-system emacs-build-system) + (home-page "https://github.com/iqbalansari/restart-emacs") + (synopsis "Restart Emacs from within Emacs") + (description "This package provides a simple command to restart Emacs from +within Emacs.") + (license license:gpl3+))) + (define-public emacs-sourcemap (package (name "emacs-sourcemap") -- 2.22.0