From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 kJ+6EANmSGTcfAEASxT56A (envelope-from ) for ; Wed, 26 Apr 2023 01:45:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id MFGgEANmSGQd0gAAauVa8A (envelope-from ) for ; Wed, 26 Apr 2023 01:45:07 +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 B557B16836 for ; Wed, 26 Apr 2023 01:45:06 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1prO8z-0004Gg-4D; Tue, 25 Apr 2023 15:16: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 1prO8w-0004Fa-RU for guix-patches@gnu.org; Tue, 25 Apr 2023 15:16:02 -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 1prO8w-0000D4-Hc for guix-patches@gnu.org; Tue, 25 Apr 2023 15:16:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1prO8v-00008B-V3 for guix-patches@gnu.org; Tue, 25 Apr 2023 15:16:01 -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 19:16:01 +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.1682450115422 (code B ref 63071); Tue, 25 Apr 2023 19:16:01 +0000 Received: (at 63071) by debbugs.gnu.org; 25 Apr 2023 19:15:15 +0000 Received: from localhost ([127.0.0.1]:53612 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1prO8A-00006g-Kc for submit@debbugs.gnu.org; Tue, 25 Apr 2023 15:15:14 -0400 Received: from chimborazo.ee.ethz.ch ([129.132.2.15]:53447) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1prO86-00006H-7J for 63071@debbugs.gnu.org; Tue, 25 Apr 2023 15:15:13 -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 838AA40093; Tue, 25 Apr 2023 21:15:02 +0200 (CEST) Date: Tue, 25 Apr 2023 21:14:58 +0200 From: Gabriel Wicki Message-ID: <20230425191458.dwuwvygyo3pmvrxq@blackbox> References: <875y9jj2po.fsf@erlikon.ch> <4e725f264cf10b43986a29d3d12bc405a62e7f3c.camel@gmail.com> <20230425182713.hcbaj2vqa5vzce7s@blackbox> <038cfa65746b53fd739bbbb2920064391e625ffe.camel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <038cfa65746b53fd739bbbb2920064391e625ffe.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-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682466307; a=rsa-sha256; cv=none; b=PO9qXnVbgbIIPRkAgxUz26YdPpp/M5X7JZom9lXcP+7GVTb+eo+fXR/1yfKEUCKo7yqN+N fBipFQxhG5iCcMM+7rdwUf87CzY2rmKsut289zMxD853cy50k34yyFLLmQI//h1KUvC2N1 uDF9Ilj7vBupLXMYbuubYHZRY9baVscRiywV0hP9KP2nBHKPDmBjts+ECUtRZlxHJWGOiw C1kVmckbcfraKkaPhwmCDPHEw3o/LWjXtm11LkgtPHbhraxjEfpCIEPnnfnogLKU5PcZSp OWWmOrNDeKuudKanYclFhxVpuAv8kfWnmS1stSx5rApjJA6cdK+8EFEFmLtLsg== 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=1682466307; 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: content-transfer-encoding:content-transfer-encoding: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=I4PGsK7JHM+bLnx9+dCqh0f17unwX0D/7g3vy2FG180=; b=ZEFg3dY8QRSvKBTiz60iORyERxj8jQLkh+kxg1i5vs/y3xYoMHUn6MFuwzhLhnBUW+DOgz 4xG+x9eIk2hljpn2QfCbM21COvRuYc1Yz/wiPVLHyUlNusG0MkkIcqWBjTWom1E2BGZ7g+ eILGOQAql5U1D95AeOuW2wiW9BE//Vrh50lGLPgmho3T8aGSAYYwEOcEZwRDpdBzi/FkBc CEud9Ciw4CYPnyHROGyvyx5/HC3/qkQHGrkxWZ7C92ZHcaMpDdlWwdnBj8yE/oG6t87aow 8PNziYJs27XFjtRSVTGEeJGfmf8JL1nWtotnO/IODS8yQqUBeKt2/lDaSIvHIw== X-Migadu-Scanner: scn1.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-Migadu-Spam-Score: -2.71 X-Spam-Score: -2.71 X-Migadu-Queue-Id: B557B16836 X-TUID: X4ljKIAhKi+5 Thanks, again :) >From b7e9ef4f2f19858ef5feca32bed72a77fd96c968 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 | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 7c8af093fc..588bc0248d 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -127,6 +127,7 @@ ;;; Copyright © 2023 Dominik Delgado Steuter ;;; Copyright © 2023 Juliana Sims ;;; Copyright © 2023 Evgeny Pisemsky +;;; Copyright © 2023 Gabriel Wicki ;;; ;;; This file is part of GNU Guix. ;;; @@ -35854,6 +35855,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 version)) + (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