GNU logs - #13790, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#13790: Cannot paste with C-y into Homebrew emacs v24.2.1
Resent-From: Andrew Pennebaker <andrew.pennebaker@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 22 Feb 2013 22:48:01 +0000
Resent-Message-ID: <handler.13790.B.136157324811952 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 13790
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 13790 <at> debbugs.gnu.org
X-Debbugs-Original-To: Emacs Bugs <bug-gnu-emacs@HIDDEN>
Received: via spool by submit <at> debbugs.gnu.org id=B.136157324811952
          (code B ref -1); Fri, 22 Feb 2013 22:48:01 +0000
Received: (at submit) by debbugs.gnu.org; 22 Feb 2013 22:47:28 +0000
Received: from localhost ([127.0.0.1]:44808 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1U91Oq-00036j-Ae
	for submit <at> debbugs.gnu.org; Fri, 22 Feb 2013 17:47:28 -0500
Received: from eggs.gnu.org ([208.118.235.92]:33453)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <andrew.pennebaker@HIDDEN>) id 1U91On-00036U-Lc
	for submit <at> debbugs.gnu.org; Fri, 22 Feb 2013 17:47:26 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <andrew.pennebaker@HIDDEN>) id 1U91NL-0006qR-HJ
	for submit <at> debbugs.gnu.org; Fri, 22 Feb 2013 17:46:01 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-101.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	HTML_MESSAGE,T_DKIM_INVALID,USER_IN_WHITELIST autolearn=unavailable
	version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:58080)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <andrew.pennebaker@HIDDEN>) id 1U91NL-0006q6-8a
	for submit <at> debbugs.gnu.org; Fri, 22 Feb 2013 17:45:55 -0500
Received: from eggs.gnu.org ([208.118.235.92]:44671)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <andrew.pennebaker@HIDDEN>) id 1U91NH-0001jB-5L
	for bug-gnu-emacs@HIDDEN; Fri, 22 Feb 2013 17:45:55 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <andrew.pennebaker@HIDDEN>) id 1U91NE-0006l8-QE
	for bug-gnu-emacs@HIDDEN; Fri, 22 Feb 2013 17:45:51 -0500
Received: from mail-ie0-x231.google.com ([2607:f8b0:4001:c03::231]:64328)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <andrew.pennebaker@HIDDEN>) id 1U91NE-0006kg-FU
	for bug-gnu-emacs@HIDDEN; Fri, 22 Feb 2013 17:45:48 -0500
Received: by mail-ie0-f177.google.com with SMTP id 16so1326445iea.8
	for <bug-gnu-emacs@HIDDEN>; Fri, 22 Feb 2013 14:45:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:x-received:date:message-id:subject:from:to
	:content-type; bh=DnSB3sw5huIVWRyQDEviWzs5q1CiGFjC5nBAGEhLyys=;
	b=PS+cuq3kE4DPy5ic3Z7nEJChZfXtavJNtBlou92SJJAYd7afq1bKBkLbUbu8wkwXrS
	a93hLl3LODlUne6ExSAi3geQhPryFdivYVktVUT7Ff/GY78YUvZQud9ny/PfEDh6yf7x
	DlQlVZeESn20r0MqJyKpJvk17wWxn+ha/0MkMd4M1tnkuWEG5+daAurmE9v6+uL3++T2
	r6MRn0ePhCtPCc4f/MhTEJSMicQQn9rrep5ha36q+hJ4iNFB0k91mDKKqVlNEb2u4y0w
	0fQQIs63bNnczSU2z0SXFdWy1/59aR8LQVVhWBU6I4QSDlnPMkYN+zmLovktrOU1Ib0o
	2NyQ==
MIME-Version: 1.0
X-Received: by 10.50.37.239 with SMTP id b15mr24047igk.69.1361572820951; Fri,
	22 Feb 2013 14:40:20 -0800 (PST)
Received: by 10.43.71.196 with HTTP; Fri, 22 Feb 2013 14:40:20 -0800 (PST)
Date: Fri, 22 Feb 2013 17:40:20 -0500
Message-ID: <CAHXt_SVLbGEzsgH24zpwwXUa+F9ANSfuEo6tGS932FTdoQYTiA@HIDDEN>
From: Andrew Pennebaker <andrew.pennebaker@HIDDEN>
Content-Type: multipart/alternative; boundary=f46d044795a354243d04d657e0d2
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
	(bad octet value).
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.17
X-Spam-Score: -4.2 (----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -6.1 (------)

--f46d044795a354243d04d657e0d2
Content-Type: text/plain; charset=ISO-8859-1

I can paste into emacs using Mac OS X's Command+V shortcut, but when I try
to paste text using the standard C-y command, Emacs says:

Kill ring is empty

-- 
Cheers,

Andrew Pennebaker
www.yellosoft.us

--f46d044795a354243d04d657e0d2
Content-Type: text/html; charset=ISO-8859-1

<div dir="ltr">I can paste into emacs using Mac OS X&#39;s Command+V shortcut, but when I try to paste text using the standard C-y command, Emacs says:<div><br></div><div><font face="courier new, monospace">Kill ring is empty</font><div>
<div><br></div>-- <br><div></div>Cheers,<div><br></div><div>Andrew Pennebaker</div><div><a href="http://www.yellosoft.us" target="_blank">www.yellosoft.us</a></div>
</div></div></div>

--f46d044795a354243d04d657e0d2--




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.428 (Entity 5.428)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Andrew Pennebaker <andrew.pennebaker@HIDDEN>
Subject: bug#13790: Acknowledgement (Cannot paste with C-y into Homebrew
 emacs v24.2.1)
Message-ID: <handler.13790.B.136157324811952.ack <at> debbugs.gnu.org>
References: <CAHXt_SVLbGEzsgH24zpwwXUa+F9ANSfuEo6tGS932FTdoQYTiA@HIDDEN>
X-Gnu-PR-Message: ack 13790
X-Gnu-PR-Package: emacs
Reply-To: 13790 <at> debbugs.gnu.org
Date: Fri, 22 Feb 2013 22:48:01 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 13790 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
13790: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D13790
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#13790: Cannot paste with C-y into Homebrew emacs v24.2.1
Resent-From: Glenn Morris <rgm@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 05 Mar 2013 20:15:01 +0000
Resent-Message-ID: <handler.13790.B13790.136251446513287 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 13790
X-GNU-PR-Package: emacs,ns
X-GNU-PR-Keywords: 
To: 13790 <at> debbugs.gnu.org
Received: via spool by 13790-submit <at> debbugs.gnu.org id=B13790.136251446513287
          (code B ref 13790); Tue, 05 Mar 2013 20:15:01 +0000
Received: (at 13790) by debbugs.gnu.org; 5 Mar 2013 20:14:25 +0000
Received: from localhost ([127.0.0.1]:32982 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UCyFi-0003SB-O7
	for submit <at> debbugs.gnu.org; Tue, 05 Mar 2013 15:14:24 -0500
Received: from fencepost.gnu.org ([208.118.235.10]:54130 ident=Debian-exim)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <rgm@HIDDEN>) id 1UCyFg-0003S2-JC
	for 13790 <at> debbugs.gnu.org; Tue, 05 Mar 2013 15:14:21 -0500
Received: from rgm by fencepost.gnu.org with local (Exim 4.71)
	(envelope-from <rgm@HIDDEN>)
	id 1UCyFK-0008Rq-1r; Tue, 05 Mar 2013 15:13:58 -0500
From: Glenn Morris <rgm@HIDDEN>
References: <CAHXt_SVLbGEzsgH24zpwwXUa+F9ANSfuEo6tGS932FTdoQYTiA@HIDDEN>
X-Spook: SP4 strategic eavesdropping encryption underground e-bomb
X-Ran: F/f:C1+!:D~3OL~`?4#E{`C`XRdA[70"fSc/OgPOM`fEo~SM7%zZ$<j]lIAwK1w9_)Q&')
X-Hue: white
X-Attribution: GM
Date: Tue, 05 Mar 2013 15:13:57 -0500
In-Reply-To: <CAHXt_SVLbGEzsgH24zpwwXUa+F9ANSfuEo6tGS932FTdoQYTiA@HIDDEN>
	(Andrew Pennebaker's message of "Fri, 22 Feb 2013 17:40:20 -0500")
Message-ID: <ahakpwqnu.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: -4.8 (----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -7.5 (-------)

Andrew Pennebaker wrote:

> I can paste into emacs using Mac OS X's Command+V shortcut, but when I try
> to paste text using the standard C-y command, Emacs says:
>
> Kill ring is empty

Anyone with Mac OS X know whether/how this is supposed to work?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#13790: Cannot paste with C-y into Homebrew emacs v24.2.1
Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= <jan.h.d@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 05 Mar 2013 21:47:01 +0000
Resent-Message-ID: <handler.13790.B13790.136251999922358 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 13790
X-GNU-PR-Package: emacs,ns
X-GNU-PR-Keywords: 
To: Glenn Morris <rgm@HIDDEN>
Cc: 13790 <at> debbugs.gnu.org
Received: via spool by 13790-submit <at> debbugs.gnu.org id=B13790.136251999922358
          (code B ref 13790); Tue, 05 Mar 2013 21:47:01 +0000
Received: (at 13790) by debbugs.gnu.org; 5 Mar 2013 21:46:39 +0000
Received: from localhost ([127.0.0.1]:33140 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UCzh1-0005oZ-8c
	for submit <at> debbugs.gnu.org; Tue, 05 Mar 2013 16:46:39 -0500
Received: from mailout.melmac.se ([62.20.26.67]:59472)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <jan.h.d@HIDDEN>) id 1UCzgz-0005oN-Db
	for 13790 <at> debbugs.gnu.org; Tue, 05 Mar 2013 16:46:38 -0500
Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80])
	by mailout.melmac.se (Postfix) with ESMTP id BA5D49627
	for <13790 <at> debbugs.gnu.org>; Tue,  5 Mar 2013 22:46:08 +0100 (CET)
Received: (qmail 27394 invoked by uid 89); 5 Mar 2013 21:46:08 -0000
Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain)
	(boel.djarv@HIDDEN@46.59.42.18)
	by mail01.melmac.se with ESMTPA; 5 Mar 2013 21:46:08 -0000
Received: from [172.20.199.13] (zeplin [172.20.199.13])
	by coolsville.localdomain (Postfix) with ESMTPSA id 7186F7FA06C;
	Tue,  5 Mar 2013 22:46:08 +0100 (CET)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Jan =?UTF-8?Q?Dj=C3=A4rv?= <jan.h.d@HIDDEN>
In-Reply-To: <ahakpwqnu.fsf@HIDDEN>
Date: Tue, 5 Mar 2013 22:46:11 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <988801E5-2282-4367-A46E-7A05A63069AD@HIDDEN>
References: <CAHXt_SVLbGEzsgH24zpwwXUa+F9ANSfuEo6tGS932FTdoQYTiA@HIDDEN>
	<ahakpwqnu.fsf@HIDDEN>
X-Mailer: Apple Mail (2.1499)
X-Spam-Score: 0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: 0.2 (/)

Hello.

Both C-y and Command+V (s-v) runs yank on OSX:

