From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id TqbvMs4QA2JWugAAgWs5BA (envelope-from ) for ; Wed, 09 Feb 2022 01:54:38 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 2FiQKs4QA2KsIgAAG6o9tA (envelope-from ) for ; Wed, 09 Feb 2022 01:54:38 +0100 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 37E842ED47 for ; Wed, 9 Feb 2022 01:54:38 +0100 (CET) Received: from localhost ([::1]:34120 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nHbFj-0002Hr-L0 for larch@yhetil.org; Tue, 08 Feb 2022 19:54:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43836) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHbDG-0001lX-A4 for guix-patches@gnu.org; Tue, 08 Feb 2022 19:52:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:55267) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHbDF-00078B-Ot for guix-patches@gnu.org; Tue, 08 Feb 2022 19:52:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nHbDF-0001Zz-Og for guix-patches@gnu.org; Tue, 08 Feb 2022 19:52:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53879] [PATCH] gnu: Add emacs-everywhere. Resent-From: Jai Vetrivelan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 09 Feb 2022 00:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53879 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Nicolas Goaziou Cc: 53879@debbugs.gnu.org Received: via spool by 53879-submit@debbugs.gnu.org id=B53879.16443678896028 (code B ref 53879); Wed, 09 Feb 2022 00:52:01 +0000 Received: (at 53879) by debbugs.gnu.org; 9 Feb 2022 00:51:29 +0000 Received: from localhost ([127.0.0.1]:49164 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHbCi-0001Z9-U3 for submit@debbugs.gnu.org; Tue, 08 Feb 2022 19:51:29 -0500 Received: from mail-pj1-f47.google.com ([209.85.216.47]:38687) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHbCh-0001Yk-Io for 53879@debbugs.gnu.org; Tue, 08 Feb 2022 19:51:28 -0500 Received: by mail-pj1-f47.google.com with SMTP id h14-20020a17090a130e00b001b88991a305so3540865pja.3 for <53879@debbugs.gnu.org>; Tue, 08 Feb 2022 16:51:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-disposition; bh=9wGqwnlmOUNxi4uvI5TYlGTzN4stOnBSuIlr8Z7ZC2s=; b=O9epRml4yqNTqMFajsDwjPVeAmsqOqyNzz1xSKaQKwwr1ufDs2UO/g6lbUFdptZONB xrO40svGw5S6KNMB2Z1m0c8XOo5CRm6/IuRH7D9mn8kgVV9YwzYaTatCe4ChKCz27uC8 679ca5TXk+tgakQzRJ6x863kCL43m4zY+qSaksX7bmF2Hw4+FyKn3nB0zF9ef2LfDzy8 EuxZtlFvdaUlzJyWELRDk1drJ0h8ZM5L136UqDO24H6emduFoSAd7zn9KUuGyABkPGTG gkDNq88Rn3JlVdtLrt3dnRWKHIq4scsde5i2woo1pFf24k0P55JPsb8M0z3a+hTKL6B/ BvXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-disposition; bh=9wGqwnlmOUNxi4uvI5TYlGTzN4stOnBSuIlr8Z7ZC2s=; b=U6KYsqO9KjhC4JQeGLGpiZpzKiD6u7t6mItIDvPgSpgbWP9VGD45QEhWS6GgqZncrU Zch/lFGl0xV0oz5nh5+kPx3Kx9sZjdgOxsDSEb3GAIsGKhSkIJF5DEnhMl6nsesJzOQT xaBxF0ZkzFbA/rAirLSwos1Rx3L4e8aHRXRa41zwAIR0MsNFlRvsIyr+ppO3e9u4tcRW yi4qJnzoeWRoBDbX9C5wgjzrO24zs26gGp/kIICgTAYi0ZYi4kDk3hFUvoO7ZPk9NM9J 5K0WIEOHjZpzhymub4N0AeBVinEKz/AsP5kqV4Hf3AAuyNOW6Bj0L5FOfLHsKCpz+OeA JF3w== X-Gm-Message-State: AOAM531c0iq0LxL1tcioW8uv21CEr0fKKxCJsCo9gHNp852C/Mj9K5zv ZcN32DVx817RTyyAgEgTodl09jzGiaU= X-Google-Smtp-Source: ABdhPJwjP4zu0djhORbbso2yYNSf7c/nW8rSju4EuZq+bcW8lGuZGKzhPTOVImS1CNcnHp0jxN3zNg== X-Received: by 2002:a17:902:8d91:: with SMTP id v17mr7096148plo.154.1644367881114; Tue, 08 Feb 2022 16:51:21 -0800 (PST) Received: from guix ([2409:4072:8e14:39e:b086:4998:343a:c2ec]) by smtp.gmail.com with ESMTPSA id e17sm306473pfv.84.2022.02.08.16.51.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Feb 2022 16:51:20 -0800 (PST) From: Jai Vetrivelan References: <87pmnx4cbx.fsf@gmail.com> <87a6f1xo5k.fsf@nicolasgoaziou.fr> <87h799rkpm.fsf@gmail.com> <871r0cylcx.fsf@nicolasgoaziou.fr> X-Uboat-Death-Message: DEPTH CHARGED BY EIGHT AIRPLANES. LEAVE BOAT. U-266. Date: Wed, 09 Feb 2022 06:21:14 +0530 In-Reply-To: <871r0cylcx.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Wed, 09 Feb 2022 00:44:30 +0100") Message-ID: <87czjwsvzx.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-Add-emacs-everywhere.patch 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1644368078; 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: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=9wGqwnlmOUNxi4uvI5TYlGTzN4stOnBSuIlr8Z7ZC2s=; b=kxWakMLpS6v8w9GjULrp5fioR/N9ihSTqzP31CzMD04MiuttvTPhn7GlF3YkPJeoWHpqcY pG3/U8S0YkXf77KNMLBGgHlx+lR5ILAE/GHLSxy8DXHPzbPDsXETyjEq/uUOWFt9rSSNP+ cvFk7Oj5SoITtRxL77tudMAQn5OgJJt/eITP4zvVfKpoEbWHs6JCsdv+DOk0wED3jcNdHQ EXXbrZ1jPuyrS2pzKsfHMQEYAwnH6SGtn1Oejd9wXVWZz6qPBbbEK8V0cGrPhEa7fzfbCi k4+PqUpmDqgLBkSLl1J0b33jlYfExNFPXI5Y9s+6+/0VY+pKOHzwE9o5csxNZg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644368078; a=rsa-sha256; cv=none; b=mRfVgIGGEGHCyWlZXmjuS+zmDJNGSpOet8XAJgy3xabiS++RqSXSX9y8zk1iNw7z8Kfdsp X/c4PyayB/QyxfrgWtFZOp3lfeOYEBIqwiSkWlOhjjdSjhB76wa/2asBVgOw0A20xB84ty M3/qzWz/qCwdm+pOVox+2m8zPuQ6tiyPiccL5jt9woSdLPmJXzWsCAq2I4FWSZQpDEMX+S b3jxipmlxqnxUoHVBQ24TirNqSKB1V9dHnNmi3t9XC/LgvzN3I+9J7D8s8BgCMP1yWkDM/ b9yRHJXsKwhmCq3ySPVK9uxdnqu1ueTa1Rv36s8g0VDhn6JXCTdz25YptfAa8w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=O9epRml4; 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" X-Migadu-Spam-Score: -2.03 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=O9epRml4; 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" X-Migadu-Queue-Id: 37E842ED47 X-Spam-Score: -2.03 X-Migadu-Scanner: scn1.migadu.com X-TUID: ib+JNMas+2D5 >From baf437b34b900ba1733657e560187807c7a67007 Mon Sep 17 00:00:00 2001 From: Jai Vetrivelan Date: Tue, 8 Feb 2022 20:44:05 +0530 Subject: [PATCH] gnu: Add emacs-everywhere. * gnu/packages/emacs-xyz.scm (emacs-everywhere): New variable. --- gnu/packages/emacs-xyz.scm | 43 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 56af72b2ab..e68877ee30 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -26279,6 +26279,49 @@ (define-public emacs-evil-tmux-navigator Emacs windows and tmux panes.") (license license:expat))) +(define-public emacs-everywhere + ;; No upstream release. Extract version from main file. + (let ((commit "ace53396a66ed4b753f42c04a5a0db2bcd770423") + (revision "0")) + (package + (name "emacs-everywhere") + (version (git-version "0.0.1" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tecosaur/emacs-everywhere") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0p55shxvqm1713af33mfglny7rpi31d42wvgwylcsfy4jvnsq8bb")))) + (arguments + `(#:phases (modify-phases %standard-phases + (add-after 'unpack 'patch-exec-paths + (lambda* (#:key inputs #:allow-other-keys) + (let ((xclip (assoc-ref inputs "xclip")) + (xdotool (assoc-ref inputs "xdotool")) + (xprop (assoc-ref inputs "xprop")) + (xwininfo (assoc-ref inputs "xwininfo"))) + (substitute* "emacs-everywhere.el" + (("\"xclip\"") (string-append "\"" xclip + "/bin/xclip\"")) + (("\"xdotool\"") (string-append "\"" xdotool + "/bin/xdotool\"")) + (("\"xprop\"") (string-append "\"" xprop + "/bin/xprop\"")) + (("\"xwininfo\"") (string-append "\"" xwininfo + "/bin/xwininfo\"")))) + #t))))) + (inputs (list xclip xdotool xprop xwininfo)) + (build-system emacs-build-system) + (home-page "https://github.com/tecosaur/emacs-everywhere") + (synopsis "System-wide popup Emacs windows for quick edits") + (description "@code{emacs-everywhere} launches a new Emacs frame, and the +contents of the buffer are pasted into the previously focused application on +deletion of the frame.") + (license license:gpl3+)))) + (define-public emacs-xclip (package (name "emacs-xclip") base-commit: 35d56676db0988aad6d1a5b52dc4efef578885f2 -- 2.34.0