delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/02/28/09:06:05

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=x9SuY25lhSmRstYR
qFwnZFaKaG6BJiI0KWBvfPi/i3Byho/4GmOXLlZlcU4Ch51DdJ2ODNQDq82hhaIx
4MHYawqfyqtmz/yX/iVfgWHwOsOPBmpBdnT1p1E2cwIKgfXCl0ravVnS+kOJmnNL
gGRyxq1lWVukKjmgf7Q/J6x38xU=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=Hj9vq59VvOq8+xi6e0959x
AtIoo=; b=MpWf2duybvC7o3hwJtsr1eUNZMuV8jPySH59OVcnzeDPVSDFV718Z6
uIlOAI9ccTifZOzyYC4KxTVGi/A5uI4IF7mUdGkqsgJiGPGt2XlzoMYwjWfqaZUZ
CCwMYF9f5+CiQ+rmdNm02owLPZxtT+3N3O3bGS5oAwGDYvTx9O/o4=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-6.5 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=Hx-languages-length:1840
X-HELO: limerock04.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
Subject: Re: Pasting from GNU/Linux into X11 Emacs running on Cygwin
To: cygwin AT cygwin DOT com
References: <87po4qmbea DOT fsf AT Rainer DOT invalid>
From: Ken Brown <kbrown AT cornell DOT edu>
Message-ID: <0d614d52-8715-122a-f702-2672d89877bb@cornell.edu>
Date: Wed, 28 Feb 2018 09:05:46 -0500
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0
MIME-Version: 1.0
In-Reply-To: <87po4qmbea.fsf@Rainer.invalid>
X-PMX-Cornell-Gauge: Gauge=XXXXX
X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none;
X-IsSubscribed: yes

On 2/27/2018 3:21 PM, Achim Gratz wrote:
> 
> The first paste from my GNU/Linux konsole session into emacs-x11 running on
> Cygwin and displaying on the GNU/Linux display gets Emacs into a spin
> loop.  I used to be able to C-g my way out of it, but since the latest
> major Emacs update I need to send Emacs a USR2 signal, which produces
> this backtrace:
> 
> --8<---------------cut here---------------start------------->8---
> Debugger entered--Lisp error: (quit)
>    x-get-selection-internal(PRIMARY UTF8_STRING nil nil)
>    #[1026 "\300..$\207" [x-get-selection-internal] 9 "\n\n(fn SELECTION-SYMBOL TARGET-TYPE &optional TIME-STAMP TERMINAL)"](PRIMARY UTF8_STRING)
>    apply(#[1026 "\300..$\207" [x-get-selection-internal] 9 "\n\n(fn SELECTION-SYMBOL TARGET-TYPE &optional TIME-STAMP TERMINAL)"] (PRIMARY UTF8_STRING))
>    gui-backend-get-selection(PRIMARY UTF8_STRING)
>    gui-get-selection(PRIMARY UTF8_STRING)
>    gui--selection-value-internal(PRIMARY)
>    gui-get-primary-selection()
>    mouse-yank-primary((mouse-2 (#<window 3 on b> 1 (490 . 502) 12948233 nil 1 (70 . 0) nil (490 . 502) (7 . 12))))
>    funcall-interactively(mouse-yank-primary (mouse-2 (#<window 3 on b> 1 (490 . 502) 12948233 nil 1 (70 . 0) nil (490 . 502) (7 . 12))))
>    call-interactively(mouse-yank-primary nil nil)
>    command-execute(mouse-yank-primary)
> --8<---------------cut here---------------end--------------->8---
> 
> Further pasting into the same Emacs (with the same selection) works just
> as it's supposed to work, so I am supecting something is uninitialized
> someplace that the first paste somehow rectifies except for triggering
> the guru meditation.

Offhand I have no idea, but could you try emacs-26.0.91?  It's available 
from my private Cygwin repo:

   http://sanibeltranquility.com/cygwin/

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