From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id wI1JMYPxJGe8xAAA62LTzQ:P1 (envelope-from ) for ; Fri, 01 Nov 2024 15:19:31 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id wI1JMYPxJGe8xAAA62LTzQ (envelope-from ) for ; Fri, 01 Nov 2024 16:19:31 +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=jMqQTfkf; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=a4M6LlR3; 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=1730474371; 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=TvUMawqMkfqHs9Tn7smEvzepTuCDetKRVxcYdGutxRw=; b=NrWW6f5uwd59TK5DuF5IpUh7ddje/P9fYKveFBDB8vUJxrTQaKYP5H+EeVnnmtG6qR7e6i l08is97if8V8qW1PU3Hm1DfV006oUIuklnLaVPaJRdCs5HW75Th1VtHdn0H7gAUoKoF/ND cFsTHmpTypNSFR1+zhq+fTDoZQfY80RjNF/O1tLuCUS+HZg8Cw7oin3RW3VvEDZCcgGPq4 ROZC/6KIy1Q+cgWMpZT2Qla/W3uLsYokX4HUbgxDPf5cw8LHrbGQvGTNLGY3TFX8ZkhrUX nDE3lHyyCbEdtWyHfNY+Fc/6pRabkDL6hDoiDoAkiJuCkELvuHlX5E0zcVCZ5g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1730474371; a=rsa-sha256; cv=none; b=bqnMbDWm4LGvvQq/pgGTPux5EmbU/Kg5Q+jQgln+YX7JpKZDf5eSBSe2I/G+MskxlUySu/ 7vDUbcT13DYnGbN3lnEkzVDgidqPRuX9euR7eklLJp0iLCIOq38MpvzayI+vG7omY1NSWN njapj6hUIihAE4vQr0jXTZFDz5ZadjpkSEZFZ4Y1tfpJ6vMA6XC6bs2Yuh/PWhF04FSvRS rHdI4gYSipy4qYbZXEpoxEu0i3T220KTeI6YauqNpNgu7KV0FEfeFxSQW1GnI/egMpHP9n dnOt0gO5D3alEXgiRcghzNBooDoGUNC96eYDqjVwzKySiS0XRth72+032hyxQg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=jMqQTfkf; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=a4M6LlR3; 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) 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 8473C55A7D for ; Fri, 01 Nov 2024 16:19:31 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t6tQp-0005kq-EZ; Fri, 01 Nov 2024 11:19:23 -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 1t6snn-0006WS-3P for guix-patches@gnu.org; Fri, 01 Nov 2024 10:39:03 -0400 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 1t6snm-0003UI-QE for guix-patches@gnu.org; Fri, 01 Nov 2024 10:39:02 -0400 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=TvUMawqMkfqHs9Tn7smEvzepTuCDetKRVxcYdGutxRw=; b=jMqQTfkfn/S79fVuXKEw2FulzKRgBkgZV9xvp4wIhmtKTKfZh3zvOjkct41jiECKriln071XnTV5EJRnBcPD76rIBZWC1bCgaxcDB16qN4KHICAquDsV45CtlpS2LafoeCDh5kN4tqYgIO5fjeK6jQ1ykW+3hAnzRoFLt023qYpS1Ia9pT896AMVODMU2gNtQWO0NjeROD3xyeUzbUmDWbTShtwWKQwBiYKcICf3y2+Gj4a+QHwyBy8l5WyF7WIeautCJjO4bEQXXkDzMeYTkxmJg1SsdaSnaRyo7SQrpNzMElvEispLOXckPf/F+Nsy7TiXAKXRU1GWScYYUm7r4Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t6snm-0003GD-Jj for guix-patches@gnu.org; Fri, 01 Nov 2024 10:39:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#74158] [PATCH 4/4] * gnu/packages/emacs-xyz.scm (emacs-parinfer-rust-mode): New variable. Resent-From: Lee Thompson Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 01 Nov 2024 14:39:02 +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 Received: via spool by 74158-submit@debbugs.gnu.org id=B74158.173047188812495 (code B ref 74158); Fri, 01 Nov 2024 14:39:02 +0000 Received: (at 74158) by debbugs.gnu.org; 1 Nov 2024 14:38:08 +0000 Received: from localhost ([127.0.0.1]:49890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6smt-0003FN-6E for submit@debbugs.gnu.org; Fri, 01 Nov 2024 10:38:07 -0400 Received: from mail-wm1-f50.google.com ([209.85.128.50]:54563) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6rjM-0001C0-Lw for 74158@debbugs.gnu.org; Fri, 01 Nov 2024 09:30:28 -0400 Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-4315c1c7392so16887285e9.1 for <74158@debbugs.gnu.org>; Fri, 01 Nov 2024 06:30:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730467764; x=1731072564; 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=TvUMawqMkfqHs9Tn7smEvzepTuCDetKRVxcYdGutxRw=; b=a4M6LlR3GlD4cVaVtjmtPn956tRenLgdaIfVi4qJQMpKaMB29iuo+1+vqGWshlKwmX tJNtntzcIsmmp0M5R3bdugipFe95+lam44Qu278s2mjH16JnvwyKNgrLSCtr/Mg/+/aY LPr2VCdB4TDq26FtN7IRZ9SBcgjQ54rucv61EKsiarH7NDhLiJ+7xLKpt8vNoTF1Ulzc xMQQN6RdxgtrYoFl+kB059u/CK3dIfdPe+aGxf2ahFAtutnXWTc9tYxQBw06I7wNzIT8 Ud30o4U/mDaQyK5us0tVhPz7RSf3mK1QTt8XD1pyrJkxznz3QnkwCbi7Uio3cWDSRLJN 7YVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730467764; x=1731072564; 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=TvUMawqMkfqHs9Tn7smEvzepTuCDetKRVxcYdGutxRw=; b=pA+/hwVqPymv6ye2fhxZEYsyfOp7He7ql9Slwd+fbPA4HYz2ictyLqp8KAT3vCujdW bi68exSLXBqPYBe2QSWICqgtJhpUyaunNFyhcvO9up/5m+WAutOpwPVeeKLRv2K6PCzX oFut7xI8Emdl/zSOA/FPpHjtX4MYuFLSeqL8VpICb+ncxWLQXcK1ep+6w0Pwjue71FDU shQLhXzht5qEuPKZnpcQdQcsM0YGfI5fxrm/BSOcvuYg8wPXpd3KOXkaFzBYLXTGF7Ty 0GuRG3EjkBMMRqD8pdJ5t+2J7aEuFEJAMTrux0asHXoQT4l8P+474ufiloDBthosHQxx LPQQ== X-Gm-Message-State: AOJu0Yw63KPLtT6M+wwpxtyfJI/oEu5OO1XtwOi2pdUdKsBM7YYu+fSQ EPP1RA72hQGRyxtiKNpg9CbSgYjEASEbYfkO+zMMGjari0w24Nwv6sHK2y1i X-Google-Smtp-Source: AGHT+IE9tI5nOMq8xjHkhHKoPk8x3WSCMmYPD2LXzNPzxiFQYAWBov+5XcoLlHldD3Ic/yAuDhvmrA== X-Received: by 2002:a5d:64ad:0:b0:37d:38a1:6470 with SMTP id ffacd0b85a97d-381c7aa47d6mr2466314f8f.46.1730467763731; Fri, 01 Nov 2024 06:29:23 -0700 (PDT) Received: from LD00001.sitehop.local ([88.98.252.138]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-431bd9a9faesm92453875e9.35.2024.11.01.06.29.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Nov 2024 06:29:23 -0700 (PDT) From: Lee Thompson Date: Fri, 1 Nov 2024 13:28:52 +0000 Message-ID: <20241101132853.723629-4-lee.p.thomp@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241101132853.723629-1-lee.p.thomp@gmail.com> References: <20241101132853.723629-1-lee.p.thomp@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Fri, 01 Nov 2024 10:38:03 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Fri, 01 Nov 2024 11:19:18 -0400 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 X-Migadu-Spam-Score: 0.69 X-Spam-Score: 0.69 X-Migadu-Queue-Id: 8473C55A7D X-Migadu-Scanner: mx13.migadu.com X-TUID: PeuwvkbSBglX Change-Id: I3508c5fd2d6c787ff9ef737e3f6a207d9b852ada --- gnu/packages/emacs-xyz.scm | 45 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index e7a75d51a3..2527a568b2 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,50 @@ (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 outputs #:allow-other-keys) + (let ((parinfer (assoc-ref inputs "parinfer-rust-emacs"))) + ;; 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" + (string-append parinfer + "/lib/"))) + (emacs-substitute-sexps "parinfer-rust-mode.el" + ("defcustom parinfer-rust-library-directory" + (string-append 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 + "@code{parinfer-rust-mode} aims to be a simple implementation +of Parinfer that leverages the parinfer-rust plugin to do most of the heavy +lifting.") + (license license:gpl3+))) + (define-public emacs-helm-eww (package (name "emacs-helm-eww") -- 2.43.0