From: John Soo <jsoo1@asu.edu>
To: 40705@debbugs.gnu.org
Subject: [bug#40705] [PATCH] gnu: Add emacs-xclip.
Date: Sat, 18 Apr 2020 20:30:33 -0700 [thread overview]
Message-ID: <874ktgi23q.fsf@asu.edu> (raw)
[-- Attachment #1: Type: text/plain, Size: 220 bytes --]
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
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: emacs-xclip --]
[-- Type: text/x-patch, Size: 1565 bytes --]
From c7a1819ea3f2a57fd914f742a2f05a2acaf32731 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
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
next reply other threads:[~2020-04-19 3:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-19 3:30 John Soo [this message]
2020-04-22 21:49 ` bug#40705: [PATCH] gnu: Add emacs-xclip Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874ktgi23q.fsf@asu.edu \
--to=jsoo1@asu.edu \
--cc=40705@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).