From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ship Mints Newsgroups: gmane.emacs.bugs Subject: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled Date: Thu, 12 Dec 2024 15:31:00 -0500 Message-ID: References: <8634iszpa5.fsf@gnu.org> <86y10ky9wf.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000758d990629189a4c" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21227"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74833@debbugs.gnu.org, fgunbin@fastmail.fm To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 12 21:33:26 2024 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 1tLpsE-0005Jw-1C for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 12 Dec 2024 21:33:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tLprv-0005j5-RK; Thu, 12 Dec 2024 15:33:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tLprt-0005fX-91 for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2024 15:33:06 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tLprr-0005ah-EY for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2024 15:33:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:In-Reply-To:References:MIME-Version:To:Subject; bh=kQXLwiFRvh0rnTiPwq5S3DBmE5uBziJ0/vNq3ekL4Sg=; b=r6pI/0a1dvzZvnBPU74uT6cdrt9Uo+dTXc7sxr/eCCWK9P9zmT6rSs0/wXCYowrL6o2X3O05ZSLRIBBp6wvyDYYb4EkSCMrVhpyJiNY8KkCCplGx8BuZrmxEXnWgFv3FQQmdepce1PaCUdP9A0MNwjDk/F+i1MLcqMCziWl0Ni83IORDUGSrtjrkt/iXQGU7lMiFM88bbFHHhtmgsCu7hcEdXK/vGUrwJi05V6VrShOdfkvzyqrlA0PB/kt+GCy8AmIPTN154KlkIBHXCN16fkjZlzVbXLx9l3F73f+jgYYiNA9jbnaBnO11AYj2EWnNd4E24ewMLxnBkVNnKrUe9Q==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tLprq-0007Zf-Mx for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2024 15:33:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ship Mints Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Dec 2024 20:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74833 X-GNU-PR-Package: emacs Original-Received: via spool by 74833-submit@debbugs.gnu.org id=B74833.173403557629099 (code B ref 74833); Thu, 12 Dec 2024 20:33:02 +0000 Original-Received: (at 74833) by debbugs.gnu.org; 12 Dec 2024 20:32:56 +0000 Original-Received: from localhost ([127.0.0.1]:40527 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLprj-0007ZH-QR for submit@debbugs.gnu.org; Thu, 12 Dec 2024 15:32:56 -0500 Original-Received: from mail-ed1-f50.google.com ([209.85.208.50]:52427) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLprh-0007Yw-QO for 74833@debbugs.gnu.org; Thu, 12 Dec 2024 15:32:55 -0500 Original-Received: by mail-ed1-f50.google.com with SMTP id 4fb4d7f45d1cf-5d0d32cd31aso1176181a12.0 for <74833@debbugs.gnu.org>; Thu, 12 Dec 2024 12:32:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734035508; x=1734640308; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=kQXLwiFRvh0rnTiPwq5S3DBmE5uBziJ0/vNq3ekL4Sg=; b=U7coZQ9TLfXLU1v1BmMGKo24yMWtcV8H8Ae7756re1vMePQc669kmUv/AU2zbwglCy i58mFwvlp0ZvsTYbD8gl83nqywiIQyLzvoVWF9qeGk19y9AB+g8Wcn6OXgU8NbVNNnam t+ofzij4V1tBBQAV7jZwAdr87YXE7/YRTFlLLy018PtvVOPbKLLkMQHEKUkJ8oBc29k/ 2euhqeo/uuNf31vig0+3j7/B+Ae4LGj/EkPGXw8INPyeEMvIf2jDSgMCfDN9zJlRhWza SKgsozqh5PQStAu0/ZtYNlBZ1qKMtIGE9eIQrIfCwn0hIe/kwFWfcr3tlaJZS4T7FoY6 UzxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734035508; x=1734640308; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=kQXLwiFRvh0rnTiPwq5S3DBmE5uBziJ0/vNq3ekL4Sg=; b=ILE+2fXYNBY24XkayrJee6Rt4YRYx3Xa68jVE2/f8FxUPcGZvpbBxi7HhcPSl6JL/h CTtUibVNnE+G/p8MC8WExdUEOAuA46rhWtK+QzvG1xXLzD9B0uVbMsh0gaP8xsgYXsLk P59agMgwA+5agai85WIErA/KuzP3HXTfUbnvaK6w271fwpizxGRCARzobZaZw4ruULgn Eb1t8z4eUaFAQ4NHG9H6O4wnwuc+DXA4MEd2vQYT8M1xCGiLDyB8qcIM06AJxyAtb9VC A7GeebdFMULGOo3dyOzk721MsMI/oKgD4FzeteCcreZF19DLIkfxaUbJiVZ/smiAsYWG mx3g== X-Forwarded-Encrypted: i=1; AJvYcCXIXhOHZo9JKcjDcOm3NRurG+K7spC72E736oOJ6X2q+9OrockpkcV4sDaVUv53Ezo4HlL6/w==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzuNKRRo0t6aY80X6Q6ciGrNOiPxnR2BC7nlCl+pZJdG3/3haOl dPxBhq4Y044thY8d+GQ/96X4z5Hh2moJ3LvN+OqdKCUh7zeK6xEv/r8IkfNGnmt8zyoJjazFKSn bX/qnNrfugCQzFuSLq6OWrBqNJt0= X-Gm-Gg: ASbGncthrgxoXmlinW1KxMnx+EteAqdYvT4uTrjyel9gAjzOVSovpokETmjTCgeYUPO UZjo909eIbAkjQ/y5PLxLtJghM4H+J3OaGYki/g== X-Google-Smtp-Source: AGHT+IGy6cOXvUxGfwM8E5D/KTq8BEdtTSp1EIUsST+VulDOPCqW8sDl+VQXLQtfIk7R1OPQr5an5maIPmW0Wqgt51I= X-Received: by 2002:a05:6402:371b:b0:5d0:ced8:d22d with SMTP id 4fb4d7f45d1cf-5d633bb7fb9mr3287083a12.22.1734035507611; Thu, 12 Dec 2024 12:31:47 -0800 (PST) In-Reply-To: <86y10ky9wf.fsf@gnu.org> 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:296949 Archived-At: --000000000000758d990629189a4c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I have xterm-mouse-mode enabled when in tty mode on macOS and it does work for clicking/selecting but this is independent of integrating the kill ring with the pasteboard. I am unaware of how to test the completeness of the xterm mouse protocol support, however. On Thu, Dec 12, 2024 at 2:32=E2=80=AFPM Eli Zaretskii wrote: > > From: Ship Mints > > Date: Thu, 12 Dec 2024 14:18:47 -0500 > > Cc: Filipp Gunbin , 74833@debbugs.gnu.org > > > > It supports a subset of mouse behavior via this user setting: > > > > > https://support.apple.com/guide/terminal/turn-on-mouse-reporting-trmlc697= 28a5/2.12/mac/11.0 > > That doesn't tell enough. xterm.el and xterm-mouse assume full > support for the xterm protocols, so partial support could well explain > why things don't work. > > In general, I don't recommend turn on xterm features on terminals > other than xterm, unless they are faithful emulations of xterm. > --000000000000758d990629189a4c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I have xterm-mouse-mode enabled=C2=A0when in tty mode on macOS and it do= es work for clicking/selecting but this is independent of integrating the k= ill ring with the pasteboard. I am unaware of how to test the completeness = of the xterm mouse protocol support, however.

On= Thu, Dec 12, 2024 at 2:32=E2=80=AFPM Eli Zaretskii <eliz@gnu.org> wrote:
> From: Ship Mints <shipmints@gmail.com>
> Date: Thu, 12 Dec 2024 14:18:47 -0500
> Cc: Filipp Gunbin <fgunbin@fastmail.fm>, 74833@debbugs.gnu.org
>
> It supports a subset of mouse behavior via this user setting:
>
> http= s://support.apple.com/guide/terminal/turn-on-mouse-reporting-trmlc69728a5/2= .12/mac/11.0

That doesn't tell enough.=C2=A0 xterm.el and xterm-mouse assume full support for the xterm protocols, so partial support could well explain
why things don't work.

In general, I don't recommend turn on xterm features on terminals
other than xterm, unless they are faithful emulations of xterm.
--000000000000758d990629189a4c--