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:from:to:subject:date:message-id:mime-version
	:content-type:content-transfer-encoding; q=dns; s=default; b=n7z
	laXTnrrlD5wddf71zELUMZ8H/qoRnw3XgsaaArqyEHNowfDIaq0P11fvdoI+nS87
	sRHJ1eeSv5LO4Sj6qe0/fBPTMoFi6HGP6jDVw/LvTraGZjzcoOifyNunYIgzfTha
	QKNPUqoV9xCx4ZZR1eqmlXiqynGPcDSRhiA1YSmk=
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:from:to:subject:date:message-id:mime-version
	:content-type:content-transfer-encoding; s=default; bh=PXvaH3lZR
	T5vFqYvgG00AT5ofqA=; b=CCjUSmVtRKeuEns2pjCoX62IoqALgkhXogNkd5EcG
	+qtNUC2s2FIN2pNPFj8EjBMG3xp/kMFzyznfBPrD1ISjzc9YyvMPYgB+gg789EiE
	VLIzwsB6+JexHORDtuYZDi5BtWwEhetuDql4bu2nvmCT+ONKmsXeMTzxbxdQ7F2d
	hs=
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.4 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,SPF_PASS autolearn=ham version=3.3.2 spammy=Cg, spin, PRIMARY, Hx-spam-relays-external:ESMTPA
X-HELO: vsmx012.vodafonemail.xion.oxcs.net
From: Achim Gratz <Stromeko AT nexgo DOT de>
To: cygwin AT cygwin DOT com
Subject: Pasting from GNU/Linux into X11 Emacs running on Cygwin
Date: Tue, 27 Feb 2018 21:21:33 +0100
Message-ID: <87po4qmbea.fsf@Rainer.invalid>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
X-VADE-STATUS: LEGIT


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.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Wavetables for the Terratec KOMPLEXER:
http://Synth.Stromeko.net/Downloads.html#KomplexerWaves

--
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