From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id MFL1KAEoSGTuWAAASxT56A (envelope-from ) for ; Tue, 25 Apr 2023 21:20:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id oDMEKAEoSGS9CgEAG6o9tA (envelope-from ) for ; Tue, 25 Apr 2023 21:20:33 +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 0F1BA45593 for ; Tue, 25 Apr 2023 21:20:33 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=SSA1LwgL; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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=1682450433; 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:dkim-signature; bh=56ilPkdg/on0O5H04OkyWuZqfEtXAjzBfo+oP7t/76Q=; b=s7Iqvr9GCMlqx0lzPWiadqYZbzffaQno4S6X8GGrXJDoebFkWrIhfAAC5IZQ72C8rGdqcL CZvIzWcGsQBkLCv01kRncQCDuZJn5pLq2IKJJf/BI/fXQ/ahds7NsCKiYSDfeb1ymjHz/f erQ3hWl9W1y2WW9UoFddZfPNLvDUMsnoVVDcH4bFeEwZ0Uv1LBYc4E5/jfjneZPUQvA0+b IWB4+lrQxNtwqdESmRmWZtFYItle1bHDsELuPOyDsM/tP5DQcdEXFMH7rWGcNgnGmywDbb f91u/nU8cUBNCV8kPv2ZPjNDVqMg4c5F6hofQ9b9Hnf7B7VBoWYeZ3remHXTiQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=SSA1LwgL; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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-Seal: i=1; s=key1; d=yhetil.org; t=1682450433; a=rsa-sha256; cv=none; b=UdKGj6YZ0PJZyCOE2hDwpw8uw86W8nxDZRmq9QXF5AJD9Tz/aCJlEHEPNpqaKOBmgSZQMs sr5k5CTkZhuwlaDu60rmm+dOqdI+sePC/PiXmGzh/YaicDRBYtjQEQ9NcAbGtBeLQomQkm TZqvGeIxsec7TTLhuWmOWMYezJvArcahynT0CEosL1ib+rnhLxquDpnS7yo2q6DcbmtODw lMxdy9n30nPKmhTjt+kOtyNqN1dolNClz8lrrbhvScAsuV6FQ6ZjdC3cBZDC3X9CCEvExt 672eCA0c80OcHGPC81BDstIrQqnIRy4d7pyx+doQeDKG7wTFS0dtbZO5g4mYSg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1prO1F-0002eG-BY; Tue, 25 Apr 2023 15:08: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 1prO1C-0002Np-TW for guix-patches@gnu.org; Tue, 25 Apr 2023 15:08: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 1prO1C-0006Bu-Em for guix-patches@gnu.org; Tue, 25 Apr 2023 15:08:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1prO1B-0008Mt-OB for guix-patches@gnu.org; Tue, 25 Apr 2023 15:08:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63071] [PATCH] gnu: Add emacs-riscv-mode Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 25 Apr 2023 19:08: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: Gabriel Wicki Cc: 63071@debbugs.gnu.org, andrew@trop.in Received: via spool by 63071-submit@debbugs.gnu.org id=B63071.168244965832137 (code B ref 63071); Tue, 25 Apr 2023 19:08:01 +0000 Received: (at 63071) by debbugs.gnu.org; 25 Apr 2023 19:07:38 +0000 Received: from localhost ([127.0.0.1]:53601 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1prO0o-0008MG-7t for submit@debbugs.gnu.org; Tue, 25 Apr 2023 15:07:38 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:55297) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1prO0i-0008Lu-GN for 63071@debbugs.gnu.org; Tue, 25 Apr 2023 15:07:36 -0400 Received: by mail-ed1-f67.google.com with SMTP id 4fb4d7f45d1cf-5052caa1e32so11009656a12.2 for <63071@debbugs.gnu.org>; Tue, 25 Apr 2023 12:07:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682449646; x=1685041646; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=56ilPkdg/on0O5H04OkyWuZqfEtXAjzBfo+oP7t/76Q=; b=SSA1LwgL43yBJru7NCXrHdBTjD3nrYJsWyF7RAoZUQ4d6aUdMp4gCWtvfuJutMT49Z snWWTmC8Gd/qsQWSTz429E4+0VDxzlhmlkubju6UWWLTqC/zMyYCfgpaRGR6h2UKr3BF 6ynY/Vwl76VABKrTcQ3OwRpT1uFj09Pf5/aOLfjvh0JMQOUveVVovz1ddqBL7aqsy8Ip BiP+Z1byYDyfWwhbwxfYfOzVQNiFXKGS0pztqgS3o2ytoeQRn+qlfQRetgQR34fpZSXB Qlwz5s6ikHC/TDNDJVXAP39ui25VtBLNOR9HW3MfwNB/jyO1KdbzHif3jHrZR7lShgZW gWbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682449646; x=1685041646; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=56ilPkdg/on0O5H04OkyWuZqfEtXAjzBfo+oP7t/76Q=; b=IPtavf+G20hbNIk6bqBW1wyu0r4wvxPwmNlwiBnLPkpYLq2QeK/B88rhcyxnAeyxc2 0+bnRC5q2rNnYUW5BL3xRSj5E1rSaQ9ml71WT1I2SqRlih0oWUYmz20ptfIrr+4Oq5f0 Ful6yUIUkx+oDpPX6f4aNS0eoOs8ATyPCmYvNTp6gxIJSh84Me7TnidxdkHYBTPAJxWC g0ZPuZEXubfQGLOgT0ABZ1jsH2j06DNbKrPJfWdHbtRva6N9MMTZo/1IRnT6reylrQkX 4sNcA8oL7uX55T7RQ0AfLAb3EgUAxjkpbgACV/9fxIxnpaXQ06eWGxYqEh7lPC7Csc9n 91jA== X-Gm-Message-State: AAQBX9eZTUe7IzBkPceErjxetboU6x4szLm6RP/AbM8+njCrKKdJ9Dui /WqyH4PT0zNslhB7kgH4enk= X-Google-Smtp-Source: AKy350bAtN0MHdsph8W9qZzrAvi0Fx6uWDAWcMGKQqrJXi3VcmLsOcbcuKanw5fbDSf+XtlzUfuZCA== X-Received: by 2002:a05:6402:18c:b0:505:47a:7ae8 with SMTP id r12-20020a056402018c00b00505047a7ae8mr16669902edv.4.1682449646202; Tue, 25 Apr 2023 12:07:26 -0700 (PDT) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id u11-20020aa7d0cb000000b0050687dbb5dasm5970495edo.31.2023.04.25.12.07.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Apr 2023 12:07:23 -0700 (PDT) Message-ID: <038cfa65746b53fd739bbbb2920064391e625ffe.camel@gmail.com> From: Liliana Marie Prikler Date: Tue, 25 Apr 2023 21:07:22 +0200 In-Reply-To: <20230425182713.hcbaj2vqa5vzce7s@blackbox> References: <875y9jj2po.fsf@erlikon.ch> <4e725f264cf10b43986a29d3d12bc405a62e7f3c.camel@gmail.com> <20230425182713.hcbaj2vqa5vzce7s@blackbox> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 MIME-Version: 1.0 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: UNKNOWN X-Migadu-Spam-Score: 6.95 X-Spam-Score: 6.95 X-Migadu-Queue-Id: 0F1BA45593 X-Migadu-Scanner: in3.migadu.com X-TUID: 6z4VtV8o31ke On Tue, 2023-04-25 at 20:27 +0200, Gabriel Wicki wrote: > 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. >=20 > Anyhow, I've corrected the patch.=C2=A0 Thank you for that super-quick > reply! >=20 >=20 > From ed779ffef71167d18256a21dbcab99d27c3a5176 Mon Sep 17 00:00:00 > 2001 > Message-Id: > kon.ch> > From: Gabriel Wicki > Date: Tue, 25 Apr 2023 17:48:41 +0200 > Subject: [PATCH] gnu: Add emacs-riscv-mode. >=20 > * gnu/packages/emacs-xyz.scm (emacs-riscv-mode): New variable. > --- > =C2=A0gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++ > =C2=A01 file changed, 24 insertions(+) >=20 > 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 > =C2=A0Unlike Emacs' generic ASM mode, it understands NASM-specific > syntax.") > =C2=A0=C2=A0=C2=A0=C2=A0 (license license:unlicense))) > =C2=A0 > +(define-public emacs-riscv-mode > +=C2=A0 (let ((commit "8e335b9c93de93ed8dd063d702b0f5ad48eef6d7") > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (revision "1")) > +=C2=A0=C2=A0=C2=A0 (package > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (name "emacs-riscv-mode") > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (version (git-version "0" revision commit= )) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (source (origin > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 (method git-fetch) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 (uri (git-reference > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (url > "https://github.com/AdamNiederer/riscv-mode") > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (commit commit))) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 (file-name (git-file-name name "0")) Use "version" here. It won't refer to "0", but instead to the expanded (git-version ...) -- it's basically syntactic sugar for (package- version this-package). > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 (sha256 > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 (base32 > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 > "06jlf84mx49scw3zm1wjj25zinr2yr9abiyh83rli78wb1hdc0l4")))) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (build-system emacs-build-system) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (home-page "https://github.com/AdamNieder= er/riscv-mode") > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (synopsis "Emacs major mode for RISC-V as= sembly") > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (description > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "RISC-V mode is a major mode for ed= iting RISC-V assembly > programs. > +It includes syntax highlighting, syntactic indentation and code > evaluation > +with spike.") > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (license license:gpl3)))) License should be gpl3+ going by the README. Cheers