X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=5.0 required=5.0	tests=BAYES_50,BOTNET,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,SPF_NEUTRAL
X-Spam-Check-By: sourceware.org
Message-id: <50315818.7030802@jackson.io>
Date: Sun, 19 Aug 2012 17:18:16 -0400
From: Ken Jackson <cygwin@jackson.io>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0
MIME-version: 1.0
To: cygwin@cygwin.com
Subject: Re: Windows clipboard and Emacs yank, kill-region, and kill-ring-save
References: <Pine.NEB.4.64.1208081535090.21986@panix3.panix.com> <5022D5EB.9020703@cornell.edu> <Pine.NEB.4.64.1208081716380.7988@panix1.panix.com> <50313559.6060407@jackson.io> <50314483.9010605@cornell.edu>
In-reply-to: <50314483.9010605@cornell.edu>
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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?

2) How can I go the other way--copy from emacs in a terminal
    to the Windows clipboard?

-Ken Jackson


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

