From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id aB+dDT7+KGdP4wAA62LTzQ:P1 (envelope-from ) for ; Mon, 04 Nov 2024 17:02:54 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id aB+dDT7+KGdP4wAA62LTzQ (envelope-from ) for ; Mon, 04 Nov 2024 18:02:54 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=r0DKopcq; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=PDgPMrE2; 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"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1730739774; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=aunHT0py2650QNGPQhelZX74dwjY+h0ivbjdPxzElTg=; b=QadZ86GII4T2DJKhhj4hj0QqvoWaKL9JXCsFvQ6f5pSrzL88mwIn9tM15U1NJ2Rj0pdWlF raOXKM99A4fHoNefr2bhHqLOmY9MOva68HV/O2vNL9ILucqGP1luL1y3ADry/g5DROSgvo vO6XtmgXUQup+U6N44RRNwWB/jwrOCRbAiN8qw9aXoC2tzDzCkKQucGzPaNTHuQctKr1s9 pWUKaw+e7ZEiZnQaayOdXbssQxcx61o5djFsPTVNu70IYC5XnaLCucH1rqbjeWTukovlJp QGHUDO6owPZ1cWvpRi/ZRak1TucCRsW8xdm+A/6xHViZYLNcrJADZPAmr/6ykw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=r0DKopcq; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=PDgPMrE2; 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"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1730739774; a=rsa-sha256; cv=none; b=kyq3thDyuak0aDUhp9wYkxj/+Z721LH+Td+5dN7yof4SJ/Y8i6ZEVip1uL/C9YYNhQU5iR d0o/brmo5zfA7xka4pWnIuwMWfRljnnP4/+OhKWYjDKLg/I7n31LtjINVjWzm8V8EcA63f qYoyajXWCkQa74HQ8lxuA3qPfrziZTmI2iNFEpT4Y/I3SK9tBUs9thjL0hZURp8BqlLyTx uUuikU5ldgN9/Ap+xjCv/2lKvBkfdz/dXto9ULOluCd6+lDx8vB1thpJbBoWgjiWQcafnX JGuJpvJnwaHilq2ClG/B9SDuWVlO0+HE7b+RYVeUrPaQ7W7EtLqVa7BzuFB/aA== 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 EA7DF79604 for ; Mon, 04 Nov 2024 18:02:53 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t80T3-0000sg-Tf; Mon, 04 Nov 2024 12:02:17 -0500 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 1t80Sr-0000d6-HF for guix-patches@gnu.org; Mon, 04 Nov 2024 12:02:08 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t80Sq-0005Wv-72 for guix-patches@gnu.org; Mon, 04 Nov 2024 12:02:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=aunHT0py2650QNGPQhelZX74dwjY+h0ivbjdPxzElTg=; b=r0DKopcqFfAJ+gZ0e6VHJd4RNyximO4D1P66ZyN25ibaoUvLMODdzn2AYAAftPbLItXo++ECrKbcpxpdd8B4s2r86Dz41Pu7JtOFyaLJYRxe7h/0bJvho4mbPHhElt331yDaWWSHmQHxUsGLCo2Ax53C8hPHRY1lUv2qIg2+d7562qiXu10oaq9Bk5HRVVW0fEQmZB9gjtypqw9BpVf4m5teTlEIYgtoGN685ilymHCB2VLudVP1zecGCZAkp4ewMXVKPQrreACK/NKEncDSs4iq6wS/OVT90br8hRoaDsAyKC1bge6UxKlb5WGStJQSeTa7Nbq8mtC79FBQ/hPz3w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t80Sq-0001gn-0w; Mon, 04 Nov 2024 12:02:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74158] [PATCH v2 4/4] gnu: Add emacs-parinfer-rust-mode. Resent-From: Lee Thompson Original-Sender: "Debbugs-submit" Resent-CC: andrew@trop.in, cox.katherine.e+guix@gmail.com, liliana.prikler@gmail.com, guix-patches@gnu.org Resent-Date: Mon, 04 Nov 2024 17:02:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74158 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74158@debbugs.gnu.org Cc: Lee Thompson , Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler X-Debbugs-Original-Xcc: Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler Received: via spool by 74158-submit@debbugs.gnu.org id=B74158.17307397216459 (code B ref 74158); Mon, 04 Nov 2024 17:02:03 +0000 Received: (at 74158) by debbugs.gnu.org; 4 Nov 2024 17:02:01 +0000 Received: from localhost ([127.0.0.1]:41121 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t80Sc-0001fz-An for submit@debbugs.gnu.org; Mon, 04 Nov 2024 12:02:01 -0500 Received: from mail-wm1-f52.google.com ([209.85.128.52]:61935) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t80SY-0001fY-Tg for 74158@debbugs.gnu.org; Mon, 04 Nov 2024 12:01:47 -0500 Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-43168d9c6c9so36510655e9.3 for <74158@debbugs.gnu.org>; Mon, 04 Nov 2024 09:01:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730739641; x=1731344441; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=aunHT0py2650QNGPQhelZX74dwjY+h0ivbjdPxzElTg=; b=PDgPMrE2LCVV91cxvFF18Cc/XNGiZMzKAAQqS3dKXMhi9oV0qmLCs3o2OCk8jU9VOy X5ha9S4jKLiMmQyRYXCFvR5aTDvZszU5tmywXiT7mCClfEJBpBaWchOKDdUcffYDJVe+ GlSNO+rULvAdj6Ta6wfRrVcMDR917F8N3wQx42KMH4hY+C2GsEXTYRgS/rVNthJKiaje xAkHKNXO3rJThnsS26cL+uEb2AVP6VdBcDvl8c0PtbLjHcx/rbCkMIIeKFHYJEdHsR4E ppdaxDUFfmL+AuQ/JlEsdDk3G1Ll019EQdZTLA9r3oW42YcairMt86Qqh6Qtja4vPG1I kjwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730739641; x=1731344441; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=aunHT0py2650QNGPQhelZX74dwjY+h0ivbjdPxzElTg=; b=JIbHq1alyA7RUQ/6erJDGes6vFNC2PK+TcMfQRU9ZBUop5IgRnQ9w2YggD0kEFcmbX ZRMMvnb25cLb/+/KZHaiipSqqQ1MnDXbDup0/8JtM13uR9b7Zdh62IiOdz8am3xo8eaL wAqIYGF9oktDlT8mfXVR7v18SHr+dCtZnZdqkOwAiCf8uXzPh3jkIQpUP0RRKPRs3a7m kLQKB3qFydxkQLDv4gnFttXQJTqxajhlKaCUriMdWk+6H1UrW34F09Eu8ycvNPp517G9 HzbkffTRdlUgkttSb+55yC/6CK3pYBUg3PvDm8/e2rMfFzi+YwgWOTqNErnjoDl5lTAK BaKw== X-Gm-Message-State: AOJu0YxHK/JZmNEA4GjXx+v0KpkZwn3Krk2omccjedOJT5R6jPrDhoRe AS7tqhgtULRravH8MSupVc05ScRJDhqPMy9MthC9arjb4Sha2UVg0QJc3g== X-Google-Smtp-Source: AGHT+IF6XGj/QqF8fBl8oelhXSbKGRNnm6JTNtBqC3mDYER929Cg0F16G8FRgXMj1G9dWoU2JxzZLw== X-Received: by 2002:a05:600c:3593:b0:430:54a4:5ad7 with SMTP id 5b1f17b1804b1-4319ac76449mr301357155e9.1.1730739639908; Mon, 04 Nov 2024 09:00:39 -0800 (PST) Received: from LD00001.sitehop.local ([88.98.252.138]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4327d685287sm162589755e9.35.2024.11.04.09.00.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Nov 2024 09:00:39 -0800 (PST) From: Lee Thompson Date: Mon, 4 Nov 2024 16:59:34 +0000 Message-ID: <75510cac8a443d3e2b93012eeb29daa149c90e17.1730739208.git.lee.p.thomp@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: 5.47 X-Spam-Score: 5.47 X-Migadu-Queue-Id: EA7DF79604 X-TUID: jW1VK75HkrdV * gnu/packages/emacs-xyz.scm (emacs-parinfer-rust-mode): New variable. Change-Id: I3508c5fd2d6c787ff9ef737e3f6a207d9b852ada --- gnu/packages/emacs-xyz.scm | 44 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index e7a75d51a3..1ce6921dbf 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -290,6 +290,7 @@ (define-module (gnu packages emacs-xyz) #:use-module (gnu packages virtualization) #:use-module (gnu packages web-browsers) #:use-module (gnu packages wget) + #:use-module (gnu packages text-editors) #:use-module (guix utils) #:use-module (srfi srfi-1) #:use-module (ice-9 match)) @@ -27457,6 +27458,49 @@ (define-public emacs-track-changes to react to them.") (license license:gpl3+))) +(define-public emacs-parinfer-rust-mode + (package + (name "emacs-parinfer-rust-mode") + (version "0.9.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/justinbarclay/parinfer-rust-mode") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1kbn54v100rh6pxl3lc66pspd3nfy7pkv8iyqkg09xqcwyblbf86")))) + (propagated-inputs (list emacs-track-changes)) + (inputs (list parinfer-rust-emacs)) + (build-system emacs-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (add-after 'unpack 'configure + (lambda* (#:key inputs #:allow-other-keys) + (let ((parinfer-lib (dirname (search-input-file inputs + "lib/libparinfer_rust.so")))) + ;; Specify the absolute file names of the parinfer shared + ;; library. + (make-file-writable "parinfer-rust-mode.el") + (emacs-substitute-variables "parinfer-rust-mode.el" + ("parinfer-rust--lib-name" + "libparinfer_rust.so") + ("parinfer-rust-library-dir" + parinfer-lib)) + (emacs-substitute-sexps "parinfer-rust-mode.el" + ("defcustom parinfer-rust-library-directory" + parinfer-lib) + ("defconst parinfer-rust--lib-name" + "libparinfer_rust.so")))))))) + (home-page "https://github.com/justinbarclay/parinfer-rust-mode") + (synopsis "Lisp structure editing mode leveraging parinfer-rust") + (description + "@command{parinfer-rust-mode} aims to be a simple implementation of +Parinfer that leverages the parinfer-rust-emacs library to do most of the +heavy lifting.") + (license license:gpl3+))) + (define-public emacs-helm-eww (package (name "emacs-helm-eww") -- 2.46.0