From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#13790: Cannot paste with C-y into Homebrew emacs v24.2.1 Date: Wed, 13 Mar 2013 14:04:07 -0400 Message-ID: References: <988801E5-2282-4367-A46E-7A05A63069AD@swipnet.se> <1790161F-1C74-43D3-AFEE-40EAF0B2AFBB@swipnet.se> <83obew1bub.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1363197904 16723 80.91.229.3 (13 Mar 2013 18:05:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Mar 2013 18:05:04 +0000 (UTC) Cc: 13790@debbugs.gnu.org To: Josh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 13 19:05:27 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UFq3J-0005h8-S8 for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Mar 2013 19:05:25 +0100 Original-Received: from localhost ([::1]:50897 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFq2x-0002TG-8k for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Mar 2013 14:05:03 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34937) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFq2s-0002QU-7u for bug-gnu-emacs@gnu.org; Wed, 13 Mar 2013 14:05:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UFq2p-0006fP-Ad for bug-gnu-emacs@gnu.org; Wed, 13 Mar 2013 14:04:58 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47631) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFq2p-0006fL-8D for bug-gnu-emacs@gnu.org; Wed, 13 Mar 2013 14:04:55 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UFq3t-00063S-PO for bug-gnu-emacs@gnu.org; Wed, 13 Mar 2013 14:06:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Mar 2013 18:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13790 X-GNU-PR-Package: emacs,ns X-GNU-PR-Keywords: moreinfo unreproducible Original-Received: via spool by 13790-submit@debbugs.gnu.org id=B13790.136319792223226 (code B ref 13790); Wed, 13 Mar 2013 18:06:01 +0000 Original-Received: (at 13790) by debbugs.gnu.org; 13 Mar 2013 18:05:22 +0000 Original-Received: from localhost ([127.0.0.1]:51739 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UFq3F-00062X-K4 for submit@debbugs.gnu.org; Wed, 13 Mar 2013 14:05:21 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:16986) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UFq3E-00062N-IE for 13790@debbugs.gnu.org; Wed, 13 Mar 2013 14:05:20 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EABK/CFHO+KL9/2dsb2JhbABEvw4Xc4IeAQEEAVYeBQULCzQSFBgNEAETiB4GwS2RCgOkeoFegxM X-IPAS-Result: Av8EABK/CFHO+KL9/2dsb2JhbABEvw4Xc4IeAQEEAVYeBQULCzQSFBgNEAETiB4GwS2RCgOkeoFegxM X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="4722780" Original-Received: from 206-248-162-253.dsl.teksavvy.com (HELO pastel.home) ([206.248.162.253]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 13 Mar 2013 14:04:06 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id BC78D67A3B; Wed, 13 Mar 2013 14:04:07 -0400 (EDT) In-Reply-To: (josh@foxtail.org's message of "Wed, 13 Mar 2013 09:18:08 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:72424 Archived-At: > 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