From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31131 invoked by alias); 19 Aug 2012 21:31:20 -0000 Received: (qmail 31122 invoked by uid 22791); 19 Aug 2012 21:31:19 -0000 X-SWARE-Spam-Status: No, hits=-0.5 required=5.0 tests=AWL,BAYES_50,KHOP_THREADED,RP_MATCHES_RCVD,SPF_NEUTRAL X-Spam-Check-By: sourceware.org Received: from soapstone1.mail.cornell.edu (HELO soapstone1.mail.cornell.edu) (128.253.83.143) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 19 Aug 2012 21:31:06 +0000 Received: from authusersmtp.mail.cornell.edu (granite2.mail.cornell.edu [128.253.83.142]) by soapstone1.mail.cornell.edu (8.14.4/8.14.4) with ESMTP id q7JLV8vD008436 for ; Sun, 19 Aug 2012 17:31:13 -0400 (EDT) Received: from [192.168.1.4] (cpe-67-249-194-47.twcny.res.rr.com [67.249.194.47]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id q7JLUxLj006790 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 19 Aug 2012 17:31:01 -0400 (EDT) Message-ID: <50315B12.8080200@cornell.edu> Date: Sun, 19 Aug 2012 23:22:00 -0000 From: Ken Brown User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 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: <5022D5EB.9020703@cornell.edu> <50313559.6060407@jackson.io> <50314483.9010605@cornell.edu> <50315818.7030802@jackson.io> In-Reply-To: <50315818.7030802@jackson.io> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-CORNELL-SPAM-CHECKED: Pawpaw X-Original-Sender: kbrown@cornell.edu - Sun Aug 19 17:31:01 2012 X-PMX-CORNELL-REASON: CU_White_List_Override X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-08/txt/msg00467.txt.bz2 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