From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#29357: Cut and paste problems on Linux on a text virtual console no longer works Date: Sun, 16 Aug 2020 08:46:40 -0700 Message-ID: References: <20200815085256.65438.qmail@mail.muc.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15398"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 29357@debbugs.gnu.org To: Alan Mackenzie , "Dr.Michael L.Dowling" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 16 17:47:16 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k7KsO-0003ud-BS for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 16 Aug 2020 17:47:16 +0200 Original-Received: from localhost ([::1]:59986 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k7KsN-0008NU-Dm for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 16 Aug 2020 11:47:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59470) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k7KsA-0008NF-A6 for bug-gnu-emacs@gnu.org; Sun, 16 Aug 2020 11:47:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46681) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k7KsA-0004tG-01 for bug-gnu-emacs@gnu.org; Sun, 16 Aug 2020 11:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k7Ks9-0001lX-TH for bug-gnu-emacs@gnu.org; Sun, 16 Aug 2020 11:47:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Aug 2020 15:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29357 X-GNU-PR-Package: emacs Original-Received: via spool by 29357-submit@debbugs.gnu.org id=B29357.15975928126772 (code B ref 29357); Sun, 16 Aug 2020 15:47:01 +0000 Original-Received: (at 29357) by debbugs.gnu.org; 16 Aug 2020 15:46:52 +0000 Original-Received: from localhost ([127.0.0.1]:58227 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7Ks0-0001lA-0P for submit@debbugs.gnu.org; Sun, 16 Aug 2020 11:46:52 -0400 Original-Received: from mail-yb1-f169.google.com ([209.85.219.169]:37397) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7Kru-0001ku-W9 for 29357@debbugs.gnu.org; Sun, 16 Aug 2020 11:46:50 -0400 Original-Received: by mail-yb1-f169.google.com with SMTP id e14so8072352ybf.4 for <29357@debbugs.gnu.org>; Sun, 16 Aug 2020 08:46:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=0eFySBWL0TOT6JrXXXZlOvWyRyaYzlZOso32H0ix6qY=; b=oC+44jezqi4iORJIrD5IIwwNvZI5WNm9vBoy3Ryuv8hFta3fQhK345g3rEMoxiSwPu ODBQnaRXa6dZifzEvSCJW7ni6ZrVIdF1sdZ5pXZwFpy/eKO7OtmfsGLgi+HRvl/ndvpW C2k/bepmZDj0nhJ8KDp2Eb2CjVN2cmarmNcvG+F7B+0YJbHv37+NK5+Opu5rDwox+Ivo L97E34VvfV+2DzcGC+Wc/lh+9BTn6y4jlNqrkyRyouTeLQEKHmS/LzOAJ2Ije11zSHQQ XZkt5WFfKRwZa9+zqwCmkWedVKfNTEfy+Etpp7lAvaKxJ3xjchO2IOCh/Zgg5Ev1/yop ycnw== X-Gm-Message-State: AOAM5300/1szDfXdfbPqg1SlJ9+NdIlGqLfYLEgzqErVF7ncW/BVDVe4 8B5rAaNVQ16oECcF8yUjopfXBzR5eZLUHplpSAM= X-Google-Smtp-Source: ABdhPJxnuU3JaOrc4ivj54u+haGghcpQBHwsL60Q9us7hRnpJCDcoXjk9j/BWBL7IKuiYO3QyqtSlRcvhd0SM49B7j0= X-Received: by 2002:a25:4609:: with SMTP id t9mr14967388yba.231.1597592801258; Sun, 16 Aug 2020 08:46:41 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 16 Aug 2020 08:46:40 -0700 In-Reply-To: <20200815085256.65438.qmail@mail.muc.de> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:185297 Archived-At: Hi Alan, Alan Mackenzie writes: > The problem with GPM and Emacs had been annoying me so much that I got > into the GPM source code in early 2016 to try and fix it. The conclusion > I came to then was that the GPM mouse works in two exclusive incompatible > ways: (i) it works on the virtual terminal; (ii) it works under the > control of an application, such as Emacs. These two modes don't interact > with eachother. > > Unfortunately, I didn't note down any of the precise details in GPM, but > the _only_ way to transfer text into or out of Emacs with GPM is first to > do M-x gpm-mouse-mode (to disable "application" mode), followed by normal > GPM operations on the screen. I actually have gpm-mouse-mode disabled by > default, since I don't need to use mouse facilities in Emacs. > > I did make a note about this in the Emacs manual on the page "Text-Only > Mouse". > > There are several annoyances with this way of working - if you've got > side-by-side windows, you've really got to get rid of all but the > pertinent window before being able to mark text with the mouse; when you > yank text in with the middle button, linefeeds misbehave, giving > indentation where none is wanted. For all that, having GPM is better > than not having it. This is very useful information, thank you. If I understand you correctly, this is a limitation in GPM, and not in Emacs. Maybe some interested party could report this as a feature request to GPM. BTW, maybe someone could test and see if this works with some other program that also splits the display to see if it has the same problem. I suppose that means that this bug should be closed? Or is there anything more we should do? Best regards, Stefan Kangas