From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20247 invoked by alias); 6 Apr 2013 18:49:00 -0000 Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com Received: (qmail 20198 invoked by uid 89); 6 Apr 2013 18:48:59 -0000 X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_50,DATE_IN_PAST_06_12,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.1 Received: from plane.gmane.org (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Sat, 06 Apr 2013 18:48:52 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UOY61-0000dk-IQ for cygwin-xfree@cygwin.com; Sat, 06 Apr 2013 20:44:13 +0200 Received: from psilocybe.update.uu.se ([130.238.19.25]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 06 Apr 2013 20:44:13 +0200 Received: from fstx+u by psilocybe.update.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 06 Apr 2013 20:44:13 +0200 To: cygwin-xfree@cygwin.com From: Fredrik Staxeng Subject: Re: Paste from xterm to Emacs no longer works Date: Sat, 06 Apr 2013 18:49:00 -0000 Message-ID: <1mli8vq4od.fsf@Psilocybe.Update.UU.SE> References: <1mtxnn6e49.fsf@Psilocybe.Update.UU.SE> <515C20FA.8050302@cornell.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-SW-Source: 2013-04/txt/msg00009.txt.bz2 Ken Brown writes: >While waiting for this, I'll make a wild guess that his problem is >related to the selection changes that started with emacs-24.1. Browse >the NEWS file (`C-h n') and search for "Selection changes". Thank you for trying to help. I found that when I googled, but I did not find it helpful at first. I think the following is incomplete. *** `x-select-enable-primary' now defaults to nil. Thus, commands that kill text or copy it to the kill-ring (such as M-w, C-w, and C-k) also use the clipboard---not the primary selection. I think that x-select-enable-primary also affects C-y. I tried to paste with the scroll wheel, but apparently that generated mouse-4, not mouse-2. But I really want to paste with the right mouse button. In .emacs: (global-set-key [mouse-3] 'mouse-yank-primary) In .Xdefaults: XTerm*VT100.Translations: #override \ BackSpace: string(0x7f) \n\ ~Shift ~Ctrl ~Meta : select-end(PRIMARY, CLIPBOARD) \n\ ~Shift ~Ctrl ~Meta : ignore() \n\ ~Shift ~Ctrl ~Meta : insert-selection(PRIMARY, CLIPBOARD) (When I first tried to post this, I got the backspace invokes help problem. I put in the fix for that also) -- Fredrik Stax\"ang | rot13: sfgk@hcqngr.hh.fr This is all you need to know about vi: ESC : q ! RET -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/