From patchwork Thu Apr 28 15:30:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Niklas Eklund X-Patchwork-Id: 38983 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 40EF327BBE9; Thu, 28 Apr 2022 16:36:52 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 94B6627BBEA for ; Thu, 28 Apr 2022 16:36:49 +0100 (BST) Received: from localhost ([::1]:34492 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nk6CG-0007bg-Nq for patchwork@mira.cbaines.net; Thu, 28 Apr 2022 11:36:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33490) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nk67e-0007wl-F4 for guix-patches@gnu.org; Thu, 28 Apr 2022 11:32:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55754) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nk67e-0006es-6T for guix-patches@gnu.org; Thu, 28 Apr 2022 11:32:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nk67d-0004w9-Uk for guix-patches@gnu.org; Thu, 28 Apr 2022 11:32:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55165] [PATCH]: Add emacs-git-email. Resent-From: Niklas Eklund Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 28 Apr 2022 15:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55165 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55165@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165115987318903 (code B ref -1); Thu, 28 Apr 2022 15:32:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 Apr 2022 15:31:13 +0000 Received: from localhost ([127.0.0.1]:49648 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nk66r-0004up-Io for submit@debbugs.gnu.org; Thu, 28 Apr 2022 11:31:13 -0400 Received: from lists.gnu.org ([209.51.188.17]:57972) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nk66p-0004uh-Ta for submit@debbugs.gnu.org; Thu, 28 Apr 2022 11:31:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33324) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nk66f-0006hm-2x for guix-patches@gnu.org; Thu, 28 Apr 2022 11:31:03 -0400 Received: from mout01.posteo.de ([185.67.36.65]:32829) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nk66c-0006Xq-CI for guix-patches@gnu.org; Thu, 28 Apr 2022 11:31:00 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id EB943240035 for ; Thu, 28 Apr 2022 17:30:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1651159856; bh=p01VC+yav/ZAZuUgQQC9Dbwn62HqLqk8dDq6my3+Jvg=; h=From:To:Subject:Date:From; b=Et281yfPChJBnOcbeSLp22go5D79UarV2z9VeFzLFvLCeLlzCvS7jk6+vW5AhrIC6 onLxH2ZIxnC/yAx6Y48XWo7a1gPhVbK7Y2snbk92OUGBtDN+FDnLpnv2o87L6Kihp8 DN+bf67TAk6IGA73vuI9FFHyNgTujhwuJgcDON8bqUwD0dDKxtN6xD4PymxXKZ6Itg c0uI2MdrCJaXvLKtUThb8lBHp6z9D5tpsXE8b3thQIxtFxaPMqcx8K5Xw4EvNyVitC tFR5QOYPUnssOsUvtouiH7BWA/y52n/u3xhv1cvVzegHV5KHGz5wFE5zx1zYAJlSxn eOjyiv+LWfknQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Kq0272ygjz9rxL for ; Thu, 28 Apr 2022 17:30:55 +0200 (CEST) From: Niklas Eklund Date: Thu, 28 Apr 2022 15:30:54 +0000 Message-ID: <875ymtxm1d.fsf@posteo.net> MIME-Version: 1.0 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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 Hello, here is a patch containing the git-email package for Emacs. /Niklas From c38510bb98aae349878d63e609b1777a307221e3 Mon Sep 17 00:00:00 2001 From: Niklas Eklund Date: Thu, 28 Apr 2022 17:28:16 +0200 Subject: [PATCH] gnu: Add emacs-git-email. * gnu/packages/emacs-xyz.scm (emacs-git-email): New variable. --- gnu/packages/emacs-xyz.scm | 41 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index db1663c677..5454c9e416 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -15745,6 +15745,47 @@ (define-public emacs-gitpatch @code{ibuffer} buffers.") (license license:gpl3+))) +(define-public emacs-git-email + ;; Use latest commit since latest tagged release is missing important + ;; changes. + (let ((commit "b5ebade3a48dc0ce0c85699f25800808233c73be") + (revision "0")) + (package + (name "emacs-git-email") + (version (git-version "0.2.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://git.sr.ht/~yoctocell/git-email") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1lk1yds7idgawnair8l3s72rgjmh80qmy4kl5wrnqvpmjrmdgvnx")))) + (build-system emacs-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; piem is not yet packaged in Guix. + (add-after 'unpack 'remove-piem + (lambda _ + (delete-file "git-email-piem.el"))) + (add-before 'install 'makeinfo + (lambda _ + (invoke "makeinfo" "doc/git-email.texi"))) + ))) + (native-inputs + `(("texinfo" ,texinfo))) + (propagated-inputs + `(,mu + ,emacs-magit + ,emacs-notmuch)) + (license license:gpl3+) + (home-page "https://sr.ht/~yoctocell/git-email") + (synopsis "Format and send Git patches in Emacs") + (description "This package provides utilities for formatting and +sending Git patches via Email, without leaving Emacs.")))) + (define-public emacs-erc-hl-nicks (package (name "emacs-erc-hl-nicks") -- 2.34.0