From patchwork Fri Oct 23 01:22:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "LaFreniere, Joseph" X-Patchwork-Id: 24750 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 9E61A27BBF0; Fri, 23 Oct 2020 02:23:08 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID, 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 ESMTPS id D6DEE27BBEE for ; Fri, 23 Oct 2020 02:23:07 +0100 (BST) Received: from localhost ([::1]:35720 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kVlnP-0003RZ-30 for patchwork@mira.cbaines.net; Thu, 22 Oct 2020 21:23:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46168) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVlnK-0003RS-FD for guix-patches@gnu.org; Thu, 22 Oct 2020 21:23:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42721) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kVlnK-0001Ht-6V for guix-patches@gnu.org; Thu, 22 Oct 2020 21:23:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kVlnK-0001aV-47 for guix-patches@gnu.org; Thu, 22 Oct 2020 21:23:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44165] [PATCH] gnu: Add emacs-xonsh-mode. Resent-From: Joseph LaFreniere Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 23 Oct 2020 01:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44165 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44165@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16034161656066 (code B ref -1); Fri, 23 Oct 2020 01:23:02 +0000 Received: (at submit) by debbugs.gnu.org; 23 Oct 2020 01:22:45 +0000 Received: from localhost ([127.0.0.1]:54267 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVln2-0001Zm-Un for submit@debbugs.gnu.org; Thu, 22 Oct 2020 21:22:45 -0400 Received: from lists.gnu.org ([209.51.188.17]:52710) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVln1-0001Ze-DU for submit@debbugs.gnu.org; Thu, 22 Oct 2020 21:22:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46102) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVln1-0003QZ-7R for guix-patches@gnu.org; Thu, 22 Oct 2020 21:22:43 -0400 Received: from mx.kolabnow.com ([95.128.36.40]:27186) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVlmz-0001Em-57 for guix-patches@gnu.org; Thu, 22 Oct 2020 21:22:42 -0400 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out003.mykolab.com (Postfix) with ESMTP id 753A040B2F for ; Fri, 23 Oct 2020 03:22:37 +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=1603416126; x=1605230527; bh=pwKiB+9SVj2yXA64dIm 9lYanjGyHQNIYyAER3dCn93g=; b=LXpDfnz2wMtisuSz08GcCyvVmrzLJ5NiBGY qq+0L/mklQxOdQez9Z7e8016rYxJ68mhtot5MHhYCY3+sJq0wrOToK8z6lBh2QQF 7/HHneVPsTMV+1UG1AglYICs68ZMCFqEPIQzGHFDQoRHDcAN7oysSeyBHKjiw3fT ZNLFyQtZsxe358fMEAn1wJL4YS4gIpN1BMgTgrZG++p6FiaD4PONe0/gJnAhliZ/ SZ5T09AUVPy1Zk2r+wGOnzou2nkPZXZ8gSk8n3PQM7OlVYYokk5PcQsMI+CF5Iym 4iGxyG/Q4ZmM2lwynnLPchqWkrGr9xF3oLNh/scFy4+CZbxaOQS/6DB6VD2tOZe6 UjPABZqWqfYBjYfTZh+p+nVWXudmEeegL7mn01/9MZLxFLteUqOt/8gyHl6otajL ks3S2iu67ZNasqyZQZjE58sHdvYKlk+TmD+reJfbWrNqj6+l9YD5Y7nBbAw3X7fC M79yiyJVT3FUl3JgPOhKfb2es3z/04NsHr+hwYfTWOUCSxlLvVSlhw80wwhAZlZY NvrpTipGLQV4lXFvbteUFaMKdQHRvWUQz9Ui9TXuHL2zFJHH4BHK/MdObrL9+NUz O2A22ZvDiXkDW+9KCAyjzZsJhlFlOcYeDZSsjHqXG/btqWdM1yqkwXdbI2vAJeSa QY5hfolE= X-Virus-Scanned: amavisd-new at mykolab.com Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out003.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rEkX1G2aRzjE for ; Fri, 23 Oct 2020 03:22:06 +0200 (CEST) Received: from int-mx002.mykolab.com (unknown [10.9.13.2]) by ext-mx-out003.mykolab.com (Postfix) with ESMTPS id 82D3440A9B for ; Fri, 23 Oct 2020 03:22:06 +0200 (CEST) Received: from ext-subm002.mykolab.com (unknown [10.9.6.2]) by int-mx002.mykolab.com (Postfix) with ESMTPS id 3170427CE for ; Fri, 23 Oct 2020 03:22:06 +0200 (CEST) From: Joseph LaFreniere Date: Thu, 22 Oct 2020 20:22:01 -0500 Message-ID: <87tuulag92.fsf@odyssey.lafreniere.xyz> MIME-Version: 1.0 Received-SPF: pass client-ip=95.128.36.40; envelope-from=joseph@lafreniere.xyz; helo=mx.kolabnow.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/22 21:22:37 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FROM_SUSPICIOUS_NTLD=0.499, FROM_SUSPICIOUS_NTLD_FP=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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 Patch file is attached. The repository has existed for over a year and is referred to by the upstream xonsh project (xon.sh), so the lack of a tagged release is not indicative of a lack of maturity. --- Joseph LaFreniere From c99c1eeb00b44b54217159e8ec0814d94bb8aa09 Mon Sep 17 00:00:00 2001 From: Joseph LaFreniere Date: Thu, 22 Oct 2020 20:15:59 -0500 Subject: [PATCH] gnu: Add emacs-xonsh-mode. * gnu/packages/emacs-xyz.scm (emacs-xonsh-mode): New variable. --- gnu/packages/emacs-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 818db3e4e5..4ecf0eb9e1 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -25191,3 +25191,28 @@ the TypeScript implementation.") (description "This package provides an Emacs client for the Rocket.chat service.") (license license:expat)))) + +(define-public emacs-xonsh-mode + ;; There is no tagged release yet. + (let ((tag "0.0.0") + (commit "7fa581524533a9b6b770426e4445e571a69e469d") + (revision "0")) + (package + (name "emacs-xonsh-mode") + (version (git-version tag revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/seanfarley/xonsh-mode.git") + (commit commit))) + (sha256 + (base32 "0lfi2372clkkzi4a940fwparsfhxxzb7bmysfd50n1myakgldri5")))) + (build-system emacs-build-system) + (home-page "https://github.com/seanfarley/xonsh-mode") + (synopsis "Major mode for editing @code{xonsh} files") + (description + "This package implements a major mode for xonsh scripts. The basic +functionality includes syntax highlight for xonsh operators. Files with the +.xonshrc or .xsh extension are automatically opened with this mode.") + (license license:gpl3+)))) -- 2.28.0