X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.6 required=5.0 tests=AWL,BAYES_50,KHOP_THREADED,RP_MATCHES_RCVD,SPF_NEUTRAL X-Spam-Check-By: sourceware.org Message-ID: <50314483.9010605@cornell.edu> Date: Sun, 19 Aug 2012 15:54:43 -0400 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 AT cygwin DOT com Subject: Re: Windows clipboard and Emacs yank, kill-region, and kill-ring-save References: <5022D5EB DOT 9020703 AT cornell DOT edu> <50313559 DOT 6060407 AT jackson DOT io> In-Reply-To: <50313559.6060407@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 AT cornell DOT edu - Sun Aug 19 15:54:45 2012 X-PMX-CORNELL-REASON: CU_White_List_Override X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 8/19/2012 2:50 PM, Ken Jackson wrote: > On 08/08/2012 06:17 PM, Tim McDaniel wrote: >> On Wed, 8 Aug 2012, Ken Brown wrote: >>> There have been some changes in how emacs handles selections, >>> starting with emacs-24.1. Look at the NEWS file ('C-h n') and >>> search for "selection changes". It describes the changes and tells >>> you how to restore the old behavior. >> >> Yes! The important one for me is >> >> (setq x-select-enable-primary t) >> >> Thank you very much for the quick and informative answer! > > Are you talking about X11 emacs, or emacs in a terminal? > > 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 -- 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