From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii 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: <8634iszpa5.fsf@gnu.org> <86y10ky9wf.fsf@gnu.org> <86wmg4xd2u.fsf@gnu.org> <86y10jwmsb.fsf@gnu.org> <86ldwiwvjc.fsf@gnu.org> 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 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: 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 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 ) 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 ) 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 ) 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 ) 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 Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Dec 2024 19:59:01 +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.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 ) 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 ) 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 ) 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: (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" 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:297224 Archived-At: > From: Ship Mints > Date: Mon, 16 Dec 2024 14:20:40 -0500 > Cc: Gerd Möllmann , > Eli Zaretskii , Jared Finder , 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.