From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id IsCxDabImV8rOgAA0tVLHw (envelope-from ) for ; Wed, 28 Oct 2020 19:38:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id mOQBCabImV/vNQAAbx9fmQ (envelope-from ) for ; Wed, 28 Oct 2020 19:38:14 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7DDDC940237 for ; Wed, 28 Oct 2020 19:38:13 +0000 (UTC) Received: from localhost ([::1]:59016 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kXrGu-0008Po-H9 for larch@yhetil.org; Wed, 28 Oct 2020 15:38:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42378) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kXrGk-0008Pf-MZ for guix-patches@gnu.org; Wed, 28 Oct 2020 15:38:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39261) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kXrGk-0002I2-Ds for guix-patches@gnu.org; Wed, 28 Oct 2020 15:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kXrGk-0007Ir-Ay for guix-patches@gnu.org; Wed, 28 Oct 2020 15:38: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: Wed, 28 Oct 2020 19:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44165 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Nicolas Goaziou Cc: Joseph LaFreniere , 44165@debbugs.gnu.org Received: via spool by 44165-submit@debbugs.gnu.org id=B44165.160391387528061 (code B ref 44165); Wed, 28 Oct 2020 19:38:02 +0000 Received: (at 44165) by debbugs.gnu.org; 28 Oct 2020 19:37:55 +0000 Received: from localhost ([127.0.0.1]:50807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXrGd-0007IX-5Q for submit@debbugs.gnu.org; Wed, 28 Oct 2020 15:37:55 -0400 Received: from [95.128.36.40] (port=29136 helo=mx.kolabnow.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXrGb-0007II-2X for 44165@debbugs.gnu.org; Wed, 28 Oct 2020 15:37:53 -0400 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out003.mykolab.com (Postfix) with ESMTP id 3568B41190; Wed, 28 Oct 2020 20:37:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-type:content-type:mime-version:message-id:date:date :in-reply-to:subject:subject:from:from:references:received :received:received; s=dkim20160331; t=1603913865; x=1605728266; bh=2RO0GNfW622AMEmTsQ40dWmmAoY33HpyrsTzY0Jf/lU=; b=T5ISqYO8hJej BOClME3x3H6x4UuU40Yu2YvoyWPIyJ3eWN6upbvmW+/PvvCkAQ/jz+/1Xyjnw+pG BJ89tGW+FJ1ZBQymRSL+7ata4avXTALfhY8Eebrrc9ann31LgkjCk1ALn1bxPm4k 8g6hkKd7CD0kgaQ7Plxyn05Qe3So9UIHUdz3BnCw7YMFR2kRI9R/ZeV9WZRRIsN0 yMgnrD5N8zKpaGS81S+0eWuIf0LQqiVu9PpzcbMSP3kJBme8yWM3d4lbUbadhn7+ jnPDeWuQ4IEx260HFZT/KWgm9hXgyfhQghc+K4OIjN64XmTee8T+un7Chv8uF1jr szDhruHa903zLLDVUEmDJDXm4SBA62SuJeVVxeLP4rN3U3l4/fCNmSTYtN6n+xQD RzM4fENMpQYIJcHRo72/hhyuNaIPdV0qkewAbPMc0T+BGN0N+6V5X2w9WV+NmI/B 7h/HbESUNYb+q8mf08kUv0vbbf6KNJ8fjOgfG3x30z7b6AqyPd2+e2tclqdOMYVJ 3mjZMfhDepOCJtODXXRtemyygC9Y04cvPIMQQpt0zdoqY9Bue1Ttbr2BpFAtGwyP iX4AZwEqNRHTwtPITxhGF8EeBsGw2sf6xlg667CNOeTvY6qg2eJUS/4zj+DJPazK ffyW1uel8JOkOPb9oBMkmc0dUwRb+dY= X-Virus-Scanned: amavisd-new at mykolab.com X-Spam-Score: -1.899 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 Fwj7rty9aL6f; Wed, 28 Oct 2020 20:37:45 +0100 (CET) Received: from int-mx001.mykolab.com (unknown [10.9.13.1]) by ext-mx-out003.mykolab.com (Postfix) with ESMTPS id 9345D4084C; Wed, 28 Oct 2020 20:37:45 +0100 (CET) Received: from ext-subm001.mykolab.com (unknown [10.9.6.1]) by int-mx001.mykolab.com (Postfix) with ESMTPS id 450CB31B; Wed, 28 Oct 2020 20:37:45 +0100 (CET) References: <87tuulag92.fsf@odyssey.lafreniere.xyz> <877drd5qge.fsf@nicolasgoaziou.fr> From: Joseph LaFreniere In-reply-to: <877drd5qge.fsf@nicolasgoaziou.fr> Date: Wed, 28 Oct 2020 14:37:41 -0500 Message-ID: <87zh466t16.fsf@odyssey.lafreniere.xyz> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 3.8 (+++) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: 3.8 (+++) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=kolabnow.com header.s=dkim20160331 header.b=T5ISqYO8; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -0.01 X-TUID: tpyxjsTaILXo --=-=-= Content-Type: text/plain; format=flowed Nicolas Goaziou writes: > The version is actually "O" according to the "Version" keyword > in the > Elisp file, not "0.0.0". Updated. > Emacs major mode for editing @file{xonshrc} files > > seems slightly more accurate. I pulled in the change denoting that the package provides an _Emacs_ major mode. I'm less sure about changing @code{xonsh} to @file{xonshrc}. You suggestion is what the Emacs Lisp package's header says, but that header is slightly misleading because the major mode is not just for xonsh rc files but also full xonsh script files (.xsh). > Mind the two spaces after the full stop above. Updated. > @file{.xonshrc} or @file{.xsh} extension Updated. > Could you send an updated patch? Patch file is attached. Thank you for the review! -- Joseph LaFreniere --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-Add-emacs-xonsh-mode.patch >From 1c8450c5ef7666cd0334d52e70ed9ce962400de1 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 | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 818db3e4e5..b0c533dc22 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -25191,3 +25191,29 @@ 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") + (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 "Emacs 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 +@file{.xonshrc} or @file{.xsh} extension are automatically opened with this +mode.") + (license license:gpl3+)))) -- 2.28.0 --=-=-=--