From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 2CgnKMAbSGT6AAEASxT56A (envelope-from ) for ; Tue, 25 Apr 2023 20:28:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id cDQaKMAbSGTNqQAA9RJhRA (envelope-from ) for ; Tue, 25 Apr 2023 20:28:16 +0200 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 60300CDDF for ; Tue, 25 Apr 2023 20:28:16 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1prNOX-0003JQ-7m; Tue, 25 Apr 2023 14:28:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1prNOV-0003IH-2i for guix-patches@gnu.org; Tue, 25 Apr 2023 14:28:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1prNOU-0001vO-Qp for guix-patches@gnu.org; Tue, 25 Apr 2023 14:28:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1prNOU-00077D-Ge for guix-patches@gnu.org; Tue, 25 Apr 2023 14:28:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63071] [PATCH] gnu: Add emacs-riscv-mode Resent-From: Gabriel Wicki Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 25 Apr 2023 18:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63071 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Liliana Marie Prikler Cc: 63071@debbugs.gnu.org, andrew@trop.in Received: via spool by 63071-submit@debbugs.gnu.org id=B63071.168244724527298 (code B ref 63071); Tue, 25 Apr 2023 18:28:02 +0000 Received: (at 63071) by debbugs.gnu.org; 25 Apr 2023 18:27:25 +0000 Received: from localhost ([127.0.0.1]:53573 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1prNNt-00076E-GF for submit@debbugs.gnu.org; Tue, 25 Apr 2023 14:27:25 -0400 Received: from chimborazo.ee.ethz.ch ([129.132.2.15]:40049) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1prNNr-00075z-F0 for 63071@debbugs.gnu.org; Tue, 25 Apr 2023 14:27:23 -0400 Received: from blackbox (212-51-128-25.fiber7.init7.net [212.51.128.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: gabriel) by chimborazo.ee.ethz.ch (Postfix) with ESMTPSA id 6AAC74019D; Tue, 25 Apr 2023 20:27:16 +0200 (CEST) Date: Tue, 25 Apr 2023 20:27:13 +0200 From: Gabriel Wicki Message-ID: <20230425182713.hcbaj2vqa5vzce7s@blackbox> References: <875y9jj2po.fsf@erlikon.ch> <4e725f264cf10b43986a29d3d12bc405a62e7f3c.camel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4e725f264cf10b43986a29d3d12bc405a62e7f3c.camel@gmail.com> 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682447296; a=rsa-sha256; cv=none; b=ZGoeH5msW2aY71zTnG3J/hp4vUhxV8wSwETSRec9SicGAhgpdBdvAcUKWOVidf/p5eOE5g MtiK23BOUvWy2pl/iplXXvCYNXpdB5D32TQtckmG7tOg8e8XXuoxnYKuMM8pCXv6+jc8eH svN/r0L3qoZ5Sauu0VRiXM+bSG3Uxa9PAKSWg/JgS1S+KQAUEzxxp/n+DmvEZd1JS1y9Nm X0ZiDBaipdORFGuutaku0SD/8+B0WizVBoCYA6X0uDdZEjVi3htDI3XXoK+WOf24n3fNa2 DbL9TdW5z81KLNXLyuvl3AjWH9pyy9v+BSDD49qT0ihCqCf3Hx2n16J6p6n2xg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1682447296; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=guuJanLz5TBzvK1S3RgUUU1EKhcedqqhoshRsGdBHn8=; b=pDioRK6T1PAtU3GCk11ByTRbbQKTpmG6B7VgOMzsx/FMBoft+/uyOexh4GadPOQeAKIO4a JhwE8CgzOC3BchPKGjOlMS54Te5NIPAo+XjcnfwtczSnzeQoVGAfXy+9jAciRU28YsXEPQ 8cLrDlaqhQ5EEogZB39RrEr1/m69mLABBdMH0UNupZpmtn2/a8NeJIGSZdSkI0OmlXETp+ c4Hh2Ho0MAUtHHu5xC7CtneBqw0Q1bPY5Fo3irQCbRW6Aw+wftIIv8+VyenKhAbbHKConU FbmLSBvZgdojRHU6ww+Ez0Kvb2pROZEHqOhtUF7RGEk4PABTr8nEhFY7u1+qoA== X-Migadu-Spam-Score: -1.61 X-Spam-Score: -1.61 X-Migadu-Queue-Id: 60300CDDF X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-TUID: HeuTxBom5Lg6 On Tue, Apr 25, 2023 at 08:21:11PM +0200, Liliana Marie Prikler wrote: > No need to let-bind url and version, please use their values in the > right locations below. I thought I'd bind them since the values were used multiple times. Anyhow, I've corrected the patch. Thank you for that super-quick reply! >From ed779ffef71167d18256a21dbcab99d27c3a5176 Mon Sep 17 00:00:00 2001 Message-Id: From: Gabriel Wicki Date: Tue, 25 Apr 2023 17:48:41 +0200 Subject: [PATCH] gnu: Add emacs-riscv-mode. * gnu/packages/emacs-xyz.scm (emacs-riscv-mode): New variable. --- gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 7c8af093fc..33c745d029 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -35854,6 +35854,30 @@ (define-public emacs-nasm-mode Unlike Emacs' generic ASM mode, it understands NASM-specific syntax.") (license license:unlicense))) +(define-public emacs-riscv-mode + (let ((commit "8e335b9c93de93ed8dd063d702b0f5ad48eef6d7") + (revision "1")) + (package + (name "emacs-riscv-mode") + (version (git-version "0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/AdamNiederer/riscv-mode") + (commit commit))) + (file-name (git-file-name name "0")) + (sha256 + (base32 + "06jlf84mx49scw3zm1wjj25zinr2yr9abiyh83rli78wb1hdc0l4")))) + (build-system emacs-build-system) + (home-page "https://github.com/AdamNiederer/riscv-mode") + (synopsis "Emacs major mode for RISC-V assembly") + (description + "RISC-V mode is a major mode for editing RISC-V assembly programs. +It includes syntax highlighting, syntactic indentation and code evaluation +with spike.") + (license license:gpl3)))) + (define-public emacs-validate-html ;; XXX: Upstream did not tag commits yet. However, commit below matches the ;; last version bump. Version is extracted from the keyword in main file. -- 2.39.2