From patchwork Sun Sep 4 14:32:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: rdes X-Patchwork-Id: 42207 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D1E9427BBEA; Sun, 4 Sep 2022 15:33:10 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4F7B227BBE9 for ; Sun, 4 Sep 2022 15:33:10 +0100 (BST) Received: from localhost ([::1]:42338 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oUqgP-0002ck-Ef for patchwork@mira.cbaines.net; Sun, 04 Sep 2022 10:33:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36224) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUqgI-0002cb-Nl for guix-patches@gnu.org; Sun, 04 Sep 2022 10:33:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56681) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oUqgI-0005jg-Fi for guix-patches@gnu.org; Sun, 04 Sep 2022 10:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oUqgI-0002fA-B1 for guix-patches@gnu.org; Sun, 04 Sep 2022 10:33:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57578] [PATCH] gnu: Add emacs-buffer-env. Resent-From: rdes Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 04 Sep 2022 14:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57578 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57578@debbugs.gnu.org X-Debbugs-Original-To: "guix-patches@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.166230195810203 (code B ref -1); Sun, 04 Sep 2022 14:33:02 +0000 Received: (at submit) by debbugs.gnu.org; 4 Sep 2022 14:32:38 +0000 Received: from localhost ([127.0.0.1]:45380 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUqft-0002eV-HD for submit@debbugs.gnu.org; Sun, 04 Sep 2022 10:32:37 -0400 Received: from lists.gnu.org ([209.51.188.17]:57618) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUqfo-0002eK-Ib for submit@debbugs.gnu.org; Sun, 04 Sep 2022 10:32:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50638) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUqfk-0002Za-Dx for guix-patches@gnu.org; Sun, 04 Sep 2022 10:32:32 -0400 Received: from mail-4319.protonmail.ch ([185.70.43.19]:17395) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUqfh-0005by-9l for guix-patches@gnu.org; Sun, 04 Sep 2022 10:32:27 -0400 Date: Sun, 04 Sep 2022 14:32:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1662301940; x=1662561140; bh=IDa8dfEN80ARZF3Aatpw/ijQ5tAdcgqhCzPHENkieok=; h=Date:To:From:Reply-To:Subject:Message-ID:Feedback-ID:From:To:Cc: Date:Subject:Reply-To:Feedback-ID:Message-ID; b=JqWhZXvC2mrnSG4C4ZrUZIW1spnkWKTEfeNCs5Vlq/raKIhSBVXCQl6uu3tpIVBRB SsL3CIgttrzLvoamhZReWyPFfzLBkgn7+L48yfGtzVUZ+1BANE2LDm2JPqceqQOY+k YTzztwbnEQJ6ge413mXDnMnYKNZogOjL2ivaM3LrebE5PVVriHLPknW/XBh0bmlCvV uixLxUlbunhSj8wsPp+j/VBvXUHSVqUPxAPBR5jRarY7HXhXyt3lyGdawka71uaeh0 u4GTpEHKuFB4gXzY43uutijwmID+rGlvDlCBAihy3hTva8W3Pn00QGu8lZaTpnFLZJ NU1XF9sh1WGng== Message-ID: Feedback-ID: 7204698:user:proton MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.43.19; envelope-from=rdes@protonmail.com; helo=mail-4319.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: rdes X-ACL-Warn: , rdes via Guix-patches X-Patchwork-Original-From: rdes via Guix-patches via From: rdes X-getmail-retrieved-from-mailbox: Patches * gnu/packages/emacs-xyz.scm (emacs-buffer-env): New variable. --- gnu/packages/emacs-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) -- 2.34.4 diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 6d89104226..e2740e4cc9 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -32488,3 +32488,25 @@ a way to pop up a frame at point. Vertico-posframe is an Emacs package and a Vertico extension which provides a way to pop up a frame at point to show a vertical completion UI.") (license license:gpl3+))) + +(define-public emacs-buffer-env + (package + (name "emacs-buffer-env") + (version "0.4") + (source (origin + (method url-fetch) + (uri (string-append "https://elpa.gnu.org/packages/buffer-env-" + version ".tar")) + (sha256 + (base32 + "0y8ik87dqldhn6q631zp2ln9z5byqgm9icrvr4xrdx6g8mr9c56z")))) + (build-system emacs-build-system) + (propagated-inputs (list emacs-compat)) + (home-page "https://github.com/astoff/buffer-env") + (synopsis "Buffer-local process environments") + (description + "With this package, you can teach Emacs to call the correct version of external +programs such as linters, compilers and language servers on a /per-project/ +basis. Thus you can work on several projects in parallel with no undue +interference and switch seamlessly between them.") + (license license:gpl3+)))