"C-y runs the command yank, which is an interactive compiled Lisp
function in `simple.el'.

It is bound to C-y, s-v, <S-insertchar>, <S-insert>, <menu-bar> <edit>
<paste>."


I do not get Kill ring is empty on 24.3.
The commands are identical.  Does Homebrew modify Emacs, or is it a =
straight build?

	Jan D.
=20
5 mar 2013 kl. 21:13 skrev Glenn Morris <rgm@HIDDEN>:

> Andrew Pennebaker wrote:
>=20
>> I can paste into emacs using Mac OS X's Command+V shortcut, but when =
I try
>> to paste text using the standard C-y command, Emacs says:
>>=20
>> Kill ring is empty
>=20
> Anyone with Mac OS X know whether/how this is supposed to work?
>=20
>=20





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#13790: Cannot paste with C-y into Homebrew emacs v24.2.1
Resent-From: Josh <josh@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 05 Mar 2013 23:21:05 +0000
Resent-Message-ID: <handler.13790.B13790.13625256632087 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 13790
X-GNU-PR-Package: emacs,ns
X-GNU-PR-Keywords: moreinfo unreproducible
To: Jan =?UTF-8?Q?Dj=C3=A4rv?= <jan.h.d@HIDDEN>
Cc: Glenn Morris <rgm@HIDDEN>, 13790 <at> debbugs.gnu.org
Received: via spool by 13790-submit <at> debbugs.gnu.org id=B13790.13625256632087
          (code B ref 13790); Tue, 05 Mar 2013 23:21:05 +0000
Received: (at 13790) by debbugs.gnu.org; 5 Mar 2013 23:21:03 +0000
Received: from localhost ([127.0.0.1]:33234 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UD1AD-0000XK-1n
	for submit <at> debbugs.gnu.org; Tue, 05 Mar 2013 18:21:03 -0500
Received: from mail-qe0-f42.google.com ([209.85.128.42]:45842)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <jlf@HIDDEN>) id 1UD1A7-0000X4-38
	for 13790 <at> debbugs.gnu.org; Tue, 05 Mar 2013 18:20:51 -0500
Received: by mail-qe0-f42.google.com with SMTP id f6so5062884qej.29
	for <13790 <at> debbugs.gnu.org>; Tue, 05 Mar 2013 15:20:19 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=google.com; s=20120113;
	h=x-received:mime-version:sender:in-reply-to:references:from:date
	:x-google-sender-auth:message-id:subject:to:cc:content-type
	:content-transfer-encoding:x-gm-message-state;
	bh=EbVt3Opr9SAUOJib4wAQ4FUfoa5EPxNfPPYF3Gj7H0s=;
	b=iCDDzC53wu/KsQiWFdYqhtfOcN8pLBYAzIteyYDGA9k7mTRDTAGmnZn2GylkWWcVu6
	Q4Jk6M6dwPqel6L5T4MOT3+03ZIyvfM1WkqDdUADCDHnqeDqv/xshy61ZdEmfy2MeevL
	9YCCUfG+YLKC6kMjIMBSFBu013M0dsiPR4tf1HMyjOX3/siksWrLgZdt1ebOn9IIOZhF
	mi+jrgVZkXt+7X+k6wxB9P45F1tXPNewY/rg528p3WO1Y7VL4Fyp9TYmqDDEMd3wpuRB
	62ZXYX+wWlxaqPgoy4EVpiUAXPO6ppKe+36UAcRKrpjxWiJizyy5IiFERtIXdjntZ4XP
	y4hw==
X-Received: by 10.49.120.225 with SMTP id lf1mr44011895qeb.14.1362525618793;
	Tue, 05 Mar 2013 15:20:18 -0800 (PST)
MIME-Version: 1.0
Received: by 10.49.39.135 with HTTP; Tue, 5 Mar 2013 15:19:48 -0800 (PST)
In-Reply-To: <988801E5-2282-4367-A46E-7A05A63069AD@HIDDEN>
References: <CAHXt_SVLbGEzsgH24zpwwXUa+F9ANSfuEo6tGS932FTdoQYTiA@HIDDEN>
	<ahakpwqnu.fsf@HIDDEN>
	<988801E5-2282-4367-A46E-7A05A63069AD@HIDDEN>
From: Josh <josh@HIDDEN>
Date: Tue, 5 Mar 2013 15:19:48 -0800
X-Google-Sender-Auth: rsx5Q4J2EqZQTbPRiwTSx-T315k
Message-ID: <CANdFEAEn28EyBV_7kw7Fdp701u=KJmHRi-S+uZaqVUVqCxt9=A@HIDDEN>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQl37Kyks7lG7LkdLMBCV9aNqDRJ+BAhLXMXQ/kwB/bh6HNXHqpjCL4Xk18KpFccjP/wk0rn
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -2.6 (--)

On Tue, Mar 5, 2013 at 1:46 PM, Jan Dj=E4rv <jan.h.d@HIDDEN> wrote:
> 5 mar 2013 kl. 21:13 skrev Glenn Morris <rgm@HIDDEN>:
>> Andrew Pennebaker wrote:
>>
>>> I can paste into emacs using Mac OS X's Command+V shortcut, but when I =
try
>>> to paste text using the standard C-y command, Emacs says:
>>>
>>> Kill ring is empty
>>
>> Anyone with Mac OS X know whether/how this is supposed to work?

I use the following to integrate the OS X clipboard into Emacs:

(setq interprogram-cut-function 'paste-to-osx
      interprogram-paste-function 'copy-from-osx)

(defun copy-from-osx ()
  (let ((coding-system-for-read 'utf-8))
    (shell-command-to-string "pbpaste")))

(defun paste-to-osx (text &optional push)
  (let ((process-connection-type nil))
    (let ((proc (start-process "pbcopy" "*Messages*" "pbcopy")))
      (set-process-sentinel proc 'ignore) ;; stifle noise in *Messages*
      (process-send-string proc text)
      (process-send-eof proc)))
  text)




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#13790: Cannot paste with C-y into Homebrew emacs v24.2.1
Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= <jan.h.d@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 06 Mar 2013 09:36:01 +0000
Resent-Message-ID: <handler.13790.B13790.136256250432518 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 13790
X-GNU-PR-Package: emacs,ns
X-GNU-PR-Keywords: moreinfo unreproducible
To: Josh <josh@HIDDEN>
Cc: Glenn Morris <rgm@HIDDEN>, "13790 <at> debbugs.gnu.org" <13790 <at> debbugs.gnu.org>
Received: via spool by 13790-submit <at> debbugs.gnu.org id=B13790.136256250432518
          (code B ref 13790); Wed, 06 Mar 2013 09:36:01 +0000
Received: (at 13790) by debbugs.gnu.org; 6 Mar 2013 09:35:04 +0000
Received: from localhost ([127.0.0.1]:33660 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UDAkZ-0008SR-Vg
	for submit <at> debbugs.gnu.org; Wed, 06 Mar 2013 04:35:04 -0500
Received: from mailout.melmac.se ([62.20.26.67]:54396)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <jan.h.d@HIDDEN>) id 1UDAkX-0008Rv-2D
	for 13790 <at> debbugs.gnu.org; Wed, 06 Mar 2013 04:35:02 -0500
Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80])
	by mailout.melmac.se (Postfix) with ESMTP id C073CC2F9
	for <13790 <at> debbugs.gnu.org>; Wed,  6 Mar 2013 10:34:28 +0100 (CET)
Received: (qmail 27935 invoked by uid 89); 6 Mar 2013 09:34:28 -0000
Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain)
	(boel.djarv@HIDDEN@46.59.42.18)
	by mail01.melmac.se with ESMTPA; 6 Mar 2013 09:34:28 -0000
Received: from [172.20.199.240] (unknown [172.20.199.240])
	by coolsville.localdomain (Postfix) with ESMTPSA id 548977FA06C;
	Wed,  6 Mar 2013 10:34:28 +0100 (CET)
References: <CAHXt_SVLbGEzsgH24zpwwXUa+F9ANSfuEo6tGS932FTdoQYTiA@HIDDEN>
	<ahakpwqnu.fsf@HIDDEN>
	<988801E5-2282-4367-A46E-7A05A63069AD@HIDDEN>
	<CANdFEAEn28EyBV_7kw7Fdp701u=KJmHRi-S+uZaqVUVqCxt9=A@HIDDEN>
Mime-Version: 1.0 (1.0)
In-Reply-To: <CANdFEAEn28EyBV_7kw7Fdp701u=KJmHRi-S+uZaqVUVqCxt9=A@HIDDEN>
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable
Message-Id: <1790161F-1C74-43D3-AFEE-40EAF0B2AFBB@HIDDEN>
X-Mailer: iPhone Mail (10B146)
From: Jan =?UTF-8?Q?Dj=C3=A4rv?= <jan.h.d@HIDDEN>
Date: Wed, 6 Mar 2013 10:34:26 +0100
X-Spam-Score: 0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -1.2 (-)

Hello.=20

I don't see what you gain by doing this compared to the builtin integration.=
=20
If you remove your code, what does not work wrt copy/paste?

    Jan D.=20

6 mar 2013 kl. 00:19 skrev Josh <josh@HIDDEN>:

> On Tue, Mar 5, 2013 at 1:46 PM, Jan Dj=C3=A4rv <jan.h.d@HIDDEN> wrote:=

>> 5 mar 2013 kl. 21:13 skrev Glenn Morris <rgm@HIDDEN>:
>>> Andrew Pennebaker wrote:
>>>=20
>>>> I can paste into emacs using Mac OS X's Command+V shortcut, but when I t=
ry
>>>> to paste text using the standard C-y command, Emacs says:
>>>>=20
>>>> Kill ring is empty
>>>=20
>>> Anyone with Mac OS X know whether/how this is supposed to work?
>=20
> I use the following to integrate the OS X clipboard into Emacs:
>=20
> (setq interprogram-cut-function 'paste-to-osx
>      interprogram-paste-function 'copy-from-osx)
>=20
> (defun copy-from-osx ()
>  (let ((coding-system-for-read 'utf-8))
>    (shell-command-to-string "pbpaste")))
>=20
> (defun paste-to-osx (text &optional push)
>  (let ((process-connection-type nil))
>    (let ((proc (start-process "pbcopy" "*Messages*" "pbcopy")))
>      (set-process-sentinel proc 'ignore) ;; stifle noise in *Messages*
>      (process-send-string proc text)
>      (process-send-eof proc)))
>  text)




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#13790: Cannot paste with C-y into Homebrew emacs v24.2.1
Resent-From: Josh <josh@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 06 Mar 2013 15:56:02 +0000
Resent-Message-ID: <handler.13790.B13790.13625853536196 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 13790
X-GNU-PR-Package: emacs,ns
X-GNU-PR-Keywords: moreinfo unreproducible
To: Jan =?UTF-8?Q?Dj=C3=A4rv?= <jan.h.d@HIDDEN>
Cc: Glenn Morris <rgm@HIDDEN>, "13790 <at> debbugs.gnu.org" <13790 <at> debbugs.gnu.org>
Received: via spool by 13790-submit <at> debbugs.gnu.org id=B13790.13625853536196
          (code B ref 13790); Wed, 06 Mar 2013 15:56:02 +0000
Received: (at 13790) by debbugs.gnu.org; 6 Mar 2013 15:55:53 +0000
Received: from localhost ([127.0.0.1]:34461 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UDGh6-0001bs-67
	for submit <at> debbugs.gnu.org; Wed, 06 Mar 2013 10:55:52 -0500
Received: from mail-qe0-f46.google.com ([209.85.128.46]:38891)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <jlf@HIDDEN>) id 1UDGh3-0001bY-C1
	for 13790 <at> debbugs.gnu.org; Wed, 06 Mar 2013 10:55:50 -0500
Received: by mail-qe0-f46.google.com with SMTP id a11so5493042qen.33
	for <13790 <at> debbugs.gnu.org>; Wed, 06 Mar 2013 07:55:17 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=google.com; s=20120113;
	h=x-received:mime-version:sender:in-reply-to:references:from:date
	:x-google-sender-auth:message-id:subject:to:cc:content-type
	:content-transfer-encoding:x-gm-message-state;
	bh=UwvIOzlB59eFtidQAsQr7F7l1KAMBCtMeVDxRrcKBSE=;
	b=cx4IIFxXAb5JxPGelErAf90IU+FyYO+gCFpncgnACzBD6zqEJeKnB9pCi0SzFveLjV
	6tEuOm+5W4fj6YzRRCFA9bqNb6UxnMwq3PWqyq10V/HbPiVDKsUNqBNzzEPT9lHkrJdy
	NCUEda8VM4mIOON+olUW9nXhClmILAJ+mCDCNVqaq8LwrFH4qJhdP0bEhExAWGy1gFI4
	nypa0MhOG2cYROL62Gn/IszUzVwE8Mib1pCJTIWqymrxd9Q16Rn5ai4fQUzjzKDchyrj
	J3B+aUPkbzGHQq6NlQc+HxJ3trPk3pP+Sy3m7rknNZhdtS99LLHXhwf0KWGEdz1wqxCN
	Zjxw==
X-Received: by 10.49.87.40 with SMTP id u8mr41832607qez.62.1362585317204; Wed,
	06 Mar 2013 07:55:17 -0800 (PST)
MIME-Version: 1.0
Received: by 10.49.17.231 with HTTP; Wed, 6 Mar 2013 07:54:47 -0800 (PST)
In-Reply-To: <1790161F-1C74-43D3-AFEE-40EAF0B2AFBB@HIDDEN>
References: <CAHXt_SVLbGEzsgH24zpwwXUa+F9ANSfuEo6tGS932FTdoQYTiA@HIDDEN>
	<ahakpwqnu.fsf@HIDDEN>
	<988801E5-2282-4367-A46E-7A05A63069AD@HIDDEN>
	<CANdFEAEn28EyBV_7kw7Fdp701u=KJmHRi-S+uZaqVUVqCxt9=A@HIDDEN>
	<1790161F-1C74-43D3-AFEE-40EAF0B2AFBB@HIDDEN>
From: Josh <josh@HIDDEN>
Date: Wed, 6 Mar 2013 07:54:47 -0800
X-Google-Sender-Auth: R9KP-lPIW5zNEQkALZDrSNTiRKc
Message-ID: <CANdFEAEYZX5jBL9VLnQmWGefG-A1uNMK9CC9dVq-Wc3R=OWpLw@HIDDEN>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQkjpj7UsICoy+74jDuYNIqq86EuMyGPu8u4qA55MgluIuWhba6R20hxvAw1wQFnSkHseOqt
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -2.6 (--)

On Wed, Mar 6, 2013 at 1:34 AM, Jan Dj=E4rv <jan.h.d@HIDDEN> wrote:
> Hello.
>
> I don't see what you gain by doing this compared to the builtin integrati=
on.
> If you remove your code, what does not work wrt copy/paste?
>
>     Jan D.

-nw sessions.

$ echo 'some content on the OS X clipboard' | pbcopy
$ emacs --batch --eval '(progn (yank) (send-string-to-terminal (format
"yanked text: %s" (buffer-substring (point-min) (point-max)))))'
Mark set
Kill ring is empty
$ # `~/.emacs.d/set-up-osx-clipboard.el' is the snippet I posted previously
$ emacs --batch -l ~/.emacs.d/set-up-osx-clipboard.el --eval '(progn
(yank) (send-string-to-terminal (format "yanked text: %s"
(buffer-substring (point-min) (point-max)))))' 2>/dev/null
yanked text: some content on the OS X clipboard




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#13790: Cannot paste with C-y into Homebrew emacs v24.2.1
Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= <jan.h.d@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 06 Mar 2013 18:56:02 +0000
Resent-Message-ID: <handler.13790.B13790.136259611822965 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 13790
X-GNU-PR-Package: emacs,ns
X-GNU-PR-Keywords: moreinfo unreproducible
To: Josh <josh@HIDDEN>
Cc: Glenn Morris <rgm@HIDDEN>, "13790 <at> debbugs.gnu.org" <13790 <at> debbugs.gnu.org>
Received: via spool by 13790-submit <at> debbugs.gnu.org id=B13790.136259611822965
          (code B ref 13790); Wed, 06 Mar 2013 18:56:02 +0000
Received: (at 13790) by debbugs.gnu.org; 6 Mar 2013 18:55:18 +0000
Received: from localhost ([127.0.0.1]:34714 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UDJUj-0005yK-7T
	for submit <at> debbugs.gnu.org; Wed, 06 Mar 2013 13:55:18 -0500
Received: from mailout.melmac.se ([62.20.26.67]:56584)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <jan.h.d@HIDDEN>) id 1UDJUd-0005xz-36
	for 13790 <at> debbugs.gnu.org; Wed, 06 Mar 2013 13:55:15 -0500
Received: from mail01.melmac.se (mail01.melmac.se [62.20.26.80])
	by mailout.melmac.se (Postfix) with ESMTP id E0DAE92D4
	for <13790 <at> debbugs.gnu.org>; Wed,  6 Mar 2013 19:54:36 +0100 (CET)
Received: (qmail 2522 invoked by uid 89); 6 Mar 2013 18:54:36 -0000
Received: from h-46-59-42-18.na.cust.bahnhof.se (HELO coolsville.localdomain)
	(boel.djarv@HIDDEN@46.59.42.18)
	by mail01.melmac.se with ESMTPA; 6 Mar 2013 18:54:36 -0000
Received: from [172.20.199.13] (zeplin [172.20.199.13])
	by coolsville.localdomain (Postfix) with ESMTPSA id 94AE37FA06C;
	Wed,  6 Mar 2013 19:54:36 +0100 (CET)
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Jan =?UTF-8?Q?Dj=C3=A4rv?= <jan.h.d@HIDDEN>
In-Reply-To: <CANdFEAEYZX5jBL9VLnQmWGefG-A1uNMK9CC9dVq-Wc3R=OWpLw@HIDDEN>
Date: Wed, 6 Mar 2013 19:54:40 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <DBE431CE-0482-4167-A23B-CDB776453179@HIDDEN>
References: <CAHXt_SVLbGEzsgH24zpwwXUa+F9ANSfuEo6tGS932FTdoQYTiA@HIDDEN>
	<ahakpwqnu.fsf@HIDDEN>
	<988801E5-2282-4367-A46E-7A05A63069AD@HIDDEN>
	<CANdFEAEn28EyBV_7kw7Fdp701u=KJmHRi-S+uZaqVUVqCxt9=A@HIDDEN>
	<1790161F-1C74-43D3-AFEE-40EAF0B2AFBB@HIDDEN>
	<CANdFEAEYZX5jBL9VLnQmWGefG-A1uNMK9CC9dVq-Wc3R=OWpLw@HIDDEN>
X-Mailer: Apple Mail (2.1499)
X-Spam-Score: 0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -1.2 (-)

Hello.

6 mar 2013 kl. 16:54 skrev Josh <josh@HIDDEN>:

> On Wed, Mar 6, 2013 at 1:34 AM, Jan Dj=E4rv <jan.h.d@HIDDEN> =
wrote:
>> Hello.
>>=20
>> I don't see what you gain by doing this compared to the builtin =
integration.
>> If you remove your code, what does not work wrt copy/paste?
>>=20
>>    Jan D.
>=20
> -nw sessions.
>=20

Yank from the clipboard is not available in a -nw session.
This is in line with how it works with -nw and X11.
Not sure about w32 though.

There is really no reason to make this work for -nw sessions as you can =
always use Command-V.
This is not a bug, just a limitation.

	Jan D.

> $ echo 'some content on the OS X clipboard' | pbcopy
> $ emacs --batch --eval '(progn (yank) (send-string-to-terminal (format
> "yanked text: %s" (buffer-substring (point-min) (point-max)))))'
> Mark set
> Kill ring is empty
> $ # `~/.emacs.d/set-up-osx-clipboard.el' is the snippet I posted =
previously
> $ emacs --batch -l ~/.emacs.d/set-up-osx-clipboard.el --eval '(progn
> (yank) (send-string-to-terminal (format "yanked text: %s"
> (buffer-substring (point-min) (point-max)))))' 2>/dev/null
> yanked text: some content on the OS X clipboard





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#13790: Cannot paste with C-y into Homebrew emacs v24.2.1
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 06 Mar 2013 21:04:02 +0000
Resent-Message-ID: <handler.13790.B13790.13626037832202 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 13790
X-GNU-PR-Package: emacs,ns
X-GNU-PR-Keywords: moreinfo unreproducible
To: Jan =?UTF-8?Q?Dj=C3=A4rv?= <jan.h.d@HIDDEN>
Cc: josh@HIDDEN, 13790 <at> debbugs.gnu.org
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Received: via spool by 13790-submit <at> debbugs.gnu.org id=B13790.13626037832202
          (code B ref 13790); Wed, 06 Mar 2013 21:04:02 +0000
Received: (at 13790) by debbugs.gnu.org; 6 Mar 2013 21:03:03 +0000
Received: from localhost ([127.0.0.1]:34830 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UDLUJ-0000Z7-6b
	for submit <at> debbugs.gnu.org; Wed, 06 Mar 2013 16:03:03 -0500
Received: from mtaout23.012.net.il ([80.179.55.175]:61378)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <eliz@HIDDEN>) id 1UDLUC-0000Yp-Dg
	for 13790 <at> debbugs.gnu.org; Wed, 06 Mar 2013 16:02:58 -0500
Received: from conversion-daemon.a-mtaout23.012.net.il by
	a-mtaout23.012.net.il (HyperSendmail v2007.08) id
	<0MJ900400BISJV00@HIDDEN> for
	13790 <at> debbugs.gnu.org; Wed, 06 Mar 2013 23:02:05 +0200 (IST)
Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il
	(HyperSendmail v2007.08) with ESMTPA id
	<0MJ9004C8BRGA2C0@HIDDEN>;
	Wed, 06 Mar 2013 23:02:05 +0200 (IST)
Date: Wed, 06 Mar 2013 23:02:04 +0200
From: Eli Zaretskii <eliz@HIDDEN>
In-reply-to: <DBE431CE-0482-4167-A23B-CDB776453179@HIDDEN>
Message-id: <83obew1bub.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: QUOTED-PRINTABLE
X-012-Sender: halo1@HIDDEN
References: <CAHXt_SVLbGEzsgH24zpwwXUa+F9ANSfuEo6tGS932FTdoQYTiA@HIDDEN>
	<ahakpwqnu.fsf@HIDDEN>
	<988801E5-2282-4367-A46E-7A05A63069AD@HIDDEN>
	<CANdFEAEn28EyBV_7kw7Fdp701u=KJmHRi-S+uZaqVUVqCxt9=A@HIDDEN>
	<1790161F-1C74-43D3-AFEE-40EAF0B2AFBB@HIDDEN>
	<CANdFEAEYZX5jBL9VLnQmWGefG-A1uNMK9CC9dVq-Wc3R=OWpLw@HIDDEN>
	<DBE431CE-0482-4167-A23B-CDB776453179@HIDDEN>
X-Spam-Score: 0.2 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -1.2 (-)

> From: Jan Dj=E4rv <jan.h.d@HIDDEN>
> Date: Wed, 6 Mar 2013 19:54:40 +0100
> Cc: "13790 <at> debbugs.gnu.org" <13790 <at> debbugs.gnu.org>
>=20
> Yank from the clipboard is not available in a -nw session.
> This is in line with how it works with -nw and X11.

Right.

> Not sure about w32 though.

You can paste on w32, but it looks to Emacs as if the characters were
typed on the keyboard.





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#13790: Cannot paste with C-y into Homebrew emacs v24.2.1
Resent-From: Josh <josh@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 06 Mar 2013 21:51:02 +0000
Resent-Message-ID: <handler.13790.B13790.13626066566637 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 13790
X-GNU-PR-Package: emacs,ns
X-GNU-PR-Keywords: moreinfo unreproducible
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 13790 <at> debbugs.gnu.org, Jan =?UTF-8?Q?Dj=C3=A4rv?= <jan.h.d@HIDDEN>
Received: via spool by 13790-submit <at> debbugs.gnu.org id=B13790.13626066566637
          (code B ref 13790); Wed, 06 Mar 2013 21:51:02 +0000
Received: (at 13790) by debbugs.gnu.org; 6 Mar 2013 21:50:56 +0000
Received: from localhost ([127.0.0.1]:34860 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UDMEe-0001iw-Sn
	for submit <at> debbugs.gnu.org; Wed, 06 Mar 2013 16:50:55 -0500
Received: from mail-qe0-f42.google.com ([209.85.128.42]:58089)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <jlf@HIDDEN>) id 1UDMEc-0001ij-Cz
	for 13790 <at> debbugs.gnu.org; Wed, 06 Mar 2013 16:50:51 -0500
Received: by mail-qe0-f42.google.com with SMTP id f6so5778233qej.1
	for <13790 <at> debbugs.gnu.org>; Wed, 06 Mar 2013 13:50:17 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=google.com; s=20120113;
	h=x-received:mime-version:sender:in-reply-to:references:from:date
	:x-google-sender-auth:message-id:subject:to:cc:content-type
	:content-transfer-encoding:x-gm-message-state;
	bh=3YaE2dA0ILs/aBLjYi3GyjyXkFeuYzyvlZBh903kDB0=;
	b=CXze7RPD5v28+NFSy3NGK2boRZer8z5xjkqHixgNKy3l5hIJoTb2FckIS2Z58FWdLx
	TR4f0z5GvVOsIjL6F35X7L7phtBEy6JPXzRO4XIy1t22eC55jqzSm6heB6xv79DzLJ6q
	th/YqwalRRP685VbLksaBCL34i6vgwZkzYfwO7b0c7CkNOZkATF5KVPMGhIYrwU3a1rP
	qXyzp/n0o9Ag8C1hg7/mF4o95OCT9zbKSyZ3Vyg3yr4Mg2eDrlPlf0NNK1MsKQSo5SXD
	gj06i47JtjKvhsBdFDZap5SZPKMkDSVLmxkDUZUwTQHUILIeEF8A0AITVrr5KrLCqotY
	I4lA==
X-Received: by 10.224.206.137 with SMTP id fu9mr47786915qab.91.1362606616862; 
	Wed, 06 Mar 2013 13:50:16 -0800 (PST)
MIME-Version: 1.0
Received: by 10.49.17.231 with HTTP; Wed, 6 Mar 2013 13:49:46 -0800 (PST)
In-Reply-To: <83obew1bub.fsf@HIDDEN>
References: <CAHXt_SVLbGEzsgH24zpwwXUa+F9ANSfuEo6tGS932FTdoQYTiA@HIDDEN>
	<ahakpwqnu.fsf@HIDDEN>
	<988801E5-2282-4367-A46E-7A05A63069AD@HIDDEN>
	<CANdFEAEn28EyBV_7kw7Fdp701u=KJmHRi-S+uZaqVUVqCxt9=A@HIDDEN>
	<1790161F-1C74-43D3-AFEE-40EAF0B2AFBB@HIDDEN>
	<CANdFEAEYZX5jBL9VLnQmWGefG-A1uNMK9CC9dVq-Wc3R=OWpLw@HIDDEN>
	<DBE431CE-0482-4167-A23B-CDB776453179@HIDDEN>
	<83obew1bub.fsf@HIDDEN>
From: Josh <josh@HIDDEN>
Date: Wed, 6 Mar 2013 13:49:46 -0800
X-Google-Sender-Auth: Q7stOpc2Fpp_oYfCnEXsN-TR6Ok
Message-ID: <CANdFEAGE8gEoRn_V5CxsUtau1kPNWbPZjbuYnKVdtirKSdcSJw@HIDDEN>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQlBthP8M8XUo5DZGdSoS7Z9s6NTBAaAPlOQ/y3l6kgEF+nc7LSmXEFFad/1MFY+k924RQ0k
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -2.6 (--)

On Wed, Mar 6, 2013 at 1:02 PM, Eli Zaretskii <eliz@HIDDEN> wrote:
>> From: Jan Dj=E4rv <jan.h.d@HIDDEN>
>> Yank from the clipboard is not available in a -nw session.
>> This is in line with how it works with -nw and X11.
>
> Right.

By default, yes, but this is the precise reason
interprogram-cut-function and interprogram-paste-function exist.
pbcopy and pbpaste are the OS X equivalents of xclip, and the snippet
I pasted provides an interface to them like the interface to xclip
provided by http://www.emacswiki.org/emacs/xclip.el .  Many users are
unaware of the existence of these variables, which results in
confusion and the filing of bugs such as this.  Users would be more
likely to discover them if the error messages complaining about an
empty kill ring in -nw sessions were to mention their existence.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#13790: Cannot paste with C-y into Homebrew emacs v24.2.1
Resent-From: Stefan Monnier <monnier@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 09 Mar 2013 01:44:01 +0000
Resent-Message-ID: <handler.13790.B13790.13627934243637 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 13790
X-GNU-PR-Package: emacs,ns
X-GNU-PR-Keywords: moreinfo unreproducible
To: Josh <josh@HIDDEN>
Cc: Eli Zaretskii <eliz@HIDDEN>, 13790 <at> debbugs.gnu.org
Received: via spool by 13790-submit <at> debbugs.gnu.org id=B13790.13627934243637
          (code B ref 13790); Sat, 09 Mar 2013 01:44:01 +0000
Received: (at 13790) by debbugs.gnu.org; 9 Mar 2013 01:43:44 +0000
Received: from localhost ([127.0.0.1]:40339 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UE8p6-0000wb-2f
	for submit <at> debbugs.gnu.org; Fri, 08 Mar 2013 20:43:44 -0500
Received: from ironport2-out.teksavvy.com ([206.248.154.182]:13608)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <monnier@HIDDEN>) id 1UE8p5-0000wQ-1p
	for 13790 <at> debbugs.gnu.org; Fri, 08 Mar 2013 20:43:43 -0500
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av4EABK/CFFsoXZ8/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kHIgCBgzBIZEKA4hhnBmBXoMV
X-IPAS-Result: Av4EABK/CFFsoXZ8/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kHIgCBgzBIZEKA4hhnBmBXoMV
X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; 
   d="scan'208";a="3379605"
Received: from 108-161-118-124.dsl.teksavvy.com (HELO fmsmemgm.homelinux.net)
	([108.161.118.124])
	by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA;
	08 Mar 2013 20:42:55 -0500
Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848)
	id 70CB1AE3FA; Fri,  8 Mar 2013 20:42:56 -0500 (EST)
From: Stefan Monnier <monnier@HIDDEN>
Message-ID: <jwvzjyd73ig.fsf-monnier+emacs@HIDDEN>
References: <CAHXt_SVLbGEzsgH24zpwwXUa+F9ANSfuEo6tGS932FTdoQYTiA@HIDDEN>
	<ahakpwqnu.fsf@HIDDEN>
	<988801E5-2282-4367-A46E-7A05A63069AD@HIDDEN>
	<CANdFEAEn28EyBV_7kw7Fdp701u=KJmHRi-S+uZaqVUVqCxt9=A@HIDDEN>
	<1790161F-1C74-43D3-AFEE-40EAF0B2AFBB@HIDDEN>
	<CANdFEAEYZX5jBL9VLnQmWGefG-A1uNMK9CC9dVq-Wc3R=OWpLw@HIDDEN>
	<DBE431CE-0482-4167-A23B-CDB776453179@HIDDEN>
	<83obew1bub.fsf@HIDDEN>
	<CANdFEAGE8gEoRn_V5CxsUtau1kPNWbPZjbuYnKVdtirKSdcSJw@HIDDEN>
Date: Fri, 08 Mar 2013 20:42:56 -0500
In-Reply-To: <CANdFEAGE8gEoRn_V5CxsUtau1kPNWbPZjbuYnKVdtirKSdcSJw@HIDDEN>
	(josh@HIDDEN's message of "Wed, 6 Mar 2013 13:49:46 -0800")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -1.9 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -1.9 (-)

> By default, yes, but this is the precise reason
> interprogram-cut-function and interprogram-paste-function exist.
> pbcopy and pbpaste are the OS X equivalents of xclip, and the snippet
> I pasted provides an interface to them like the interface to xclip
> provided by http://www.emacswiki.org/emacs/xclip.el .  Many users are
> unaware of the existence of these variables, which results in
> confusion and the filing of bugs such as this.  Users would be more
> likely to discover them if the error messages complaining about an
> empty kill ring in -nw sessions were to mention their existence.

Indeed.  Maybe your patch should be merged with xclip.el?


        Stefan




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#13790: Cannot paste with C-y into Homebrew emacs v24.2.1
Resent-From: Josh <josh@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 13 Mar 2013 16:20:02 +0000
Resent-Message-ID: <handler.13790.B13790.136319160110308 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 13790
X-GNU-PR-Package: emacs,ns
X-GNU-PR-Keywords: moreinfo unreproducible
To: Stefan Monnier <monnier@HIDDEN>
Cc: Eli Zaretskii <eliz@HIDDEN>, 13790 <at> debbugs.gnu.org
Received: via spool by 13790-submit <at> debbugs.gnu.org id=B13790.136319160110308
          (code B ref 13790); Wed, 13 Mar 2013 16:20:02 +0000
Received: (at 13790) by debbugs.gnu.org; 13 Mar 2013 16:20:01 +0000
Received: from localhost ([127.0.0.1]:51617 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UFoPC-0002g6-NW
	for submit <at> debbugs.gnu.org; Wed, 13 Mar 2013 12:19:59 -0400
Received: from mail-qe0-f49.google.com ([209.85.128.49]:43362)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <jlf@HIDDEN>) id 1UFoP9-0002fs-3i
	for 13790 <at> debbugs.gnu.org; Wed, 13 Mar 2013 12:19:52 -0400
Received: by mail-qe0-f49.google.com with SMTP id 1so698514qec.8
	for <13790 <at> debbugs.gnu.org>; Wed, 13 Mar 2013 09:18:39 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=google.com; s=20120113;
	h=x-received:mime-version:sender:in-reply-to:references:from:date
	:x-google-sender-auth:message-id:subject:to:cc:content-type
	:x-gm-message-state;
	bh=xVoPiwLOAph+jGgy/YHyP8cqUeTf3x/PHzMvaFjAurQ=;
	b=S3YEvUZznAcsubtfeuf9CJOwfhcYObnDy0c/1A9BqINlknTsto08XtXwi76jp9DfqQ
	RD6+89KZbmXdHiRl8qwai7DQNRKFjAHov1YqsvCGOR+Tt7CToPJnuHv4Rhb2ZBiisBkX
	KzD/5IDwo+U4CMs0xVhs+qYfuA25jCUx3oFFHdVA5DscK43g/mFwyVV/kRaghY3t5nJX
	1EIFEnlx0m/s1yCVJ6ls4z5Yx8VdIK/KGGWN3bIRPLJPu5MGsotAEvegqRX62smhyB4i
	tYc1KP6iSeLdNjfHpHedrDCefz1kywV01mr8XPSCj4DDkWdFmqfOIEnbyRcsCj1AD5+g
	Cm9g==
X-Received: by 10.229.77.35 with SMTP id e35mr2817127qck.80.1363191518821;
	Wed, 13 Mar 2013 09:18:38 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.49.94.209 with HTTP; Wed, 13 Mar 2013 09:18:08 -0700 (PDT)
In-Reply-To: <jwvzjyd73ig.fsf-monnier+emacs@HIDDEN>
References: <CAHXt_SVLbGEzsgH24zpwwXUa+F9ANSfuEo6tGS932FTdoQYTiA@HIDDEN>
	<ahakpwqnu.fsf@HIDDEN>
	<988801E5-2282-4367-A46E-7A05A63069AD@HIDDEN>
	<CANdFEAEn28EyBV_7kw7Fdp701u=KJmHRi-S+uZaqVUVqCxt9=A@HIDDEN>
	<1790161F-1C74-43D3-AFEE-40EAF0B2AFBB@HIDDEN>
	<CANdFEAEYZX5jBL9VLnQmWGefG-A1uNMK9CC9dVq-Wc3R=OWpLw@HIDDEN>
	<DBE431CE-0482-4167-A23B-CDB776453179@HIDDEN>
	<83obew1bub.fsf@HIDDEN>
	<CANdFEAGE8gEoRn_V5CxsUtau1kPNWbPZjbuYnKVdtirKSdcSJw@HIDDEN>
	<jwvzjyd73ig.fsf-monnier+emacs@HIDDEN>
From: Josh <josh@HIDDEN>
Date: Wed, 13 Mar 2013 09:18:08 -0700
X-Google-Sender-Auth: bDc6hyHJMR8Btz4QHG6hmK9qUCg
Message-ID: <CANdFEAEUB9bwYWSAMh9Db9F4BQN1HPrnNzEqYuNHi08vfPEFTg@HIDDEN>
Content-Type: text/plain; charset=ISO-8859-1
X-Gm-Message-State: ALoCoQlRKHwjTP/dgbo8wawx66/tXwiPzH/rHZ/g1nplixLOjf3jNfitVQA5GA8xGPpSSG5fI5M0
X-Spam-Score: 0.1 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -2.6 (--)

On Fri, Mar 8, 2013 at 5:42 PM, Stefan Monnier <monnier@HIDDEN> wrote:
>> By default, yes, but this is the precise reason
>> interprogram-cut-function and interprogram-paste-function exist.
>> pbcopy and pbpaste are the OS X equivalents of xclip, and the snippet
>> I pasted provides an interface to them like the interface to xclip
>> provided by http://www.emacswiki.org/emacs/xclip.el .  Many users are
>> unaware of the existence of these variables, which results in
>> confusion and the filing of bugs such as this.  Users would be more
>> likely to discover them if the error messages complaining about an
>> empty kill ring in -nw sessions were to mention their existence.
>
> Indeed.  Maybe your patch should be merged with xclip.el?

I'd be happy to contribute it, though it's merely a slight
modification of a snippet I found on the web years ago, most probably
http://web.archive.org/web/20071128072321/http://blog.lathi.net/articles/2007/11/07/sharing-the-mac-clipboard-with-emacs
.  Is this code trivial enough that we needn't be concerned about
copyright issues?

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.  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.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#13790: Cannot paste with C-y into Homebrew emacs v24.2.1
Resent-From: Stefan Monnier <monnier@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 13 Mar 2013 18:06:01 +0000
Resent-Message-ID: <handler.13790.B13790.136319792223226 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 13790
X-GNU-PR-Package: emacs,ns
X-GNU-PR-Keywords: moreinfo unreproducible
To: Josh <josh@HIDDEN>
Cc: Eli Zaretskii <eliz@HIDDEN>, 13790 <at> debbugs.gnu.org
Received: via spool by 13790-submit <at> debbugs.gnu.org id=B13790.136319792223226
          (code B ref 13790); Wed, 13 Mar 2013 18:06:01 +0000
Received: (at 13790) by debbugs.gnu.org; 13 Mar 2013 18:05:22 +0000
Received: from localhost ([127.0.0.1]:51739 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UFq3F-00062X-K4
	for submit <at> debbugs.gnu.org; Wed, 13 Mar 2013 14:05:21 -0400
Received: from ironport2-out.teksavvy.com ([206.248.154.182]:16986)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <monnier@HIDDEN>) id 1UFq3E-00062N-IE
	for 13790 <at> 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"
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
Received: by pastel.home (Postfix, from userid 20848)
	id BC78D67A3B; Wed, 13 Mar 2013 14:04:07 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
Message-ID: <jwvli9r18x6.fsf-monnier+emacs@HIDDEN>
References: <CAHXt_SVLbGEzsgH24zpwwXUa+F9ANSfuEo6tGS932FTdoQYTiA@HIDDEN>
	<ahakpwqnu.fsf@HIDDEN>
	<988801E5-2282-4367-A46E-7A05A63069AD@HIDDEN>
	<CANdFEAEn28EyBV_7kw7Fdp701u=KJmHRi-S+uZaqVUVqCxt9=A@HIDDEN>
	<1790161F-1C74-43D3-AFEE-40EAF0B2AFBB@HIDDEN>
	<CANdFEAEYZX5jBL9VLnQmWGefG-A1uNMK9CC9dVq-Wc3R=OWpLw@HIDDEN>
	<DBE431CE-0482-4167-A23B-CDB776453179@HIDDEN>
	<83obew1bub.fsf@HIDDEN>
	<CANdFEAGE8gEoRn_V5CxsUtau1kPNWbPZjbuYnKVdtirKSdcSJw@HIDDEN>
	<jwvzjyd73ig.fsf-monnier+emacs@HIDDEN>
	<CANdFEAEUB9bwYWSAMh9Db9F4BQN1HPrnNzEqYuNHi08vfPEFTg@HIDDEN>
Date: Wed, 13 Mar 2013 14:04:07 -0400
In-Reply-To: <CANdFEAEUB9bwYWSAMh9Db9F4BQN1HPrnNzEqYuNHi08vfPEFTg@HIDDEN>
	(josh@HIDDEN'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)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -1.9 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -1.9 (-)

> 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




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#13790: Cannot paste with C-y into Homebrew emacs v24.2.1
Resent-From: Josh <josh@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 03 Apr 2013 17:11:02 +0000
Resent-Message-ID: <handler.13790.B13790.136500906125783 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 13790
X-GNU-PR-Package: emacs,ns
X-GNU-PR-Keywords: moreinfo unreproducible
To: Stefan Monnier <monnier@HIDDEN>
Cc: Eli Zaretskii <eliz@HIDDEN>, 13790 <at> debbugs.gnu.org
Received: via spool by 13790-submit <at> debbugs.gnu.org id=B13790.136500906125783
          (code B ref 13790); Wed, 03 Apr 2013 17:11:02 +0000
Received: (at 13790) by debbugs.gnu.org; 3 Apr 2013 17:11:01 +0000
Received: from localhost ([127.0.0.1]:60306 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UNRDA-0006ho-Nn
	for submit <at> debbugs.gnu.org; Wed, 03 Apr 2013 13:11:01 -0400
Received: from mail-we0-f180.google.com ([74.125.82.180]:64934)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <jlf@HIDDEN>) id 1UNRD6-0006hc-KK
	for 13790 <at> debbugs.gnu.org; Wed, 03 Apr 2013 13:10:58 -0400
Received: by mail-we0-f180.google.com with SMTP id r5so1334274wey.11
	for <13790 <at> debbugs.gnu.org>; Wed, 03 Apr 2013 10:07:50 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=google.com; s=20120113;
	h=x-received:mime-version:sender:in-reply-to:references:from:date
	:x-google-sender-auth:message-id:subject:to:cc:content-type
	:x-gm-message-state;
	bh=sFVjy8h0wYBjIcNSfCIgym46qkEtC9SKW8LJJw0/gsg=;
	b=Q66xrVwCD6YZWn5P1JxqfAirHmCQjaz662tYPhhJz8b78AzHk1yUhO6Ru2E5+JwBgV
	LaDQFc85b06eP/i8m/z69U5LVxu5iE31rPxvEswDZnF9kKg/fGcdaq/K7O7BGsINlCnn
	DW4ft7AATNOlp4b4958mA+f8AI4QksXrU8iVXVGGJTD3hfzZCG1lB8qkpxGF63ZkLt7z
	xhME91gE8wOuSF6aLIhLOTv5suk9ku6yMuoV8R1yiymQbI//f0C8wonWPBsKFkad46ET
	KZnbIT35kxcCV8s8zDZfplJT5a52ysh/JU5f7clQuDyypuvwO8kemM/vdxJlwbn+hHOr
	awCw==
X-Received: by 10.180.98.198 with SMTP id ek6mr4060624wib.7.1365008870502;
	Wed, 03 Apr 2013 10:07:50 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.194.42.137 with HTTP; Wed, 3 Apr 2013 10:07:20 -0700 (PDT)
In-Reply-To: <jwvli9r18x6.fsf-monnier+emacs@HIDDEN>
References: <CAHXt_SVLbGEzsgH24zpwwXUa+F9ANSfuEo6tGS932FTdoQYTiA@HIDDEN>
	<ahakpwqnu.fsf@HIDDEN>
	<988801E5-2282-4367-A46E-7A05A63069AD@HIDDEN>
	<CANdFEAEn28EyBV_7kw7Fdp701u=KJmHRi-S+uZaqVUVqCxt9=A@HIDDEN>
	<1790161F-1C74-43D3-AFEE-40EAF0B2AFBB@HIDDEN>
	<CANdFEAEYZX5jBL9VLnQmWGefG-A1uNMK9CC9dVq-Wc3R=OWpLw@HIDDEN>
	<DBE431CE-0482-4167-A23B-CDB776453179@HIDDEN>
	<83obew1bub.fsf@HIDDEN>
	<CANdFEAGE8gEoRn_V5CxsUtau1kPNWbPZjbuYnKVdtirKSdcSJw@HIDDEN>
	<jwvzjyd73ig.fsf-monnier+emacs@HIDDEN>
	<CANdFEAEUB9bwYWSAMh9Db9F4BQN1HPrnNzEqYuNHi08vfPEFTg@HIDDEN>
	<jwvli9r18x6.fsf-monnier+emacs@HIDDEN>
From: Josh <josh@HIDDEN>
Date: Wed, 3 Apr 2013 10:07:20 -0700
X-Google-Sender-Auth: WUeURJe-tPoEBZnWpGbPIZgta7A
Message-ID: <CANdFEAF9btn5TY3_BzYRoaF_RyAJ1HoHDHe97x4RO6_0cDhp6Q@HIDDEN>
Content-Type: text/plain; charset=ISO-8859-1
X-Gm-Message-State: ALoCoQkHHZ333F/s5cjg7z1OGAxCQLBTxoNWmc901pEMbBGCjHMCLrhESdapWTkyW+559HCMs2BV
X-Spam-Score: 0.1 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -2.6 (--)

On Wed, Mar 13, 2013 at 11:04 AM, Stefan Monnier
<monnier@HIDDEN> wrote:
>> I'd be happy to contribute it,
>
> Cool.  Could you try and make it into a patch to xclip.el, then?

OK, I took a stab at it and it seems to work correctly under OS X in
-nw mode.  I do not have access to a system running X at the moment so
someone should verify that the original functionality remains intact.

Please also review the change to the define-minor-mode form, where I
replaced the use of terminal-init-xterm-hook with direct calls to
turn-{on,off}-xclip.  I hadn't heard of this hook before and my
impression after a brief investigation is that these terminal-init
hooks are selected based on the value of TERM during initialization
and then run before user init.  If that's so then I don't see how
adding (xclip-mode 1) to users' .emacs as the commentary suggests
could possibly work, since that would cause turn-on-xclip-mode to be
added to a hook that had already run.  I assume I'm missing something
here, but someone more familiar with the init sequence than I am
should review the mode enablement implementation.

Also, if my impression that the specific terminal-init hook is
selected based on TERM is correct then I don't see how the current
implementation could be working for users with TERM set to rxvt,
screen, screen-256color, etc.

I removed the optional `push' argument to xclip-select-text because it
was unused within the function and also because xclip-select-text is a
target of interprogram-cut-function, whose docstring specifies that
its targets are called with exactly one argument.

>> 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.

Enabling xclip-mode by default or at least bundling it with Emacs
seems worthwhile to me because it represents such an improvement to
Emacs' useability for -nw users.  In any case, regardless of whether
or not Emacs ships with xclip.el, mentioning its existence in the
empty kill ring error message encountered by the reporter would spur
users to investigate how to enable or install it.

Note: `xclip.el.orig' below was retrieved from
http://elpa.gnu.org/packages/xclip-1.0.el

--- xclip.el.orig	2012-11-29 08:41:30.000000000 -0800
+++ xclip.el	2013-04-03 08:40:39.000000000 -0700
@@ -28,7 +28,13 @@

 ;;; Code:
 (defvar xclip-program "xclip"
-  "Name of XClip program tool.")
+  "Path to the xclip program which provides an interface to the X clipboard.")
+
+(defvar xclip-ns-copy-program "pbcopy"
+  "Path to the pbcopy program, an interface to the Nextstep/OS X clipboard.")
+
+(defvar xclip-ns-paste-program "pbpaste"
+  "Path to the pbpaste program, an interface to the Nextstep/OS X clipboard.")

 (defvar xclip-select-enable-clipboard t
   "Non-nil means cutting and pasting uses the clipboard.
@@ -51,7 +57,7 @@
       (process-send-string proc data)
       (process-send-eof proc))))

-(defun xclip-select-text (text &optional push)
+(defun xclip-select-text (text)
   "See `x-select-text'."
   (xclip-set-selection 'primary text)
   (setq xclip-last-selected-text-primary text)
@@ -59,6 +65,20 @@
     (xclip-set-selection 'clipboard text)
     (setq xclip-last-selected-text-clipboard text)))

+(defun xclip-ns-paste ()
+  "Return the text on the Nextstep/OS X system pasteboard."
+  (let ((coding-system-for-read 'utf-8))
+    (shell-command-to-string xclip-ns-paste-program)))
+
+(defun xclip-ns-cut (text)
+  "Send TEXT to the Nextstep/OS X system pasteboard."
+  (let ((process-connection-type nil))
+    (let ((proc (start-process "pbcopy" "*Messages*" xclip-ns-copy-program)))
+      (set-process-sentinel proc 'ignore) ;; stifle noise in *Messages*
+      (process-send-string proc text)
+      (process-send-eof proc)))
+  text)
+
 (defun xclip-selection-value ()
   "See `x-cut-buffer-or-selection-value'."
   (when (and (executable-find xclip-program) (getenv "DISPLAY"))
@@ -94,8 +114,13 @@
       (or clip-text primary-text))))

 (defun turn-on-xclip ()
-  (setq interprogram-cut-function 'xclip-select-text)
-  (setq interprogram-paste-function 'xclip-selection-value))
+  (cond ((eq system-type 'darwin)
+         (setq interprogram-cut-function 'xclip-ns-cut
+               interprogram-paste-function 'xclip-ns-paste))
+        ((getenv "DISPLAY")
+         (setq interprogram-cut-function 'xclip-select-text
+               interprogram-paste-function 'xclip-selection-value))
+        (t (error "No interface to operating system clipboard found"))))

 (defun turn-off-xclip ()
   (setq interprogram-cut-function nil)
@@ -103,11 +128,11 @@

 ;;;###autoload
 (define-minor-mode xclip-mode
-  "Minor mode to use the `xclip' program to copy&paste."
+  "Minor mode to integrate operating system clipboards with kills and yanks."
   :global t
   (if xclip-mode
-      (add-hook 'terminal-init-xterm-hook 'turn-on-xclip)
-    (remove-hook 'terminal-init-xterm-hook 'turn-on-xclip)))
+      (turn-on-xclip)
+    (turn-off-xclip)))

 ;;;; ChangeLog:




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#13790: Cannot paste with C-y into Homebrew emacs v24.2.1
Resent-From: Stefan Monnier <monnier@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 08 Apr 2013 16:28:02 +0000
Resent-Message-ID: <handler.13790.B13790.136543846515523 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 13790
X-GNU-PR-Package: emacs,ns
X-GNU-PR-Keywords: moreinfo unreproducible
To: Josh <josh@HIDDEN>
Cc: Eli Zaretskii <eliz@HIDDEN>, 13790 <at> debbugs.gnu.org
Received: via spool by 13790-submit <at> debbugs.gnu.org id=B13790.136543846515523
          (code B ref 13790); Mon, 08 Apr 2013 16:28:02 +0000
Received: (at 13790) by debbugs.gnu.org; 8 Apr 2013 16:27:45 +0000
Received: from localhost ([127.0.0.1]:40251 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UPEv2-00042I-7t
	for submit <at> debbugs.gnu.org; Mon, 08 Apr 2013 12:27:44 -0400
Received: from ironport2-out.teksavvy.com ([206.248.154.182]:25012)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <monnier@HIDDEN>) id 1UPEuz-00042B-Sh
	for 13790 <at> debbugs.gnu.org; Mon, 08 Apr 2013 12:27:42 -0400
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av4EABK/CFFFxLSu/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kiB4GwS2RCgOkeoFegxM
X-IPAS-Result: Av4EABK/CFFFxLSu/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kiB4GwS2RCgOkeoFegxM
X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; 
   d="scan'208";a="6869506"
Received: from 69-196-180-174.dsl.teksavvy.com (HELO pastel.home)
	([69.196.180.174])
	by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA;
	08 Apr 2013 12:24:04 -0400
Received: by pastel.home (Postfix, from userid 20848)
	id 8FD0B67ADD; Mon,  8 Apr 2013 12:24:07 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
Message-ID: <jwv4nfhxc6d.fsf-monnier+emacs@HIDDEN>
References: <CAHXt_SVLbGEzsgH24zpwwXUa+F9ANSfuEo6tGS932FTdoQYTiA@HIDDEN>
	<ahakpwqnu.fsf@HIDDEN>
	<988801E5-2282-4367-A46E-7A05A63069AD@HIDDEN>
	<CANdFEAEn28EyBV_7kw7Fdp701u=KJmHRi-S+uZaqVUVqCxt9=A@HIDDEN>
	<1790161F-1C74-43D3-AFEE-40EAF0B2AFBB@HIDDEN>
	<CANdFEAEYZX5jBL9VLnQmWGefG-A1uNMK9CC9dVq-Wc3R=OWpLw@HIDDEN>
	<DBE431CE-0482-4167-A23B-CDB776453179@HIDDEN>
	<83obew1bub.fsf@HIDDEN>
	<CANdFEAGE8gEoRn_V5CxsUtau1kPNWbPZjbuYnKVdtirKSdcSJw@HIDDEN>
	<jwvzjyd73ig.fsf-monnier+emacs@HIDDEN>
	<CANdFEAEUB9bwYWSAMh9Db9F4BQN1HPrnNzEqYuNHi08vfPEFTg@HIDDEN>
	<jwvli9r18x6.fsf-monnier+emacs@HIDDEN>
	<CANdFEAF9btn5TY3_BzYRoaF_RyAJ1HoHDHe97x4RO6_0cDhp6Q@HIDDEN>
Date: Mon, 08 Apr 2013 12:24:07 -0400
In-Reply-To: <CANdFEAF9btn5TY3_BzYRoaF_RyAJ1HoHDHe97x4RO6_0cDhp6Q@HIDDEN>
	(josh@HIDDEN's message of "Wed, 3 Apr 2013 10:07:20 -0700")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -1.9 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -1.9 (-)

> Please also review the change to the define-minor-mode form, where I
> replaced the use of terminal-init-xterm-hook with direct calls to
> turn-{on,off}-xclip.  I hadn't heard of this hook before and my
> impression after a brief investigation is that these terminal-init
> hooks are selected based on the value of TERM

Yes.

> during initialization

:initialization" yes, but of the "terminal" rather than of "emacs".
E.g. with "emacsclient -t" you can create more terminals long after
Emacs has been initialized.

Here's a use case which normally works with xclip.el version 1.0, but is
currently broken with your code:
- add an unconditional (xclip-mode 1) to your .emacs.
- start Emacs with full GUI interface
- M-x server-start RET
- open an xterm and run "emacsclient -t"
- use copy & paste

> and then run before user init.

No it is done after loading the .emacs file (you can see where
`tty-run-terminal-initialization' is called from the `command-line'
function in lisp/startup.el).

> Also, if my impression that the specific terminal-init hook is
> selected based on TERM is correct then I don't see how the current
> implementation could be working for users with TERM set to rxvt,
> screen, screen-256color, etc.

The generic code runs no hook.  Instead it calls a function called
"terminal-init-<FOO>" where <FOO> is derived from $TERM (you can see how
in tty-find-type called from tty-run-terminal-initialization).
The function terminal-init-xterm (in lisp/term/xterm.el) runs
terminal-init-xterm-hook.

`terminal-init-rxvt' (in lisp/term/rxvt.el) and terminal-init-screen (in
lisp/term/screen.el) indeed do not run this hook (and don't run any
terminal-init-<foo>-hook either), so xclip.el probably doesn't work
currently with them :-(

We should maybe change tty-run-terminal-initialization to run
a `terminal-init-hook' and then xclip.el to use that hook so it also
works on terminals other than xterms.

> I removed the optional `push' argument to xclip-select-text because it
> was unused within the function and also because xclip-select-text is a
> target of interprogram-cut-function, whose docstring specifies that
> its targets are called with exactly one argument.

I can't see why this `push' arg is present, indeed.  Oh, wait, I see
that x-select-text had such an optional `push' argument in earlier
versions of Emacs, so it's either a remnant, or only needed when
running xclip.el on Emacs<24.

> Enabling xclip-mode by default or at least bundling it with Emacs
> seems worthwhile to me because it represents such an improvement to
> Emacs' useability for -nw users.

As mentioned elsewhere, it strongly depends on your use case.  If, like
me, you mostly use "emacs -nw" in remote ssh sessions, xclip-mode is
undesirable most of the time.

> In any case, regardless of whether or not Emacs ships with xclip.el,
> mentioning its existence in the empty kill ring error message
> encountered by the reporter would spur users to investigate how to
> enable or install it.

That's an idea, indeed.

Here are some further comments:

> -  "Name of XClip program tool.")
> +  "Path to the xclip program which provides an interface to the X clipboard.")

The GNU convention is to use "path" only to refer to "a list of
directories", as in `load-path', $PATH, $MANPATH, ...
So "/a/b/c" is not considered a "path" but a "file name".

> +(defun xclip-ns-paste ()
> +  "Return the text on the Nextstep/OS X system pasteboard."
> +  (let ((coding-system-for-read 'utf-8))
> +    (shell-command-to-string xclip-ns-paste-program)))

I think it's better to use `call-process' here, to avoid the
intermediate use of a shell process.

> +        (t (error "No interface to operating system clipboard found"))))

Rather than "operating system" I'd use "window system" or even just "system".

That sidesteps the whole issue of whether the GUI is part of
the "operating system" and which window-system is considered as "the
operating system" when several window-systems are in use at the
same time.

> +  "Minor mode to integrate operating system clipboards with kills and yanks."

Same here.  But I think this even deserves some additional explanation
that it only affects use under text-terminals.

> -      (add-hook 'terminal-init-xterm-hook 'turn-on-xclip)
> -    (remove-hook 'terminal-init-xterm-hook 'turn-on-xclip)))
> +      (turn-on-xclip)
> +    (turn-off-xclip)))

As explained above, this causes trouble.


        Stefan




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#13790: Cannot paste with C-y into Homebrew emacs v24.2.1
Resent-From: Josh <josh@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 13 Apr 2013 17:01:01 +0000
Resent-Message-ID: <handler.13790.B13790.136587241712362 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 13790
X-GNU-PR-Package: emacs,ns
X-GNU-PR-Keywords: moreinfo unreproducible
To: Stefan Monnier <monnier@HIDDEN>
Cc: Eli Zaretskii <eliz@HIDDEN>, 13790 <at> debbugs.gnu.org
Received: via spool by 13790-submit <at> debbugs.gnu.org id=B13790.136587241712362
          (code B ref 13790); Sat, 13 Apr 2013 17:01:01 +0000
Received: (at 13790) by debbugs.gnu.org; 13 Apr 2013 17:00:17 +0000
Received: from localhost ([127.0.0.1]:48910 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UR3oH-0003DL-Fj
	for submit <at> debbugs.gnu.org; Sat, 13 Apr 2013 13:00:17 -0400
Received: from mail-qa0-f44.google.com ([209.85.216.44]:50654)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <jlf@HIDDEN>) id 1UR3oD-0003D9-Iu
	for 13790 <at> debbugs.gnu.org; Sat, 13 Apr 2013 13:00:14 -0400
Received: by mail-qa0-f44.google.com with SMTP id o13so264165qaj.10
	for <13790 <at> debbugs.gnu.org>; Sat, 13 Apr 2013 09:56:11 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=google.com; s=20120113;
	h=x-received:mime-version:sender:in-reply-to:references:from:date
	:x-google-sender-auth:message-id:subject:to:cc:content-type
	:x-gm-message-state;
	bh=tTDq/4kfUH9SAYNEI8voTDLFVKk6SCA/xGe33H3/w5A=;
	b=D2dwwXSKmnQyP7bRXjREK6st60HiksdOVSnS+rIvDAVEISNLBYmCrl9YcvJgrkB2QL
	LHR0HDqjGTy5p1irX5C9CqrhFJGGdXWGf2wJlm/UCB6mrkkDR8yIlFnYu5Md/hbtzTmY
	ih0+IggVpS+4vZpKfPsMaEFyFDk4V58wu0aPIxjnGwl3cZeQwBYJEA7OKOxtE9LN/2pG
	KKnR9IwFuDhC6h7zaRbkHh9MHy8ap5KYjGGh45K8V/urdBG3m+X79l4u34mVibCd/FdS
	fc2c+25si5aRBKShlcCdEpE+K7LOu2TzRWD/7jXMBNTik2joK0UNcizqOs7l9wJ1FGyt
	9adQ==
X-Received: by 10.49.11.178 with SMTP id r18mr18554411qeb.56.1365872171704;
	Sat, 13 Apr 2013 09:56:11 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.49.42.65 with HTTP; Sat, 13 Apr 2013 09:55:41 -0700 (PDT)
In-Reply-To: <jwv4nfhxc6d.fsf-monnier+emacs@HIDDEN>
References: <CAHXt_SVLbGEzsgH24zpwwXUa+F9ANSfuEo6tGS932FTdoQYTiA@HIDDEN>
	<ahakpwqnu.fsf@HIDDEN>
	<988801E5-2282-4367-A46E-7A05A63069AD@HIDDEN>
	<CANdFEAEn28EyBV_7kw7Fdp701u=KJmHRi-S+uZaqVUVqCxt9=A@HIDDEN>
	<1790161F-1C74-43D3-AFEE-40EAF0B2AFBB@HIDDEN>
	<CANdFEAEYZX5jBL9VLnQmWGefG-A1uNMK9CC9dVq-Wc3R=OWpLw@HIDDEN>
	<DBE431CE-0482-4167-A23B-CDB776453179@HIDDEN>
	<83obew1bub.fsf@HIDDEN>
	<CANdFEAGE8gEoRn_V5CxsUtau1kPNWbPZjbuYnKVdtirKSdcSJw@HIDDEN>
	<jwvzjyd73ig.fsf-monnier+emacs@HIDDEN>
	<CANdFEAEUB9bwYWSAMh9Db9F4BQN1HPrnNzEqYuNHi08vfPEFTg@HIDDEN>
	<jwvli9r18x6.fsf-monnier+emacs@HIDDEN>
	<CANdFEAF9btn5TY3_BzYRoaF_RyAJ1HoHDHe97x4RO6_0cDhp6Q@HIDDEN>
	<jwv4nfhxc6d.fsf-monnier+emacs@HIDDEN>
From: Josh <josh@HIDDEN>
Date: Sat, 13 Apr 2013 09:55:41 -0700
X-Google-Sender-Auth: lArHnGkrgGgjahgomTXzlR8zcwY
Message-ID: <CANdFEAH=gLmzvhY4qS5itEnhoW-kN4ctyTnqPf+y4_x9B8e7dA@HIDDEN>
Content-Type: text/plain; charset=ISO-8859-1
X-Gm-Message-State: ALoCoQm6qU1ltiE88xZztFsetGjM6mcgbUrWALhIQHs15jvxfHsIZ6P3F6TPwK4jNqwaOLyqb6ja
X-Spam-Score: 0.1 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -2.6 (--)

Thank you for that helpful (and educational) feedback.  I regret that
I don't have the bandwidth to take this patch any farther at the
moment, but perhaps someone else will take up the task of refining it
to behave as expected for each of these use cases.

Josh




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#13790: pbcopy support for xclip.el (was: [ELPA-diffs] ELPA branch, master, updated. afa778dbeac52aed1d1c57a9daadd2eea204bb56)
Resent-From: Stefan Monnier <monnier@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 06 Sep 2013 12:30:03 +0000
Resent-Message-ID: <handler.13790.B13790.137847054715716 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 13790
X-GNU-PR-Package: emacs,ns
X-GNU-PR-Keywords: moreinfo unreproducible
To: Leo Liu <sdl.web@HIDDEN>
Cc: Roland Walker <walker@HIDDEN>, 13790 <at> debbugs.gnu.org, Josh <josh@HIDDEN>
Received: via spool by 13790-submit <at> debbugs.gnu.org id=B13790.137847054715716
          (code B ref 13790); Fri, 06 Sep 2013 12:30:03 +0000
Received: (at 13790) by debbugs.gnu.org; 6 Sep 2013 12:29:07 +0000
Received: from localhost ([127.0.0.1]:43498 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1VHv9s-00045O-P9
	for submit <at> debbugs.gnu.org; Fri, 06 Sep 2013 08:29:05 -0400
Received: from ironport2-out.teksavvy.com ([206.248.154.182]:21096)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <monnier@HIDDEN>) id 1VHv9p-00044q-7j
 for 13790 <at> debbugs.gnu.org; Fri, 06 Sep 2013 08:29:02 -0400
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av4EABK/CFHO+KK6/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsZJgcLFBgNJByIAgYMwSGRCgOkeoFegxM
X-IPAS-Result: Av4EABK/CFHO+KK6/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsZJgcLFBgNJByIAgYMwSGRCgOkeoFegxM
X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="26647061"
Received: from 206-248-162-186.dsl.teksavvy.com (HELO pastel.home)
 ([206.248.162.186])
 by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA;
 06 Sep 2013 08:25:46 -0400
Received: by pastel.home (Postfix, from userid 20848)
 id AEE5D66CA6; Fri,  6 Sep 2013 08:28:54 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
Message-ID: <jwv7geu2ld7.fsf-monnier+emacs@HIDDEN>
References: <E1VHOmk-0006ys-UO@HIDDEN>
 <jwvr4d42bct.fsf-monnier+emacs@HIDDEN> <m14n9ya7cb.fsf@HIDDEN>
Date: Fri, 06 Sep 2013 08:28:54 -0400
In-Reply-To: <m14n9ya7cb.fsf@HIDDEN> (Leo Liu's message of "Fri, 06 Sep
 2013 12:43:00 +0800")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.3 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.3 (/)

>> BTW, could you try and integrate the patch that adds support for
>> pbcopy/pbpaste under OSX?
> I couldn't find any patch on debbugs or emacs-devel

Oh, indeed, sorry, I finally found it in bug#13790.

> so I have written something to that effect instead.

Cool, thank you.

I also remember seeing it mentioned somewhere on emacswiki but can't
find it any more.  I did find http://www.emacswiki.org/emacs/simpleclip.el
on the other hand, which does something similar (tho by rebinding keys
rather than hooking into Emacs's clipboard machinery, IIUC).


        Stefan




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 25 Dec 2015 23:24:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 25 18:24:40 2015
Received: from localhost ([127.0.0.1]:36081 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aCbiy-0007Cx-Je
	for submit <at> debbugs.gnu.org; Fri, 25 Dec 2015 18:24:40 -0500
Received: from hermes.netfonds.no ([80.91.224.195]:39665)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <larsi@HIDDEN>) id 1aCbix-0007Cq-V7
 for control <at> debbugs.gnu.org; Fri, 25 Dec 2015 18:24:40 -0500
Received: from 2.150.58.24.tmi.telenormobil.no ([2.150.58.24] helo=mouse)
 by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.72) (envelope-from <larsi@HIDDEN>) id 1aCbid-0006j8-1G
 for control <at> debbugs.gnu.org; Sat, 26 Dec 2015 00:24:19 +0100
Date: Sat, 26 Dec 2015 00:24:18 +0100
Message-Id: <87k2o2p0wt.fsf@HIDDEN>
To: control <at> debbugs.gnu.org
From: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: control message for bug #13790
X-MailScanner-ID: 1aCbid-0006j8-1G
X-Netfonds-MailScanner: Found to be clean
X-Netfonds-MailScanner-From: larsi@HIDDEN
MailScanner-NULL-Check: 1451690659.37816@q4bfaVHvRSs2iTUOB+jSfA
X-Spam-Status: No
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

tags 13790 patch




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 25 Dec 2015 23:24:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 25 18:24:46 2015
Received: from localhost ([127.0.0.1]:36084 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aCbj4-0007DG-Oa
	for submit <at> debbugs.gnu.org; Fri, 25 Dec 2015 18:24:46 -0500
Received: from hermes.netfonds.no ([80.91.224.195]:39670)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <larsi@HIDDEN>) id 1aCbj4-0007D8-1d
 for control <at> debbugs.gnu.org; Fri, 25 Dec 2015 18:24:46 -0500
Received: from 2.150.58.24.tmi.telenormobil.no ([2.150.58.24] helo=mouse)
 by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.72) (envelope-from <larsi@HIDDEN>) id 1aCbii-0006jK-UH
 for control <at> debbugs.gnu.org; Sat, 26 Dec 2015 00:24:25 +0100
Date: Sat, 26 Dec 2015 00:24:24 +0100
Message-Id: <87io3mp0wn.fsf@HIDDEN>
To: control <at> debbugs.gnu.org
From: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: control message for bug #13790
X-MailScanner-ID: 1aCbii-0006jK-UH
X-Netfonds-MailScanner: Found to be clean
X-Netfonds-MailScanner-From: larsi@HIDDEN
MailScanner-NULL-Check: 1451690665.51873@48Nnp1p3InFEl6ER/W/o2g
X-Spam-Status: No
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

tags 13790 - moreinfo




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 11 Jun 2016 14:52:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 11 10:52:14 2016
Received: from localhost ([127.0.0.1]:37290 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1bBkGj-0001zD-O7
	for submit <at> debbugs.gnu.org; Sat, 11 Jun 2016 10:52:13 -0400
Received: from mail-wm0-f53.google.com ([74.125.82.53]:38681)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <athird@HIDDEN>) id 1bBkGi-0001yw-3b
 for control <at> debbugs.gnu.org; Sat, 11 Jun 2016 10:52:12 -0400
Received: by mail-wm0-f53.google.com with SMTP id m124so25804746wme.1
 for <control <at> debbugs.gnu.org>; Sat, 11 Jun 2016 07:52:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=googlemail.com; s=20120113;
 h=sender:date:message-id:to:from:subject;
 bh=zgFhgHdh3Mt1nzPjr0QNlgunEDSfYU7FHbMt+6O/Keo=;
 b=K/aAL57limLzsdxQTvNx68cDyuPjtSCMct9QN9BWodu9/PTzDBsVDZNVXlUy3auhHf
 R3Yr+Tz/w2KXFvUyq+fLCKFw6UCwoqI8LEmlmu6iO3XYnbyx+QyqfhOY0THYwSFgOJuF
 Cvf71rxGtRVPV+5YMDWidfpDPc6JweQ/EEgEEUHv+Re+Ug9m0GaIbIahRkNB19EbXVOV
 faIM8fohxQf4Me7ECa+l0DEHh+HYVbvKYIrfpQqhhoHM975YbJdKW3Dq4ZLu0b14a89U
 QHV8+/wkFZQ5ZARx+/KNYWTFJRkj2BMG9r2sF//Gbx0wWCPvsonIp+VpsliaNNj5cxu8
 vw3g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:sender:date:message-id:to:from:subject;
 bh=zgFhgHdh3Mt1nzPjr0QNlgunEDSfYU7FHbMt+6O/Keo=;
 b=TjunVZhLpytDiKeR4NnFxRZxgh2jDSK/D2XyHEVrBYTkmnx1SH7VZiApCAlyqoVUD2
 zJHDur9U6+BGDUGxBknUBLas6xV1dBLItY8FblFc95wA+jv3yAn5hcJK5U4RwwSuOK+D
 rtQATsyRrayjRwKwBfmvLUfSu0LiZyMq2Yfb9QqgfzZ06QdwfKa5hX8v1POhR1habPfs
 QrVbgi5WW78kSgywmRRCeDiWXA8mzoVaVB99Vmt5CFD1vnQG/wwEbqGIboCpc1EPDl9R
 pUpVp1aqzV3yrOubEtrL2ZhTfmMTRiMZW+FeAE5oF3pmHtMFubMEQnN9z6Oiv+IDuY/v
 kkMA==
X-Gm-Message-State: ALyK8tIcixk1LDFFviXqy2b+joD3TUqDZL15XpI86cSva/OMMCxXz/C5dGeAX0CsdLk9Tg==
X-Received: by 10.194.246.129 with SMTP id xw1mr6840108wjc.142.1465656726254; 
 Sat, 11 Jun 2016 07:52:06 -0700 (PDT)
Received: from breton.holly.idiocy.org
 (ip6-2001-08b0-03f8-8129-c9c2-157d-2620-d548.holly.idiocy.org.
 [2001:8b0:3f8:8129:c9c2:157d:2620:d548])
 by smtp.gmail.com with ESMTPSA id xz3sm17701410wjb.35.2016.06.11.07.52.05
 for <control <at> debbugs.gnu.org>
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Sat, 11 Jun 2016 07:52:05 -0700 (PDT)
Date: Sat, 11 Jun 2016 15:52:04 +0100
Message-Id: <m24m8zzskr.fsf@HIDDEN>
To: control <at> debbugs.gnu.org
From: Alan Third <alan@HIDDEN>
Subject: control message for bug #13790
X-Spam-Score: -0.5 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.5 (/)

tags 13790 confirmed




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 25 Mar 2017 05:14:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 25 01:14:54 2017
Received: from localhost ([127.0.0.1]:43099 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cre2Q-0003pM-E2
	for submit <at> debbugs.gnu.org; Sat, 25 Mar 2017 01:14:54 -0400
Received: from mail-it0-f53.google.com ([209.85.214.53]:36939)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1cre2O-0003pA-S0
 for control <at> debbugs.gnu.org; Sat, 25 Mar 2017 01:14:53 -0400
Received: by mail-it0-f53.google.com with SMTP id 190so9043000itm.0
 for <control <at> debbugs.gnu.org>; Fri, 24 Mar 2017 22:14:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=sender:from:to:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=3Z4p20QCrfkul8R1KVi6gTxt90JA5+Q6rc7NJW0bVXo=;
 b=pfZjOa/eRsRlRLoz1OVO/yR3Uc3b0JuzXhYmzlWoBg+vGoOMov3nm1hhPZdCrVTFZK
 jmgRSm4pEc+zGU0nERILPMyQSxJ/dY2laKg0z5Ar8fC8IKg+tjLI0QRtQsHXMP51IQbd
 FEoH4SC5SIfirkiMl0hoDjuqmLih3XSnFQDcghr3Siq0Gq3t7C6C0cW9jhkHRArzAmt1
 LuPPYi/mD4rHDgQ7WK3MAoWmrNt06LqufNhnd93V8Q00G/x402yPi2uR7eIcbBzEoTnO
 gZ1j1iEtAKqON/JMwEWs3CLDXb+WIEAK02Yh99eYmg2ViVNqZLyvepLX7C10E6owh0gE
 JwGw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:sender:from:to:subject:references:date
 :in-reply-to:message-id:user-agent:mime-version;
 bh=3Z4p20QCrfkul8R1KVi6gTxt90JA5+Q6rc7NJW0bVXo=;
 b=MJWdvbJU3o/RES2s7pGe/1s6dP3vg1juhSgnLffxuQziMV0UcCp9o68G1y9Y4abDnd
 T7ClrutX21vSeP63J7jk2fum48WOK9nwXgKIRnbq6bAhkgmOIHZYdlXz7vA9jCln5iSS
 uQLf/bRTxsKsw6keZEO7OYxSsn1YZ0lphQ7S+AhH8068LW36p1B0+tmtRktWvGOffwJN
 2SSSzCXuaxzAkZCT5UFC3MQL4TQf2pxgJ4HQFUovI7ZMRHoELOGRECx2TUdYlRYZ5Q95
 fMS5geLvd96cQbjez5qo36YMP8WH2cAp0S4GM7c1zNtTIqiIuraeieSK2R6BwWMEgmPV
 GP7A==
X-Gm-Message-State: AFeK/H1pqjHo57CgeChoUmdRPLjs4D3KOngu/+StjpssHHF7KWPuKIrYSrvVRkHXWKywzQ==
X-Received: by 10.107.2.201 with SMTP id 192mr11489267ioc.81.1490418887226;
 Fri, 24 Mar 2017 22:14:47 -0700 (PDT)
Received: from zony ([45.2.7.65])
 by smtp.googlemail.com with ESMTPSA id f196sm361419itc.2.2017.03.24.22.14.46
 for <control <at> debbugs.gnu.org>
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Fri, 24 Mar 2017 22:14:46 -0700 (PDT)
From: npostavs@HIDDEN
To: control <at> debbugs.gnu.org
Subject: Re: bug#13790: Cannot paste with C-y into Homebrew emacs v24.2.1
References: <CAHXt_SVLbGEzsgH24zpwwXUa+F9ANSfuEo6tGS932FTdoQYTiA@HIDDEN>
 <ahakpwqnu.fsf@HIDDEN>
 <988801E5-2282-4367-A46E-7A05A63069AD@HIDDEN>
 <CANdFEAEn28EyBV_7kw7Fdp701u=KJmHRi-S+uZaqVUVqCxt9=A@HIDDEN>
 <1790161F-1C74-43D3-AFEE-40EAF0B2AFBB@HIDDEN>
 <CANdFEAEYZX5jBL9VLnQmWGefG-A1uNMK9CC9dVq-Wc3R=OWpLw@HIDDEN>
 <DBE431CE-0482-4167-A23B-CDB776453179@HIDDEN> <83obew1bub.fsf@HIDDEN>
 <CANdFEAGE8gEoRn_V5CxsUtau1kPNWbPZjbuYnKVdtirKSdcSJw@HIDDEN>
 <jwvzjyd73ig.fsf-monnier+emacs@HIDDEN>
 <CANdFEAEUB9bwYWSAMh9Db9F4BQN1HPrnNzEqYuNHi08vfPEFTg@HIDDEN>
 <jwvli9r18x6.fsf-monnier+emacs@HIDDEN>
 <CANdFEAF9btn5TY3_BzYRoaF_RyAJ1HoHDHe97x4RO6_0cDhp6Q@HIDDEN>
 <jwv4nfhxc6d.fsf-monnier+emacs@HIDDEN>
 <CANdFEAH=gLmzvhY4qS5itEnhoW-kN4ctyTnqPf+y4_x9B8e7dA@HIDDEN>
Date: Sat, 25 Mar 2017 01:16:10 -0400
In-Reply-To: <CANdFEAH=gLmzvhY4qS5itEnhoW-kN4ctyTnqPf+y4_x9B8e7dA@HIDDEN>
 (josh@HIDDEN's message of "Sat, 13 Apr 2013 09:55:41 -0700")
Message-ID: <87inmy0wdh.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

# patch is not ready to merge
# since this was tagged 'confirmed', I guess 'unreproducible' makes no sense...
tags 13790 - unreproducible patch
quit

Josh <josh@HIDDEN> writes:

> Thank you for that helpful (and educational) feedback.  I regret that
> I don't have the bandwidth to take this patch any farther at the
> moment, but perhaps someone else will take up the task of refining it
> to behave as expected for each of these use cases.
>
> Josh





Last modified: Sat, 25 Mar 2017 05:30:03 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.