From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 62490 invoked by alias); 28 Feb 2018 14:05:54 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 62482 invoked by uid 89); 28 Feb 2018 14:05:54 -0000 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 Received: from limerock04.mail.cornell.edu (HELO limerock04.mail.cornell.edu) (128.84.13.244) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 28 Feb 2018 14:05:52 +0000 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite4.serverfarm.cornell.edu [10.16.197.9]) by limerock04.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id w1SE5orq029159 for ; Wed, 28 Feb 2018 09:05:50 -0500 Received: from [192.168.0.15] (mta-68-175-129-7.twcny.rr.com [68.175.129.7] (may be forged)) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id w1SE5n8f028756 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Wed, 28 Feb 2018 09:05:50 -0500 Subject: Re: Pasting from GNU/Linux into X11 Emacs running on Cygwin To: cygwin@cygwin.com References: <87po4qmbea.fsf@Rainer.invalid> From: Ken Brown Message-ID: <0d614d52-8715-122a-f702-2672d89877bb@cornell.edu> Date: Wed, 28 Feb 2018 14:05:00 -0000 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> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Cornell-Gauge: Gauge=XXXXX X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none; X-IsSubscribed: yes X-SW-Source: 2018-02/txt/msg00322.txt.bz2 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 (# 1 (490 . 502) 12948233 nil 1 (70 . 0) nil (490 . 502) (7 . 12)))) > funcall-interactively(mouse-yank-primary (mouse-2 (# 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