unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Josh <josh@foxtail.org>
Cc: 13790@debbugs.gnu.org
Subject: bug#13790: Cannot paste with C-y into Homebrew emacs v24.2.1
Date: Wed, 13 Mar 2013 14:04:07 -0400	[thread overview]
Message-ID: <jwvli9r18x6.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <CANdFEAEUB9bwYWSAMh9Db9F4BQN1HPrnNzEqYuNHi08vfPEFTg@mail.gmail.com> (josh@foxtail.org's message of "Wed, 13 Mar 2013 09:18:08 -0700")

> I'd be happy to contribute it,

Cool.  Could you try and make it into a patch to xclip.el, then?

> Is this code trivial enough that we needn't be concerned about
> copyright issues?

Pretty much, yes.

> Also, I see that xclip.el resides in the GNU ELPA repository.  Since
> it's likely that many people using Emacs in -nw mode would like to
> integrate Emacs kill and yank operations with their operating systems'
> clipboards, I wonder if it would be worthwhile for some or all of
> xclip.el's functionality to move into the core.

I don't think xclip-mode can be enabled by default (at least not at
this stage), so the only thing we can improve is to bundle xclip.el with
Emacs, although installing a package from GNU ELPA is simple enough that
the pressure to do that is not very high.

> We could do this by including a few simple wrapper functions such as
> the above to provide interfaces to xclip, pbcopy/pbpaste, and whatever
> Windows equivalent may exist, and mentioning those functions'
> existence in interprogram-cut-function's and
> interprogram-paste-function's docstrings.

I think the current "Add (xclip-mode 1) in your .emacs" is a better
option than expecting people to mess around with their
interprogram-*-functions.


        Stefan





  reply	other threads:[~2013-03-13 18:04 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-22 22:40 bug#13790: Cannot paste with C-y into Homebrew emacs v24.2.1 Andrew Pennebaker
2013-03-05 20:13 ` Glenn Morris
2013-03-05 21:46   ` Jan Djärv
2013-03-05 23:19     ` Josh
2013-03-06  9:34       ` Jan Djärv
2013-03-06 15:54         ` Josh
2013-03-06 18:54           ` Jan Djärv
2013-03-06 21:02             ` Eli Zaretskii
2013-03-06 21:49               ` Josh
2013-03-09  1:42                 ` Stefan Monnier
2013-03-13 16:18                   ` Josh
2013-03-13 18:04                     ` Stefan Monnier [this message]
2013-04-03 17:07                       ` Josh
2013-04-08 16:24                         ` Stefan Monnier
2013-04-13 16:55                           ` Josh
2024-01-10 11:22 ` Stefan Kangas

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://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvli9r18x6.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=13790@debbugs.gnu.org \
    --cc=josh@foxtail.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/emacs.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).