From: Philipp Stephani <p.stephani2@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Emacs developers <emacs-devel@gnu.org>,
Yuri Khan <yuri.v.khan@gmail.com>
Subject: Re: X selection access in xterm (OSC 52)
Date: Tue, 24 Mar 2015 15:14:00 +0000 [thread overview]
Message-ID: <CAArVCkS9cn1OaK1re2DdFZ+mjRkCFLUsRKZh876vTfkusn1+bw@mail.gmail.com> (raw)
In-Reply-To: <CAArVCkS8ChhkDZyBC2ya2Kk5_TkD+aw3LhtUi-fQEJcCEKkrJg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 921 bytes --]
>
>
>
>>
>> > + (setq interprogram-cut-function
>> > + (if (string-prefix-p "screen" (getenv "TERM"))
>> > + #'xterm--screen-interprogram-cut
>> > + #'xterm--interprogram-cut)))
>>
>> Please don't change interprogram-cut-function, since this breaks down if
>> you use a single Emacs session with both GUI and text frames (and with
>> potentially various different terminal kinds).
>>
>> Instead use gui-method-declare for gui-set-selection (new in Emacs-25).
>>
>
> Thanks, I'll modify the patch accordingly tomorrow.
>
>
Sorry for the delay. I've tried implementing this, but I'm a bit at a loss
here: If I understand the GUI method code correctly, it only works for real
GUIs, not terminal emulators that happen to be GUI applications, right? At
least the window-system variable, which gui-method apparently uses, is
always nil in my tests with hterm. Should this be something like 'xterm?
[-- Attachment #2: Type: text/html, Size: 1536 bytes --]
next prev parent reply other threads:[~2015-03-24 15:14 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-08 18:18 X selection access in xterm (OSC 52) Philipp Stephani
2015-02-08 18:43 ` Eli Zaretskii
2015-02-08 18:48 ` Philipp Stephani
2015-02-08 19:00 ` Stefan Monnier
2015-02-09 3:04 ` Yuri Khan
2015-02-09 4:23 ` Stefan Monnier
2015-02-09 16:05 ` Philipp Stephani
2015-02-09 17:12 ` Stefan Monnier
2015-02-10 10:30 ` Philipp Stephani
2015-02-27 19:44 ` Philipp Stephani
2015-03-13 22:08 ` Stefan Monnier
2015-03-15 18:33 ` Philipp Stephani
2015-03-16 13:29 ` Stefan Monnier
2015-03-24 15:14 ` Philipp Stephani [this message]
2015-03-24 21:55 ` Stefan Monnier
2015-04-08 21:04 ` Philipp Stephani
2015-04-09 2:10 ` Stefan Monnier
2015-04-09 15:48 ` Philipp Stephani
2015-04-09 18:47 ` Philipp Stephani
2015-04-09 20:07 ` Philipp Stephani
2015-04-13 14:57 ` Stefan Monnier
2015-04-13 22:17 ` Stefan Monnier
2015-04-17 2:40 ` Stefan Monnier
2015-04-17 6:25 ` Philipp Stephani
2015-04-17 6:29 ` Philipp Stephani
2015-04-17 13:52 ` Stefan Monnier
2015-04-17 14:00 ` Philipp Stephani
2016-03-29 10:15 ` Philipp Stephani
2015-03-28 18:59 ` Olaf Rogalsky
2015-03-29 3:39 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAArVCkS9cn1OaK1re2DdFZ+mjRkCFLUsRKZh876vTfkusn1+bw@mail.gmail.com \
--to=p.stephani2@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=yuri.v.khan@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).