#747170 emacs25: can't paste with the middle button in emacs running in a virtual terminal

#747170#5
Date:
2014-05-06 07:37:17 UTC
From:
To:
In a virtual terminal (VT), I can't paste in Emacs with the middle
button, while this works in the shell. I get the error:

x-get-selection: X selection unavailable for this frame

i.e. Emacs tries to get the X selection, while Emacs hasn't been run
under X window.

Since the paste works in the shell, Emacs doesn't have to do anything
special; it should just let the normal paste occur.

#747170#10
Date:
2014-05-06 07:49:18 UTC
From:
To:
Control: retitle -1 emacs24: can't paste with the middle button in a virtual terminal

And this doesn't occur when I run Emacs in an xterm without DISPLAY
set (I suppose that here, Emacs doesn't see the middle click at all).

#747170#17
Date:
2017-08-11 18:38:25 UTC
From:
To:
Dear submitter,

as the package emacs24 has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/871627

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

#747170#22
Date:
2017-08-12 12:32:20 UTC
From:
To:
This bug is still present in emacs25. The error message has slightly
changed to "No selection is available".

To reproduce, in a virtual terminal:

1. Double-click on a word with button 1 (left button).
   -> The word is selected and can be pasted outside Emacs with
   the middle button.
2. Run "emacs -Q".
3. Paste by clicking with button 2 (middle button).
   -> error "No selection is available".

or

1. Run "emacs -Q".
2. Double-click on a word with button 1 (left button).
   -> The word is selected.
3. Paste by clicking with button 2 (middle button).
   -> error "No selection is available".