delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/08/19/14:51:03

X-Recipient: archive-cygwin AT delorie DOT 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: <50313559.6060407@jackson.io>
Date: Sun, 19 Aug 2012 14:50:01 -0400
From: Ken Jackson <cygwin AT jackson DOT io>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 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: <Pine DOT NEB DOT 4 DOT 64 DOT 1208081535090 DOT 21986 AT panix3 DOT panix DOT com> <5022D5EB DOT 9020703 AT cornell DOT edu> <Pine DOT NEB DOT 4 DOT 64 DOT 1208081716380 DOT 7988 AT panix1 DOT panix DOT com>
In-reply-to: <Pine.NEB.4.64.1208081716380.7988@panix1.panix.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 08/08/2012 06:17 PM, Tim McDaniel wrote:
> On Wed, 8 Aug 2012, Ken Brown <kbrown AT cornell DOT edu> 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?

-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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019