From patchwork Thu May 30 20:17:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "LaFreniere, Joseph" X-Patchwork-Id: 14166 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 03CCA17063; Thu, 30 May 2019 21:41:12 +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, URIBL_BLOCKED autolearn=unavailable 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 A64171705A for ; Thu, 30 May 2019 21:41:08 +0100 (BST) Received: from localhost ([127.0.0.1]:58915 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hWRrH-0007EC-2n for patchwork@mira.cbaines.net; Thu, 30 May 2019 16:41:07 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47229) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hWRrD-0007Ai-Vw for guix-patches@gnu.org; Thu, 30 May 2019 16:41:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hWRrC-0003l5-S5 for guix-patches@gnu.org; Thu, 30 May 2019 16:41:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48720) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hWRrC-0003ki-Ly for guix-patches@gnu.org; Thu, 30 May 2019 16:41:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hWRrC-0002rY-It for guix-patches@gnu.org; Thu, 30 May 2019 16:41:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#36016] [PATCH] gnu: Add emacs-reformatter. Resent-From: "LaFreniere\, Joseph" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 30 May 2019 20:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 36016 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 36016@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.155924881710919 (code B ref -1); Thu, 30 May 2019 20:41:02 +0000 Received: (at submit) by debbugs.gnu.org; 30 May 2019 20:40:17 +0000 Received: from localhost ([127.0.0.1]:34028 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hWRqR-0002q0-3Z for submit@debbugs.gnu.org; Thu, 30 May 2019 16:40:17 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57206) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hWRV5-00027a-C8 for submit@debbugs.gnu.org; Thu, 30 May 2019 16:18:11 -0400 Received: from lists.gnu.org ([209.51.188.17]:45097) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hWRUz-0005pt-Ft for submit@debbugs.gnu.org; Thu, 30 May 2019 16:18:06 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43338) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hWRUy-00082y-AS for guix-patches@gnu.org; Thu, 30 May 2019 16:18:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hWRUw-0005ko-Cs for guix-patches@gnu.org; Thu, 30 May 2019 16:18:04 -0400 Received: from mx.kolabnow.com ([95.128.36.41]:3068) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hWRUu-0005g4-Fi for guix-patches@gnu.org; Thu, 30 May 2019 16:18:02 -0400 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out002.mykolab.com (Postfix) with ESMTP id 6356855A for ; Thu, 30 May 2019 22:17:57 +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=1559247477; x=1561061878; bh=icLUPPhc0EhA7TXb/VA k4SkgPVrBDg8n9Oktf3XJQHo=; b=W9qqAScRpey+XydcgH11Hry5/UsqXMJ1yv8 4K8o2bbVJkQJseuOhRQIRK3Shoz2UoEByJwqL5oOuIGHKKX7hhCVetbT/dC4MP3R 2A5O3+cnySlCtcIVKyd3TwQEFq40SD2M9F/1rj2qVPpI6zijaCg12dDv4G/kLUtc s6Wdmq44lQqXa4pCbj+5pPqDIZM6EfaWs/RmHouS01ccjXASp69Y5PUzLhAGza9l 4Nu/mIESqto5G3vm4gKHYnHanmI7iP0hvduu49oimgaSehO+mQa7klxdAFW70oxJ sHBMJQ2u5dF/sMMJmPLmjHhmKRaXZkVX+dQu1dMkFRmlh0rHFzkyW2CVBmFbHRGk eG5o4qIq1D1UJoUDAPWRfQnTF5CK5U8Yp3GT+HwQR7LHl48L+R73Glx/V0F1jhhu HI8caW0Ct59973vKmQ3no67XuxYXZN8SuetVqma1ZC15lObCqn3gqlLXm/KaUR0+ XKtr+qG4EwdRPvRadyNYXH6+4ZH5U+NE9R+UsPl7YOfk5HDAr1fkHbH7LttuHRaz nJrMmkrCN71WUNWeFdbtR5bTfBDHYmTcyr4aty2vvmqW8GuIY6YP1Z6YV+co7IY2 Pako8Qk0+z0fGIJLTAyerL5IdPj8ApA5HZlPI6Suw3EgIbXkMhisySCyK0Bt/uvw 5DMH6wzU= X-Virus-Scanned: amavisd-new at mykolab.com Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out002.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id quf_avIMMTO2 for ; Thu, 30 May 2019 22:17:57 +0200 (CEST) Received: from int-mx001.mykolab.com (unknown [10.9.13.1]) by ext-mx-out002.mykolab.com (Postfix) with ESMTPS id DD24128A for ; Thu, 30 May 2019 22:17:56 +0200 (CEST) Received: from ext-subm003.mykolab.com (unknown [10.9.6.3]) by int-mx001.mykolab.com (Postfix) with ESMTPS id A2661C03 for ; Thu, 30 May 2019 22:17:56 +0200 (CEST) From: "LaFreniere\, Joseph" Date: Thu, 30 May 2019 15:17:53 -0500 Message-ID: <875zprelxq.fsf@odyssey.lafreniere.xyz> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Thu, 30 May 2019 16:40:14 -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 * gnu/packages/emacs-xyz.scm (emacs-reformatter): New variable. --- gnu/packages/emacs-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) -- Joseph LaFreniere diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 6f74a2fc45..bdb2d678cb 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -804,6 +804,29 @@ skip set strings, which are arguments to @code{skip-chars-forward} and @code{skip-chars-backward}.") (license license:gpl3+))) +(define-public emacs-reformatter + (package + (name "emacs-reformatter") + (version "0.4") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/purcell/reformatter.el.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0hhy6x1bkwlhdlarsgm06g3am4yh02yqv8qs34szpzgy53x84qah")))) + (build-system emacs-build-system) + (home-page "https://github.com/purcell/reformatter.el") + (synopsis "Define commands which run reformatters on the current buffer") + (description + "This library lets elisp authors easily define an idiomatic command to +reformat the current buffer using a command-line program, together with an +optional minor mode which can apply this command automatically on save.") + (license license:gpl3+))) + (define-public emacs-relint (package (name "emacs-relint")