Pasting from GNU/Linux into X11 Emacs running on Cygwin

Ken Brown kbrown@cornell.edu
Wed Feb 28 14:05:00 GMT 2018


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



More information about the Cygwin mailing list