public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Pasting from GNU/Linux into X11 Emacs running on Cygwin
@ 2018-02-27 20:21 Achim Gratz
  2018-02-28 14:05 ` Ken Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Achim Gratz @ 2018-02-27 20:21 UTC (permalink / raw)
  To: cygwin


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.\x04.\x04$\207" [x-get-selection-internal] 9 "\n\n(fn SELECTION-SYMBOL TARGET-TYPE &optional TIME-STAMP TERMINAL)"](PRIMARY UTF8_STRING)
  apply(#[1026 "\300.\x04.\x04$\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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Pasting from GNU/Linux into X11 Emacs running on Cygwin
  2018-02-27 20:21 Pasting from GNU/Linux into X11 Emacs running on Cygwin Achim Gratz
@ 2018-02-28 14:05 ` Ken Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Ken Brown @ 2018-02-28 14:05 UTC (permalink / raw)
  To: cygwin

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.\x04.\x04$\207" [x-get-selection-internal] 9 "\n\n(fn SELECTION-SYMBOL TARGET-TYPE &optional TIME-STAMP TERMINAL)"](PRIMARY UTF8_STRING)
>    apply(#[1026 "\300.\x04.\x04$\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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-02-28 14:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-27 20:21 Pasting from GNU/Linux into X11 Emacs running on Cygwin Achim Gratz
2018-02-28 14:05 ` Ken Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).