From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.bugs Subject: bug#24421: 25.1.50; mouse-yank-primary should be bound to down-mouse-2 Date: Thu, 21 Nov 2019 21:41:51 +0100 Message-ID: References: <871ru1mp6e.fsf@marxist.se> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="264935"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 24421@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 21 21:43:17 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iXtIK-0016me-DT for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Nov 2019 21:43:16 +0100 Original-Received: from localhost ([::1]:45780 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iXtIJ-0007Eo-8J for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Nov 2019 15:43:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44535) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iXtIB-0007A3-Dr for bug-gnu-emacs@gnu.org; Thu, 21 Nov 2019 15:43:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iXtIA-0001PG-6A for bug-gnu-emacs@gnu.org; Thu, 21 Nov 2019 15:43:07 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44562) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iXtIA-0001P9-32 for bug-gnu-emacs@gnu.org; Thu, 21 Nov 2019 15:43:06 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iXtI6-0002Dx-1J for bug-gnu-emacs@gnu.org; Thu, 21 Nov 2019 15:43:05 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Nov 2019 20:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24421 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 24421-submit@debbugs.gnu.org id=B24421.15743689318489 (code B ref 24421); Thu, 21 Nov 2019 20:43:01 +0000 Original-Received: (at 24421) by debbugs.gnu.org; 21 Nov 2019 20:42:11 +0000 Original-Received: from localhost ([127.0.0.1]:53383 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iXtHH-0002Cr-5z for submit@debbugs.gnu.org; Thu, 21 Nov 2019 15:42:11 -0500 Original-Received: from mail-oi1-f180.google.com ([209.85.167.180]:44093) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iXtHE-0002Cd-Le for 24421@debbugs.gnu.org; Thu, 21 Nov 2019 15:42:09 -0500 Original-Received: by mail-oi1-f180.google.com with SMTP id s71so4441458oih.11 for <24421@debbugs.gnu.org>; Thu, 21 Nov 2019 12:42:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=DL9SS4GHE/u8QyMgh46xbvVikIHWk77zJAotBm7iwxA=; b=SOfffVKTYEtuUueKmTsGnF3daAvpqc0jNPiRE7FiUsNNHaPveuAgHpL/vK+kr1MFV0 MvZeU1AKuETAeIHkFbHZS+4Sdx5/xRaq3MoLpNj7ygFgUDKRpWP+TutS++iGTdR8jzqu EaPP4gs5zqHbYBSPY7NJBEs9W1+lbqNvcHgL0rOcMvIGF/uE0PLFNomEz16ILVW2c3+H pC+fn0xDOGeTTIUnEHVmJV5gnXvprKT5gPSJjuY+DTbZ9yz27VcQJ3KfoOAvV3wyyv4s YiWib9piXLuzqibp4ocdDBy4zHXBfV0ZC0z0478iRYMcuiqqTORNE0Cv2eQxI12aUd3r nWWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DL9SS4GHE/u8QyMgh46xbvVikIHWk77zJAotBm7iwxA=; b=J84I8zOkXUZ6RsLM7roaICXsgfcGUvm4zFzkieKIHbR7kYfUHPmsmt+zMRRKtHDqVA S1HNcQBS97+z3agaLGEGroxSmWezENth4AHmfKlBBs26BTwr/79N2qbwpTlvg1OXgYPU 0CitUrSEtsJ59VHgXw9Cot6K7aTzqv7bf8g8ELkAZaeFvDZ+nzvMarDJH9Kzwv6MU6ao so4N6OzIjQoVhyUv2sVAilf56QjjYvDC7xdUHbm5rTBxh+tFl2Re6irxtqCQlcWaEEfw aLWKPflq19J2t8tUjFMAqVdi0WR7+L5Wl4zxSDR0W1KQB2jxWMThM6mnpH2NbltTtU/q IzVw== X-Gm-Message-State: APjAAAXEQUYHfklssQm2vXWz2hWFbk4iQD7rMiiE9yJrg1RQWogFGJjz 0sve2FOQ5qYPQ+oIQbHxNm5A2XaSAVpIZ9LPf2I= X-Google-Smtp-Source: APXvYqyGn8j8CbQWGGGouChcdTz5zm95og2Wri5kG6UpQZXJca3AC6ZRb3yF5dZYtaqF4F708MlCUkALukzdSKoVBUE= X-Received: by 2002:aca:4d05:: with SMTP id a5mr9563252oib.170.1574368922836; Thu, 21 Nov 2019 12:42:02 -0800 (PST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:172159 Archived-At: Am Do., 21. Nov. 2019 um 21:36 Uhr schrieb Philipp Stephani : > > Am Do., 21. Nov. 2019 um 12:42 Uhr schrieb Stefan Kangas : > > > > Philipp Stephani writes: > > > > > Am Mi., 9. Okt. 2019 um 17:49 Uhr schrieb Stefan Kangas : > > >> > > >> Philipp Stephani writes: > > >> > > >> > At least in all the Gnome apps I've tried, the primary X selection is > > >> > already inserted on the middle mouse button down event, not the up > > >> > event. Therefore I'd suggest to change the binding of > > >> > mouse-yank-primary from mouse-2 to down-mouse-2. This might even > > >> > partially solve the Gnome-Terminal issue described in > > >> > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=24420. > > >> > > >> I'm not seeing this in Firefox or calibre; the selection is inserted on > > >> the mouse button up event. xterm does the same. > > >> > > >> What applications did you test? > > > > > > I'll re-check once I have access to a machine with Gnome (in two weeks or so). > > > > That was five weeks ago, so here's a friendly reminder to look into > > this when you find the time. Thanks in advance. > > > > Hmm, I've checked now with GEdit and Gnome Terminal, and both now > paste on mouse up. So maybe the behavior in Gnome has changed? Nope, it hasn't. It's just that the middle button of my touchpad generates they KeyPress event on key release (!). With a different mouse the behavior is as described: In GEdit and Gnome Terminal, pasting happens on key press; in Emacs it happens on key release.