From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii <eliz@gnu.org> 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: Mon, 16 Dec 2024 21:58:16 +0200 Message-ID: <86ed27pfhj.fsf@gnu.org> References: <m1cyhweqhe.fsf@fastmail.fm> <8634iszpa5.fsf@gnu.org> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@mail.gmail.com> <86y10ky9wf.fsf@gnu.org> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@mail.gmail.com> <86wmg4xd2u.fsf@gnu.org> <m1y10jo81o.fsf@fastmail.fm> <86y10jwmsb.fsf@gnu.org> <m1msgznx20.fsf@fastmail.fm> <86ldwiwvjc.fsf@gnu.org> <m2ldwi8uvx.fsf@gmail.com> <m1pllrtwq1.fsf@fastmail.fm> <m2jzbzfscp.fsf@gmail.com> <m1v7vjsavb.fsf@fastmail.fm> <CAN+1Hbo03URNb5dUVgiX8ofzrYiWG9VtB3AF9pjGvRxrMgyYDQ@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1569"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, jared@finder.org, 74833@debbugs.gnu.org, fgunbin@fastmail.fm To: Ship Mints <shipmints@gmail.com> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 16 20:59:24 2024 Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org> 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 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>) id 1tNHFU-0000GF-47 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 16 Dec 2024 20:59:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <bug-gnu-emacs-bounces@gnu.org>) id 1tNHFA-0005Ji-3h; Mon, 16 Dec 2024 14:59:04 -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 <Debian-debbugs@debbugs.gnu.org>) id 1tNHF8-0005JP-Bz for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2024 14:59:02 -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 <Debian-debbugs@debbugs.gnu.org>) id 1tNHF8-0000E1-3A for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2024 14:59:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-version:References:In-Reply-To:From:Date:To:Subject; bh=DyZdANkTfuSzNpMr01CL+SMLZOd46IyQT1op44OBqSw=; b=E9VwzqCPEE6JZqdpDkiHn9wbUKNon3mC6SHDiaPT4BvFs819s5BX/OC1ZcvZiQlMKExvTnGU30PilZa4ct1ZybYsQyD/7veYGsP8WtSDEbIWlCYFfpMfWrhxlGYKNFRLLR6RtBqQvgMw1RpAfpAo6Dt04MO6LQfmj2/lI6UoeANoNy41zNN0UUKxmT2lEhgBgBoyDMzolSn44rKJdaMhJYtFRF4aTb3+PZ3JV0BboA6FveMzRuspXK4biLjB0Q9TH4JZTvVbu90T5tj0uQ97Z+78wzwsLqtKbb8jqtKQSHpa5uOt5FGuuLohpaEhbcGUJvoqQYu/b2PqGgpgEA65NA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tNHF7-0006Hg-Sx for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2024 14:59:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii <eliz@gnu.org> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Dec 2024 19:59:01 +0000 Resent-Message-ID: <handler.74833.B74833.173437910724079@debbugs.gnu.org> 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.173437910724079 (code B ref 74833); Mon, 16 Dec 2024 19:59:01 +0000 Original-Received: (at 74833) by debbugs.gnu.org; 16 Dec 2024 19:58:27 +0000 Original-Received: from localhost ([127.0.0.1]:56320 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1tNHEZ-0006GI-7t for submit@debbugs.gnu.org; Mon, 16 Dec 2024 14:58:27 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:46070) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@gnu.org>) id 1tNHEX-0006Fx-Oh for 74833@debbugs.gnu.org; Mon, 16 Dec 2024 14:58:26 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@gnu.org>) id 1tNHES-0000D4-2V; Mon, 16 Dec 2024 14:58:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=DyZdANkTfuSzNpMr01CL+SMLZOd46IyQT1op44OBqSw=; b=cqGr1PTDlihSP2cEf+gI Gyp1V6LcXSvWCwm5//DlsyBPd/aWIhmyIfZYrdgjA2g8Y1Lpd213qzqdDbGCZ0WK+S5qbQGnTWfLO sL8pomaaMej/+eUWoDaCh4rHQBrR/KRCOn9nV0TTOPvrhbXQgV7yCVvwKCufdjGxR0mkLSMqOLPdX 4jetP88YGHJB1QLaQO1xFZ5Y4ObjhSv5KzoLrc7/USKT/Z2kdvTilEvJIZfqiwUxHFDKCeUnIB/Ry UINhQIX+psTVE1tQBQvL4KFTnujMNIoOVeMirnrh7ILzL+cOfHVbT34nUy4xWI3zCOyOJpl0ZJB1b WYJv6n0g6upWYg==; In-Reply-To: <CAN+1Hbo03URNb5dUVgiX8ofzrYiWG9VtB3AF9pjGvRxrMgyYDQ@mail.gmail.com> (message from Ship Mints on Mon, 16 Dec 2024 14:20:40 -0500) 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" <bug-gnu-emacs.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>, <mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/bug-gnu-emacs> List-Post: <mailto:bug-gnu-emacs@gnu.org> List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>, <mailto:bug-gnu-emacs-request@gnu.org?subject=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:297224 Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/297224> > From: Ship Mints <shipmints@gmail.com> > Date: Mon, 16 Dec 2024 14:20:40 -0500 > Cc: Gerd Möllmann <gerd.moellmann@gmail.com>, > Eli Zaretskii <eliz@gnu.org>, Jared Finder <jared@finder.org>, 74833@debbugs.gnu.org > > I think about it like this: if Terminal.app successfully passed through all its keys (which it can be configured to > do), Command-C would appear in Emacs as M-c but it doesn't. Does it surprise you that Command-P offers > the print dialog when Emacs is running in the terminal? This is no different than Command-C. That > Terminal.app supersedes Emacs is not an Emacs problem, it's Terminal's problem. This feels like > documentation issue not something to cure with default Emacs configuration. > > Other terminal applications like iTerm or WezTerm can be programmed similarly to pass through all keys > that you want them to with modifiers, but by default, they don't. These can't be Emacs's problem either. > Same with Emacs run via ssh with tmux on the other side. That's a "default" set of features offered on many > systems and their configuration is not Emacs's problem. I see your points, but the fact remains that our enabling of xterm-mouse-mode triggered these problems where previously there were none. > This issue sounds like an "impedance mismatch" to my ears, even if it surprises some users and requires > some configuration depending on your specific goals and should perhaps be better documented. If a default behavior needs documentation to explain it, it is usually a sign of a not-very-good default, IME.