From patchwork Wed Jan 29 00:05:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amin Bandali X-Patchwork-Id: 20026 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 0202A163A5; Wed, 29 Jan 2020 00:07:12 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id C0098163A0 for ; Wed, 29 Jan 2020 00:07:11 +0000 (GMT) Received: from localhost ([::1]:39126 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iwasx-0004yW-8y for patchwork@mira.cbaines.net; Tue, 28 Jan 2020 19:07:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54503) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iwasp-0004xP-In for guix-patches@gnu.org; Tue, 28 Jan 2020 19:07:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iwaso-000417-DD for guix-patches@gnu.org; Tue, 28 Jan 2020 19:07:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:55327) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iwaso-00040u-AB for guix-patches@gnu.org; Tue, 28 Jan 2020 19:07:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iwaso-00039w-6c for guix-patches@gnu.org; Tue, 28 Jan 2020 19:07:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#39334] [PATCH] gnu: Add emacs-message-x. Resent-From: Amin Bandali Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 29 Jan 2020 00:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39334 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 39334@debbugs.gnu.org Cc: Amin Bandali X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158025637012069 (code B ref -1); Wed, 29 Jan 2020 00:07:02 +0000 Received: (at submit) by debbugs.gnu.org; 29 Jan 2020 00:06:10 +0000 Received: from localhost ([127.0.0.1]:33064 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iwary-00038a-El for submit@debbugs.gnu.org; Tue, 28 Jan 2020 19:06:10 -0500 Received: from lists.gnu.org ([209.51.188.17]:43679) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iwarw-00038T-UD for submit@debbugs.gnu.org; Tue, 28 Jan 2020 19:06:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53859) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iwarv-0004Jp-L6 for guix-patches@gnu.org; Tue, 28 Jan 2020 19:06:08 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38112) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iwarv-0001yz-H7 for guix-patches@gnu.org; Tue, 28 Jan 2020 19:06:07 -0500 Received: from cpe00fc8d518353-cm00fc8d518350.cpe.net.cable.rogers.com ([99.228.8.225]:33208 helo=chaman.hitronhub.home) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iware-0004Zl-9e; Tue, 28 Jan 2020 19:06:00 -0500 From: Amin Bandali Date: Tue, 28 Jan 2020 19:05:09 -0500 Message-Id: <20200129000509.10434-1-mab@gnu.org> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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-message-x): New variable. --- gnu/packages/emacs-xyz.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index e834dfffb3..84396a8740 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -21237,3 +21237,31 @@ mode-line text (lighter) of major and minor modes.") (description "@code{unkillable-scratch} helps prevent killing buffers matching a given regexp.") (license license:gpl2+)))) + +(define-public emacs-message-x + ;; Use the latest commit, as there are no tagged releases. + (let ((commit "5524de7bbfdd8749c110f48de5afb024d9f83133") + (revision "0")) + (package + (name "emacs-message-x") + (version (git-version "1.23" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/emacsmirror/message-x.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0qy1xf11j357lsnbb829hnbg7fq1cii4cx54fwf0wgjh1bv2abvj")))) + (build-system emacs-build-system) + (home-page "https://www.emacswiki.org/emacs/message-x.el") + (synopsis "Customizable completion in message headers") + (description "@code{message-x} assigns a context-sensitive +function to the TAB key in @code{message-mode} of Gnus. When on a +header line, it performs completion based on which header we are +in (for example, newsgroup name completion makes sense on the +@code{Newsgroups} header, whereas mail alias expansion makes sense in +the @code{To} and @code{Cc} headers). When in the message body, this +executes a different function (default: @code{indent-relative}).") + (license license:gpl2+))))