From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:60956) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQ0ff-0001mC-Mh for guix-patches@gnu.org; Sat, 18 Apr 2020 23:31:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jQ0ff-0005df-4o for guix-patches@gnu.org; Sat, 18 Apr 2020 23:31:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60616) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jQ0fe-0005dL-Nw for guix-patches@gnu.org; Sat, 18 Apr 2020 23:31:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jQ0fe-0005lk-Kg for guix-patches@gnu.org; Sat, 18 Apr 2020 23:31:02 -0400 Subject: [bug#40705] [PATCH] gnu: Add emacs-xclip. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:60662) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQ0fJ-0001lM-DD for guix-patches@gnu.org; Sat, 18 Apr 2020 23:30:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jQ0fI-00059X-74 for guix-patches@gnu.org; Sat, 18 Apr 2020 23:30:40 -0400 Received: from mail-ot1-x333.google.com ([2607:f8b0:4864:20::333]:43867) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jQ0fH-00054E-JR for guix-patches@gnu.org; Sat, 18 Apr 2020 23:30:39 -0400 Received: by mail-ot1-x333.google.com with SMTP id g14so5022032otg.10 for ; Sat, 18 Apr 2020 20:30:37 -0700 (PDT) Received: from ecenter ([2600:1700:83b0:8bd0::479]) by smtp.gmail.com with ESMTPSA id 69sm9342440otv.8.2020.04.18.20.30.34 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 18 Apr 2020 20:30:34 -0700 (PDT) From: John Soo Date: Sat, 18 Apr 2020 20:30:33 -0700 Message-ID: <874ktgi23q.fsf@asu.edu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 40705@debbugs.gnu.org --=-=-= Content-Type: text/plain Hi Guix! If you run Emacs in a terminal emulator then emacs-xclip will help with clipboard integration. It transparently allows copy and pasting to and from the system clipboard and the terminal Emacs. Thanks! John --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-Add-emacs-xclip.patch Content-Description: emacs-xclip >From c7a1819ea3f2a57fd914f742a2f05a2acaf32731 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sat, 18 Apr 2020 20:11:07 -0700 Subject: [PATCH] gnu: Add emacs-xclip. * gnu/packages/emacs-xyz.scm (emacs-xclip): New variable. --- gnu/packages/emacs-xyz.scm | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index a9550ee112..c167b7838f 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -20264,6 +20264,28 @@ commands in @code{evil-mode}.") Emacs windows and tmux panes.") (license license:expat))) +(define-public emacs-xclip + (package + (name "emacs-xclip") + (version "1.10") + (source + (origin + (method url-fetch) + (uri (string-append + "https://elpa.gnu.org/packages/xclip-" version ".el")) + (sha256 + (base32 + "0i3i9kwfg8qmhcmqhhnrb1kljgwkccv63s9q1mjwqfjldyfh8j8i")))) + (build-system emacs-build-system) + (home-page + "http://elpa.gnu.org/packages/xclip.html") + (synopsis + "Copy and paste GUI clipboard from terminal Emacs") + (description + "Copy to and paste from the GUI clipboard when running Emacs in text +terminal.") + (license license:gpl3+))) + (define-public emacs-xterm-color (package (name "emacs-xterm-color") @@ -22534,4 +22556,3 @@ personal wiki.") ASCII UML sequence diagrams in Emacs, which can be embedded in source code, comments or emails.") (license license:gpl3+)))) - -- 2.26.0 --=-=-=--