From unknown Sat Aug 16 00:33:54 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#53879 <53879@debbugs.gnu.org> To: bug#53879 <53879@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add emacs-everywhere. Reply-To: bug#53879 <53879@debbugs.gnu.org> Date: Sat, 16 Aug 2025 07:33:54 +0000 retitle 53879 [PATCH] gnu: Add emacs-everywhere. reassign 53879 guix-patches submitter 53879 Jai Vetrivelan severity 53879 normal tag 53879 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 08 10:17:51 2022 Received: (at submit) by debbugs.gnu.org; 8 Feb 2022 15:17:51 +0000 Received: from localhost ([127.0.0.1]:48313 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHSFb-0006ka-4D for submit@debbugs.gnu.org; Tue, 08 Feb 2022 10:17:51 -0500 Received: from lists.gnu.org ([209.51.188.17]:53476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHSFa-0006kU-1b for submit@debbugs.gnu.org; Tue, 08 Feb 2022 10:17:50 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41606) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHSFZ-0002To-Sg for guix-patches@gnu.org; Tue, 08 Feb 2022 10:17:49 -0500 Received: from [2607:f8b0:4864:20::42f] (port=34591 helo=mail-pf1-x42f.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHSFX-0007vL-Bc for guix-patches@gnu.org; Tue, 08 Feb 2022 10:17:49 -0500 Received: by mail-pf1-x42f.google.com with SMTP id p43so1821123pfw.1 for ; Tue, 08 Feb 2022 07:17:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:user-agent:mime-version :content-disposition; bh=hzUtXvwvLw+XmW9fbvnC/m6WVkNZ6aVT1kl+6ntQKXo=; b=P46Y2i5ccQF+gnZlL2wYZEGJQa7MeqfpNPWQYfC9q4ej2SbfbN7nvpdIrY0Xe6u7ed d1L34D/WDqS5nGtvZy7H/iz3nwtvPCskT/Jeb/IIRIzMlyX6RjpIhlMyHC55cjDJNi8O WXonjBvPv8qqDXP2rihg94D9Ux2bVP34crAylF1odoNpjIC9ZieE9ax6qXyWg4U6GTM1 Rzn8ijbOkoWptmgeqPjCjztH4DEKIFrLMI5Qbu5RdecBmDhGDEwT5d7uZB0lkCAEU7ko Tqu+SGgtUGj4pRBTQ9ZSsxe2aAHTFpAsc0f01t2Q/Nx5Q/l/fgSk2HkL10WuMhE+lbef ZjlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version:content-disposition; bh=hzUtXvwvLw+XmW9fbvnC/m6WVkNZ6aVT1kl+6ntQKXo=; b=Fb0T8MBOOmTohqtkwOE0nBDU3Bxm4IGkx4Q4zKIP3I/1H2YjXQqjlTvAb+Gnh2j7Y1 NcvNlUkD94zHNoNaHbfK2B8dAgMG6H4LH1kya/aypWWv9EZX+O8UhAZTAdDUMquxgOJw x+ctCogCcOo+30lgJYWEMKASLfUDDvxH3JfWol3KAxP8TKP0bpUgFCXllIlM0t2QcyzU eOFKv8HCbMhh+TORstvFSOtK12jhR2bKUr26gPoGo5O/BAIJmydjF2hDz+ApZWCqZ6ss dd1q/sJcaik9M5dOfDpFmR/ZTb8zh9rYMv8JjUVfiu9gOvdhuAM3moC1MO7Tj3cv/v34 kqMw== X-Gm-Message-State: AOAM531q4f21WjEx/+rsgCE0JUVLbuvs3h9dM5OZFvF7Cu/Tpl77NCUc 6uUJOhv6yBn+tik50gOi/pR8M3ezdwA= X-Google-Smtp-Source: ABdhPJwSQ+jXUlePITnCZZqUcd+tBYPuddBXwuaBZXeAOiJGhXxU+Jl7sSUkWDQg/hnPI4gTWRWwuw== X-Received: by 2002:a05:6a00:16c1:: with SMTP id l1mr4797849pfc.52.1644333464901; Tue, 08 Feb 2022 07:17:44 -0800 (PST) Received: from guix ([2409:4072:8e3c:296e:f4bb:faba:31be:4ffb]) by smtp.gmail.com with ESMTPSA id s192sm2554208pfc.8.2022.02.08.07.17.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Feb 2022 07:17:44 -0800 (PST) From: Jai Vetrivelan To: guix-patches@gnu.org Subject: [PATCH] gnu: Add emacs-everywhere. X-Uboat-Death-Message: BLOWN UP BY FOUR AIRPLANES. SINKING. U-98. Date: Tue, 08 Feb 2022 20:47:38 +0530 Message-ID: <87pmnx4cbx.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-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::42f (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::42f; envelope-from=jaivetrivelan@gmail.com; helo=mail-pf1-x42f.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) >From f8f503e5aea4515340d9f7b86ad96ceb4bb71502 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 | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 56af72b2ab..c891a71250 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -26279,6 +26279,32 @@ (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 ((revision "0") (version "0.0.1") + (commit "ace53396a66ed4b753f42c04a5a0db2bcd770423")) + (package + (name "emacs-everywhere") + (version (git-version version 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")))) + (propagated-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 From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 08 12:29:42 2022 Received: (at 53879) by debbugs.gnu.org; 8 Feb 2022 17:29:42 +0000 Received: from localhost ([127.0.0.1]:48523 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHUJC-00043Z-7A for submit@debbugs.gnu.org; Tue, 08 Feb 2022 12:29:42 -0500 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:40509) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHUJ7-00043H-2z for 53879@debbugs.gnu.org; Tue, 08 Feb 2022 12:29:41 -0500 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id 2F6BDC000A; Tue, 8 Feb 2022 17:29:29 +0000 (UTC) From: Nicolas Goaziou To: Jai Vetrivelan Subject: Re: [bug#53879] [PATCH] gnu: Add emacs-everywhere. References: <87pmnx4cbx.fsf@gmail.com> Date: Tue, 08 Feb 2022 18:29:27 +0100 In-Reply-To: <87pmnx4cbx.fsf@gmail.com> (Jai Vetrivelan's message of "Tue, 08 Feb 2022 20:47:38 +0530") Message-ID: <87a6f1xo5k.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 53879 Cc: 53879@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello, Jai Vetrivelan writes: > Subject: [PATCH] gnu: Add emacs-everywhere. Thanks. Some comments follow. > +(define-public emacs-everywhere > + ;; No upstream release. Extract version from main file. > + (let ((revision "0") (version "0.0.1") Nitpick: binding should go to separate lines. However, in this case, I suggest to move version string right in the "version" field. It will make life of the updater scripts easier. > + (propagated-inputs > + (list xclip xdotool xprop xwininfo)) Could you turn those into regular inputs, and patch calls in the library? Ideally, upstream should turn the location of these executables into a defcustom. You may want to suggest it to them. Regards, -- Nicolas Goaziou From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 08 18:40:53 2022 Received: (at 53879) by debbugs.gnu.org; 8 Feb 2022 23:40:53 +0000 Received: from localhost ([127.0.0.1]:49072 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHa6P-00083W-JI for submit@debbugs.gnu.org; Tue, 08 Feb 2022 18:40:53 -0500 Received: from mail-pf1-f170.google.com ([209.85.210.170]:35609) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHa6N-00083G-1p for 53879@debbugs.gnu.org; Tue, 08 Feb 2022 18:40:51 -0500 Received: by mail-pf1-f170.google.com with SMTP id z35so1220196pfw.2 for <53879@debbugs.gnu.org>; Tue, 08 Feb 2022 15:40:50 -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; bh=0Hgn3tVeYKb8pyErclBz4pVSfQjr/rweCD8WQ/2527Y=; b=TIa5AA8s8NPXMkZxmQmk/YNe9h6fgiqh5AFRi1nysS4ZxN/2sTTr3x3OODTyFap4Bw w1WZQXP3Kl+e+r41XR2gycKDcStYYe77lB5UmlzMCBlVyz5BpNq6sN9IOyliQrug2lz8 zUQFg/0FMdt2aDG79WP8DAnJRrsvyhf9r5C1UU3Ncx6CmdbBQCdwfrBDA0QJ55ngDrDm I9/zkxhkC086ZZSnBEhRzfHe+A8456oITq8eDRyzHrZ+5JWxxgvf/iVtwfm7bEcBmYpv beUiwR9YOekwnHVXzsJtDCQP1qcjXEIow3KNubYChnrPI1JDqXS0U/tjYEC/ol5Umc4V 3bNA== 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; bh=0Hgn3tVeYKb8pyErclBz4pVSfQjr/rweCD8WQ/2527Y=; b=UtCETATKusa/hvPNGFMF55FoF5pMWebuittQ8w4RBpnHyUMZXRehLGxFy8hegK/ZGL ffw/+94rlvEioXL6DnU9yNzk+mC7tfghLFnWBmU4DzG6wUSLi/62JLJGe2WioRwZA29x HJuIAK1p2JQxAfjuE+2O3n8xaLmalM+tv+5/sYSQA9xIKaZIl5UkoQxP1aEwFjlakKlO nNTbuwyrn3nNtoT2pi74FNNIuMiJjh78g2UIot4xV76cw35IXuKRGt288L8HShMjX119 7myYK2L2pWYgMTokTcLRjBbPWlhxHAkwR33YQgcMXzEjVpIHfmy8x11B5tqcdloTOrJn sJxw== X-Gm-Message-State: AOAM530GOTp4G0xM6hpYnqA2T1G8RjsmjakMEySyiPLivXX5YnZppJ2C 7p6h2uYlClHBigEAh0kyU5eCZGXfdF0T8Q== X-Google-Smtp-Source: ABdhPJw95udB7BFvT79giDV/TWdDbNoCrakyTpqkZp4NoZC0BJ6gejJf3+VBZ/VOXRv84xoJOB5DQA== X-Received: by 2002:a05:6a00:1681:: with SMTP id k1mr6683046pfc.48.1644363644498; Tue, 08 Feb 2022 15:40:44 -0800 (PST) Received: from guix ([2409:4072:6e1d:eff6:b221:fd7:7616:8aaa]) by smtp.gmail.com with ESMTPSA id g12sm16325138pfm.119.2022.02.08.15.40.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Feb 2022 15:40:43 -0800 (PST) From: Jai Vetrivelan To: Nicolas Goaziou Subject: Re: [bug#53879] [PATCH] gnu: Add emacs-everywhere. References: <87pmnx4cbx.fsf@gmail.com> <87a6f1xo5k.fsf@nicolasgoaziou.fr> X-Emacs-Acronym: Edwardian Manifestation of All Colonial Sins Date: Wed, 09 Feb 2022 05:10:21 +0530 In-Reply-To: <87a6f1xo5k.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Tue, 08 Feb 2022 18:29:27 +0100") Message-ID: <87h799rkpm.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 53879 Cc: 53879@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On 2022-02-08, 18:29 +0100, Nicolas Goaziou wrote: >> + (propagated-inputs >> + (list xclip xdotool xprop xwininfo)) > > Could you turn those into regular inputs, and patch calls in the > library? Ideally, upstream should turn the location of these > executables into a defcustom. You may want to suggest it to them. Could you please point out any package that does this, so that I could better understand what you're talking about. Thanks! =2D-=20 Jai Vetrivelan --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJMBAEBCAA2FiEE0sFiNFJFp/P+5XqUp+GV74GQxVIFAmIC/2gYHGphaXZldHJp dmVsYW5AZ21haWwuY29tAAoJEKfhle+BkMVSThIP/jU+9vL46F1wqwMYEYtS3Dj1 QTkCszEVmx11/a/RyK5N9alLp4dBe4tlKNJ500WzDF41dmgfKYqnve8dctCwzZXo 8lxhvPxvGdGZqrgmA+2vznKYSlitX0v6KlYPzJvmykd8D3RHwJVQj7nrZw+mxWzm qWbgDgASmbFLjcKcPPojEat6upBe5M43qvbOhk7c07WfmFyyWcbo7Zqsg1XwvH0I UnDOwED3mUUWcuLNvNtn5uZaLzhOkul5KjshNIWehsjz0XzJIWRZ8JNV4luWLztY GaAA1faeuiPcJ4DPeNUA8XgGK/zxYinAyQPizwk28//NnYpdLjdL40cD/77gSmch uxZpFBIk5GY7d6UQ+RCXUVyhcO8Ma9FGJqxefmEZt+IptTyxHFYHpTwDCwCMjuR9 npTAYjGAi7yGtbNje7UPEg/f2oggrHr0DSw5qbu5EWnSrk3v4SC4zywxrNjLm7Nj bH44b6Q4ZnFU9aRb3P75rLwHbyDj/wl5iB3nphCK5gB9ixUdJTO2aodhMCKFfMNR 3R2B2oZ5hfwk3n5r4ZM3nl5uiHEaewzVGn6xjOeb/jXAIWXdGjibfCwDqq1uaitZ mEFwMppCC/JCYh4mZmo1XYPyU5z96JQv7bKNiGhCt1Gt1rjqUOdgKq2HjNlxOUqg W/y9zP6EpiYNRBn8LtyR =8VGN -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 08 18:44:43 2022 Received: (at 53879) by debbugs.gnu.org; 8 Feb 2022 23:44:43 +0000 Received: from localhost ([127.0.0.1]:49083 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHaA6-00089t-Va for submit@debbugs.gnu.org; Tue, 08 Feb 2022 18:44:43 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:44177) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHaA4-00089c-IA for 53879@debbugs.gnu.org; Tue, 08 Feb 2022 18:44:41 -0500 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id 8E26B10000B; Tue, 8 Feb 2022 23:44:32 +0000 (UTC) From: Nicolas Goaziou To: Jai Vetrivelan Subject: Re: [bug#53879] [PATCH] gnu: Add emacs-everywhere. References: <87pmnx4cbx.fsf@gmail.com> <87a6f1xo5k.fsf@nicolasgoaziou.fr> <87h799rkpm.fsf@gmail.com> Date: Wed, 09 Feb 2022 00:44:30 +0100 In-Reply-To: <87h799rkpm.fsf@gmail.com> (Jai Vetrivelan's message of "Wed, 09 Feb 2022 05:10:21 +0530") Message-ID: <871r0cylcx.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 53879 Cc: 53879@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello, Jai Vetrivelan writes: >> Could you turn those into regular inputs, and patch calls in the >> library? Ideally, upstream should turn the location of these >> executables into a defcustom. You may want to suggest it to them. > > Could you please point out any package that does this, so that I could > better understand what you're talking about. Certainly. See, for example, `patch-exec-paths' phase in emacs-theme-magic. Regards, -- Nicolas Goaziou From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 08 19:51:29 2022 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 To: Nicolas Goaziou Subject: Re: [bug#53879] [PATCH] gnu: Add emacs-everywhere. 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-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 53879 Cc: 53879@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >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 From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 09 09:11:20 2022 Received: (at 53879-done) by debbugs.gnu.org; 9 Feb 2022 14:11:20 +0000 Received: from localhost ([127.0.0.1]:50276 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHngl-0008PN-SN for submit@debbugs.gnu.org; Wed, 09 Feb 2022 09:11:20 -0500 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:36165) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHngj-0008P8-VH for 53879-done@debbugs.gnu.org; Wed, 09 Feb 2022 09:11:18 -0500 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id 160052000D; Wed, 9 Feb 2022 14:11:10 +0000 (UTC) From: Nicolas Goaziou To: Jai Vetrivelan Subject: Re: [bug#53879] [PATCH] gnu: Add emacs-everywhere. References: <87pmnx4cbx.fsf@gmail.com> <87a6f1xo5k.fsf@nicolasgoaziou.fr> <87h799rkpm.fsf@gmail.com> <871r0cylcx.fsf@nicolasgoaziou.fr> <87czjwsvzx.fsf@gmail.com> Date: Wed, 09 Feb 2022 15:11:10 +0100 In-Reply-To: <87czjwsvzx.fsf@gmail.com> (Jai Vetrivelan's message of "Wed, 09 Feb 2022 06:21:14 +0530") Message-ID: <87leykw2o1.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 53879-done Cc: 53879-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello, Jai Vetrivelan writes: Thanks for the update. I'm sorry: I pointed you, as an example, to a package using old syntax. > +(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 We're now using G-expressions, which are less ambiguous than quasi-quotes: (arguments (list #: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"))) We don't use (assoc-ref inputs ...) expressions anymore. It is possible to replace those calls with `search-input-file'. > + (substitute* "emacs-everywhere.el" > + (("\"xclip\"") (string-append "\"" xclip > + "/bin/xclip\"")) For example, here, it is possible to write (string-append "\"" (search-input-file inputs "/bin/xclip") "\"") > + #t))))) Phases do not need to end with "#t" anymore, so this can be dropped. I made the changes above on your behalf and applied your patch. Regards, -- Nicolas Goaziou From unknown Sat Aug 16 00:33:54 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 10 Mar 2022 12:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator