From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.devel Subject: Re: X selection access in xterm (OSC 52) Date: Fri, 17 Apr 2015 06:25:49 +0000 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8f3bae67c639bb0513e5a623 X-Trace: ger.gmane.org 1429251967 14311 80.91.229.3 (17 Apr 2015 06:26:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Apr 2015 06:26:07 +0000 (UTC) Cc: Olaf Rogalsky , Emacs developers , Yuri Khan To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 17 08:26:07 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Yizj4-0004xL-AM for ged-emacs-devel@m.gmane.org; Fri, 17 Apr 2015 08:26:06 +0200 Original-Received: from localhost ([::1]:39727 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yizj3-0003GR-C4 for ged-emacs-devel@m.gmane.org; Fri, 17 Apr 2015 02:26:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37162) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yizip-0003G7-VZ for emacs-devel@gnu.org; Fri, 17 Apr 2015 02:25:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yizio-0006NM-Va for emacs-devel@gnu.org; Fri, 17 Apr 2015 02:25:51 -0400 Original-Received: from mail-wi0-x235.google.com ([2a00:1450:400c:c05::235]:34046) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yizio-0006ND-KL for emacs-devel@gnu.org; Fri, 17 Apr 2015 02:25:50 -0400 Original-Received: by widjs5 with SMTP id js5so26626063wid.1 for ; Thu, 16 Apr 2015 23:25:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-type; bh=42JUqM2JUn9pSWD+c9K84zYfSNXBBu6f9q/EgoDnxns=; b=gxXuHTcz5JKHjOm5s+k0ECjHQ+XMehLkD9bCSpmcTtNjd5GKzAwv1XwkNBkOn+5RKl GdjzL6IiDqXpAtnBJ6wg28Y4rh23iNKt34BhU6iTHDuBll0Ya+YwriJMzButs7/rKP8f IQIL6qf6K9i3CO5OAWdh+18h2iYhjtXt2N3s90cn0OUJm85eA+jYbTgt4XciyNsxnj6N hR5bt58oGUT70ecDXrxrU561RK2Uhm6S87wnxjzfUx+zq/4g3njGAohm5KLHjbcw1A18 QxOpCbQ5Ww7oPOSHciqU3Ore56hgUYN6cAvZAzV6bfNx2575mHfr4fVBBlwlgM8IUt+B qcxA== X-Received: by 10.180.89.211 with SMTP id bq19mr1466071wib.27.1429251949998; Thu, 16 Apr 2015 23:25:49 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::235 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:185513 Archived-At: --e89a8f3bae67c639bb0513e5a623 Content-Type: text/plain; charset=UTF-8 Maybe something needs to be enabled? The documentation says "These controls may be disabled using the allowWindowOps resource." I'll try it today. Stefan Monnier schrieb am Fr., 17. Apr. 2015 um 04:40 Uhr: > Is that normal? Do you guys see the same? I'm using Debian's "xterm" > package version 312-2, for what it's worth. > > > Stefan > > > >>>>> "Stefan" == Stefan Monnier writes: > > >>> Yes, I took a look and I'll work on integrating the paste > functionality. > >>> Since cut and paste are mostly independent of each other, maybe you > could > >>> already integrate the cut patch? > >> I just installed it (after adding a ChangeLog, and although it still > >> lacks an etc/NEWS entry). > > > BTW, I can't seem to make this feature work for me. I do: > > > emacs -Q -nw > > M-x trace-function RET xterm--set-selection RET > > C-SPC M-f M-f M-f M-w > > > > C-y > > > and instead of getting the three words from *scratch*, I get whatever > > was already there before in the clipboard. Yet, the trace buffer shows > > that xterm--set-selection was called alright (and edebugging it also > > indicates that it seems to be doing what it should). > > > > Stefan > --e89a8f3bae67c639bb0513e5a623 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Maybe something needs to be enabled? The documentation say= s "These controls may=C2=A0be disabled using the allowWindowOps resour= ce."=C2=A0I'll try it today.

Stefan Monnier <monnier@i= ro.umontreal.ca> schrieb am Fr., 17. Apr. 2015 um 04:40=C2=A0Uhr:
Is that normal?=C2=A0 Do you guys see the s= ame?=C2=A0 I'm using Debian's "xterm"
package version 312-2, for what it's worth.


=C2=A0 =C2=A0 =C2=A0 =C2=A0 Stefan


>>>>> "Stefan" =3D=3D Stefan Monnier <monnier@IRO.UMontrea= l.CA> writes:

>>> Yes, I took a look and I'll work on integrating the paste = functionality.
>>> Since cut and paste are mostly independent of each other, mayb= e you could
>>> already integrate the cut patch?
>> I just installed it (after adding a ChangeLog, and although it sti= ll
>> lacks an etc/NEWS entry).

> BTW, I can't seem to make this feature work for me.=C2=A0 I do:
>=C2=A0 =C2=A0 emacs -Q -nw
>=C2=A0 =C2=A0 M-x trace-function RET xterm--set-selection RET
>=C2=A0 =C2=A0 C-SPC M-f M-f M-f M-w
>=C2=A0 =C2=A0 <go to a previously running Emacs session in GUI mode&= gt;
>=C2=A0 =C2=A0 C-y

> and instead of getting the three words from *scratch*, I get whatever<= br> > was already there before in the clipboard.=C2=A0 Yet, the trace buffer= shows
> that xterm--set-selection was called alright (and edebugging it also > indicates that it seems to be doing what it should).


>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Stefan
--e89a8f3bae67c639bb0513e5a623--