From: Ken Brown <kbrown@cornell.edu>
To: cygwin@cygwin.com
Subject: Re: Windows clipboard and Emacs yank, kill-region, and kill-ring-save
Date: Sun, 19 Aug 2012 23:22:00 -0000 [thread overview]
Message-ID: <50315B12.8080200@cornell.edu> (raw)
In-Reply-To: <50315818.7030802@jackson.io>
On 8/19/2012 5:18 PM, Ken Jackson wrote:
> On 08/19/2012 03:54 PM, Ken Brown wrote:
>> On 8/19/2012 2:50 PM, Ken Jackson wrote:
>>> I have this in my ~/.emacs file on both Linux and Cygwin:
>>> (setq x-select-enable-clipboard t)
>>>
>>> I see in the news file that it's now set by default.
>>> It has always worked in graphical emacs but has never
>>> worked in a terminal on either Linux or Cygwin.
>>>
>>> But I sure would like it to work in a terminal. Are you
>>> able to paste clipboard text in emacs in a terminal?
>>
>> When I run emacs in mintty, I can paste clipboard text with Shift-Insert.
>>
>> Ken
>>
> Ah! That works! Thank you.
>
> But there are still a couple problems.
>
> 1) Shift-Insert is a huge improvement, but is still a little
> clunky. I'd like to tie it to Shift-Ctrl-Y, but when I
> press CTRL-h Shift-Insert, the *Help* window cryptically
> reports, "T runs the command self-insert-command". What
> command is actually running?
"T" was probably the first character of the text you pasted. I think
it's mintty that processes the Shift-Insert; emacs never sees it.
> 2) How can I go the other way--copy from emacs in a terminal
> to the Windows clipboard?
Select it with the mouse. Again, it's mintty that's doing the copying
here; emacs doesn't see the mouse operations.
Ken
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
next prev parent reply other threads:[~2012-08-19 21:31 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-08 21:11 Tim McDaniel
2012-08-08 21:59 ` Ken Brown
2012-08-08 23:04 ` Tim McDaniel
2012-08-19 19:29 ` Ken Jackson
2012-08-19 20:32 ` Ken Brown
2012-08-19 22:05 ` Ken Jackson
2012-08-19 23:22 ` Ken Brown [this message]
2012-08-29 19:43 ` Andy Koppe
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50315B12.8080200@cornell.edu \
--to=kbrown@cornell.edu \
--cc=cygwin@cygwin.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.
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).