Received: (at 74833) by debbugs.gnu.org; 6 Jan 2025 18:25:57 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 06 13:25:57 2025 Received: from localhost ([127.0.0.1]:40029 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tUrnY-00033Z-ES for submit <at> debbugs.gnu.org; Mon, 06 Jan 2025 13:25:56 -0500 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:30442) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1tUrnU-00033F-Cw for 74833 <at> debbugs.gnu.org; Mon, 06 Jan 2025 13:25:53 -0500 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 49AF280964; Mon, 6 Jan 2025 13:25:45 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1736187944; bh=vpI1ivBdHp4bO5pxSAGvmRKbDwP/7Z0lMdW63fn+EsI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=NAp56HIBInNJb3q/PN6d6/6w1SoKom65WgORo/wqJy7io9Mj62v8lRtY06kLOMxrk yhvGUHWiEee1Dd1/ssbULWGOFoycprUxIC6rbTT89nZCR5jGP6CnZtIQdtkqBUANN+ 78NgNaJboFBjRWs63zU04n0NHfywNds6+3fwxjwc7uQDJXq5ujJxleSLaAfFxknsx1 fyT3L97F4BfWtn3hYWMyOOf/IHYLy+MauLkovDcdTsPegN3J4Vx8Yz/BtUNXlS6vDK /GmvZXBH1t0Uamqst2a0TAXMAvbkiKvOtI5/6Zrt0bs9zeiTxw03s5qBcmVhsPxARd YQSJ8gjyq3WuQ== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 51AD6806F8; Mon, 6 Jan 2025 13:25:44 -0500 (EST) Received: from alfajor (modemcable005.21-80-70.mc.videotron.ca [70.80.21.5]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 2016F12014F; Mon, 6 Jan 2025 13:25:44 -0500 (EST) From: Stefan Monnier <monnier@HIDDEN> To: Jared Finder <jared@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled In-Reply-To: <6b8d9d19697dae5f0b4a06920e559dc1@HIDDEN> (Jared Finder's message of "Thu, 02 Jan 2025 08:55:02 -0800") Message-ID: <jwvv7ureset.fsf-monnier+emacs@HIDDEN> References: <m1cyhweqhe.fsf@HIDDEN> <CAN+1HbqZE9TbEPdvZWK-r__K5y0=S4qJ_DCZaauVM=ioFRaBhQ@HIDDEN> <986a3eea465e13c57bcdd7ce8f27f99d@HIDDEN> <CAN+1HbonZyoWHHp6bpQvKYjyvV71ieACCZo4HeonZR_5+VxwcQ@HIDDEN> <E1tPDuC-0001ET-J1@HIDDEN> <864j2w6tz0.fsf@HIDDEN> <861pxy5zxk.fsf@HIDDEN> <CAN+1Hbp5MACbrKo3KTo5G0CXDo0v3kwSxes=Z3ZfJLsp-QB5Qg@HIDDEN> <86jzbq4i6x.fsf@HIDDEN> <CAN+1HbrZ=7x=FW8w5yd3RXf=gPcAdUHyyQXg31VuVPv1_uqgeg@HIDDEN> <86frme4exq.fsf@HIDDEN> <CAN+1Hbq0B-4aPQw3ar9yjntE=tmL7jWayyTT_r0Kmh35vs0SmA@HIDDEN> <ca51f813c6ef2977fa17d7129cd633cb@HIDDEN> <865xn5y2n0.fsf@HIDDEN> <5e102d7d29eba618874c0b41e9815b8d@HIDDEN> <86ldw0ur0h.fsf@HIDDEN> <eb5002c5d1b62da9501b7033295a6070@HIDDEN> <86h66nq7vh.fsf@HIDDEN> <83cf221bcf4fc4162c7401b9146d1961@HIDDEN> <867c7dljph.fsf@HIDDEN> <6b8d9d19697dae5f0b4a06920e559dc1@HIDDEN> Date: Mon, 06 Jan 2025 13:25:31 -0500 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL 0.070 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74833 Cc: 74833 <at> debbugs.gnu.org, rms@HIDDEN, gerd.moellmann@HIDDEN, shipmints@HIDDEN, Eli Zaretskii <eliz@HIDDEN>, fgunbin@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > +(defconst xterm--auto-xt-mouse-allowed-names > + (mapconcat (lambda (s) (concat "^" s "\\>")) > + '("Konsole" > + "WezTerm" > + ;; "XTerm" ;Disabled because OSC52 support is opt-in only. > + "iTerm2" ;OSC52 support has opt-in/out UI on first usage > + "kitty") > + "\\|") Sounds good, tho I'd use (concat "\\`" (regexp-opt '(...)) "\\>") > +(defconst xterm--auto-xt-mouse-allowed-types > + (mapconcat (lambda (s) (concat "^" s "$")) > + '("alacritty" > + "contour") > + "\\|") Same here (with \` and \') > + "Like `xterm--auto-xt-mouse-allowed-names', but for the terminal's type. > +This will get matched against the environment variable \"TERM\".") We should clarify if it's an "and" or an "or": if only one of the two vars matches, is the feature enabled or not? > @@ -907,7 +963,15 @@ xterm--init > > (when xterm-set-window-title > (xterm--init-frame-title)) > - (when xterm-mouse-mode > + (when (and (not xterm-mouse-mode-called) > + ;; Only automatically enable xterm mouse on terminals > + ;; confirmed to still support all critical editing > + ;; workflows (bug#74833). > + (or (string-match-p xterm--auto-xt-mouse-allowed-types > + (tty-type (selected-frame))) > + (and-let* ((name-and-version (xterm--query-name-and-version))) > + (string-match-p xterm--auto-xt-mouse-allowed-names > + name-and-version)))) > (xterm-mouse-mode 1)) > ;; Unconditionally enable bracketed paste mode: terminals that don't > ;; support it just ignore the sequence. - The above enables `xterm-mouse-mode` which will then proceed to *not* obey `xterm--auto-xt-mouse-allowed-*` on any further ttys used in the same session. IOW, I think the above test belongs in `turn-on-xterm-mouse-tracking-on-terminal` rather than here. - Maybe instead of `xterm-mouse-mode-called` we should test (eq xterm-mouse-mode 'when-safe) or maybe rename the var to something more explicit like `xterm-mouse-mode-only-when-safe`. - Of course, the previous code was also very weird: (when xterm-mouse-mode (xterm-mouse-mode 1)) says to enable the mode, but only when it's already enabled?! Stefan
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833-done) by debbugs.gnu.org; 4 Jan 2025 13:16:39 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 04 08:16:39 2025 Received: from localhost ([127.0.0.1]:53878 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tU418-0007ad-Nv for submit <at> debbugs.gnu.org; Sat, 04 Jan 2025 08:16:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41704) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tU413-0007aC-KL for 74833-done <at> debbugs.gnu.org; Sat, 04 Jan 2025 08:16:37 -0500 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@HIDDEN>) id 1tU40j-00034A-Lx; Sat, 04 Jan 2025 08:16:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=SSzDWxmDrsBvQc4mDGY+8w0oyDIVUgRqqtPMMWGlseY=; b=dE15Q4fSYKdK JtqDZockX4/Jix0e+aGWvYZQSA+d7lE85l5Jz6RQ8pjfI9943iZgkvEFpxF1to+JwwvDee8YiKicp Va2L+wq+SJpZqeQqJX8TD+wIuPccoa7tA+WMfBvyjMWWrhvpKzXL3gU0NIIm3NyrCnFMkzTM9ZW+h tszCPs+zEPeilr7J5f0aMpwUHUEepSwlmW4Xzyi4ShiqNdqlWFKxIOXoTp6uHvVFjD6oiaZjnzDpI mX366Gs80jgtWQf+Xeu6SCmOga7UUJQ7fcf8i2bXO7U/Ao8rbqvMx8IWHIegIryQYzrJr0EhIa+iG oCisGgRfSUReW8dWf8CM4A==; Date: Sat, 04 Jan 2025 15:15:55 +0200 Message-Id: <86sepyd8j8.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Jared Finder <jared@HIDDEN> In-Reply-To: <6b8d9d19697dae5f0b4a06920e559dc1@HIDDEN> (message from Jared Finder on Thu, 02 Jan 2025 08:55:02 -0800) Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> <86y10jwmsb.fsf@HIDDEN> <m1msgznx20.fsf@HIDDEN> <86ldwiwvjc.fsf@HIDDEN> <m2ldwi8uvx.fsf@HIDDEN> <m1pllrtwq1.fsf@HIDDEN> <m2jzbzfscp.fsf@HIDDEN> <m1v7vjsavb.fsf@HIDDEN> <CAN+1Hbo03URNb5dUVgiX8ofzrYiWG9VtB3AF9pjGvRxrMgyYDQ@HIDDEN> <86ed27pfhj.fsf@HIDDEN> <CAN+1HbqqUoa1KK4xNGz1CO7mrmk=NTnFei1Fr8qchccbLqC2Zg@HIDDEN> <86a5cvpeiv.fsf@HIDDEN> <m2seqndlx7.fsf@HIDDEN> <86y10eo5h6.fsf@HIDDEN> <CAN+1HbqZE9TbEPdvZWK-r__K5y0=S4qJ_DCZaauVM=ioFRaBhQ@HIDDEN> <986a3eea465e13c57bcdd7ce8f27f99d@HIDDEN> <CAN+1HbonZyoWHHp6bpQvKYjyvV71ieACCZo4HeonZR_5+VxwcQ@HIDDEN> <E1tPDuC-0001ET-J1@HIDDEN> <864j2w6tz0.fsf@HIDDEN> <861pxy5zxk.fsf@HIDDEN> <CAN+1Hbp5MACbrKo3KTo5G0CXDo0v3kwSxes=Z3ZfJLsp-QB5Qg@HIDDEN> <86jzbq4i6x.fsf@HIDDEN> <CAN+1HbrZ=7x=FW8w5yd3RXf=gPcAdUHyyQXg31VuVPv1_uqgeg@HIDDEN> <86frme4exq.fsf@HIDDEN> <CAN+1Hbq0B-4aPQw3ar9yjntE=tmL7jWayyTT_r0Kmh35vs0SmA@HIDDEN> <ca51f813c6ef2977fa17d7129cd633cb@HIDDEN> <865xn5y2n0.fsf@HIDDEN> <5e102d7d29eba618874c0b41e9815b8d@HIDDEN> <86ldw0ur0h.fsf@HIDDEN> <eb5002c5d1b62da9501b7033295a6070@HIDDEN> <86h66nq7vh.fsf@HIDDEN> <83cf221bcf4fc4162c7401b9146d1961@HIDDEN> <867c7dljph.fsf@HIDDEN> <6b8d9d19697dae5f0b4a06920e559dc1@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74833-done Cc: gerd.moellmann@HIDDEN, 74833-done <at> debbugs.gnu.org, fgunbin@HIDDEN, shipmints@HIDDEN, rms@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Date: Thu, 02 Jan 2025 08:55:02 -0800 > From: Jared Finder <jared@HIDDEN> > Cc: shipmints@HIDDEN, rms@HIDDEN, gerd.moellmann@HIDDEN, > fgunbin@HIDDEN, 74833 <at> debbugs.gnu.org > > On 2025-01-02 00:10, Eli Zaretskii wrote: > >> Date: Wed, 01 Jan 2025 23:10:14 -0800 > >> From: Jared Finder <jared@HIDDEN> > >> Cc: shipmints@HIDDEN, rms@HIDDEN, gerd.moellmann@HIDDEN, > >> fgunbin@HIDDEN, 74833 <at> debbugs.gnu.org > >> > >> Patch attached. > > > > Thanks. This LGTM, but please modify this comment: > > > >> +(defun xterm--query-name-and-version () > >> + "Get the terminal name and version string (XTVERSION)." > >> + ;; The default timeout time causes a noticeable startup delay on > >> + ;; terminals that ignore the query. > >> + (let ((xterm-query-timeout 0.1)) > > > > to the effect that we use non-default value of 0.1 because the default > > (larger) value causes a noticeable startup delay. It took me a few > > seconds to understand the intent; initially I thought that you were > > describing what happens when 0.1 is used. > > > >> I also noticed outdated text in the docstring for xterm-mouse-mode and > >> attached a second patch to delete that text. > >> [...] > >> -Turn it on to use Emacs mouse commands, and off to use xterm mouse > >> commands. > >> -This works in terminal emulators compatible with xterm. It only > >> -works for simple uses of the mouse. Basically, only non-modified > >> -single clicks are supported. When turned on, the normal xterm > >> -mouse functionality for such clicks is still available by holding > >> -down the SHIFT key while pressing the mouse button." > >> +Turn it on to use Emacs mouse commands, and off to use xterm mouse > >> +commands. This works in terminal emulators compatible with xterm. > >> When > >> +turned on, the normal xterm mouse functionality for such clicks is > >> still > >> +available by holding down the SHIFT key while pressing the mouse > >> button." > > > > This is also okay, but please add to the doc strings a reference to > > sterm--init where we verify that the terminal is compatible with > > xterm-mouse-mode. > > Comments addressed. I've collapsed both patches down to one (it was > easier for me). Thanks, installed on master, and closing the bug.
Filipp Gunbin <fgunbin@HIDDEN>
:Eli Zaretskii <eliz@HIDDEN>
:Received: (at 74833) by debbugs.gnu.org; 2 Jan 2025 16:55:08 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 02 11:55:08 2025 Received: from localhost ([127.0.0.1]:46327 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tTOTT-00030A-G2 for submit <at> debbugs.gnu.org; Thu, 02 Jan 2025 11:55:08 -0500 Received: from greenhill.hpalace.com ([192.155.80.58]:49168) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <jared@HIDDEN>) id 1tTOTQ-0002wJ-GG for 74833 <at> debbugs.gnu.org; Thu, 02 Jan 2025 11:55:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=finder.org; s=2018; t=1735836903; bh=yfpVpSuz5lyhphv5uCu2x92xrrHiQSPHzjdYMcEI4/4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=lvX14L0QsAsJ9/rjygLzXvzz4Bhf+uZ8cMu7gb2os5o0MRyXXHO9BbhZqOkv1GiYP uawq0p55qyCFFW8k1WGjMXEZaHInfdSbv4Hod8nzaGhkH0VUUCjchy9tcRXnX8gZbD cj/o0mvzOABkfCzuycNZWc89ms/R8TowzOWVRemyf6lFqUBsPjMTC8c6typO8M0Hgt btxEmJoy87DWfpKwdVGcB24OeO0zTdsFCdZRgED6PdFz3srMrNJO4G1g/7mhZdyOKt 9/8RXNPrephpfHH+TjTxAm3Xbh/GZC3MlAlVMieFx5abVXl8d0+9RBFmyG/RStqNRu jewptQqZsmyvA== Received: from mail.finder.org (unknown [192.155.80.58]) by greenhill.hpalace.com (Postfix) with ESMTPSA id 01D002F31; Thu, 2 Jan 2025 16:55:03 +0000 (UTC) MIME-Version: 1.0 Date: Thu, 02 Jan 2025 08:55:02 -0800 From: Jared Finder <jared@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled In-Reply-To: <867c7dljph.fsf@HIDDEN> References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> <86y10jwmsb.fsf@HIDDEN> <m1msgznx20.fsf@HIDDEN> <86ldwiwvjc.fsf@HIDDEN> <m2ldwi8uvx.fsf@HIDDEN> <m1pllrtwq1.fsf@HIDDEN> <m2jzbzfscp.fsf@HIDDEN> <m1v7vjsavb.fsf@HIDDEN> <CAN+1Hbo03URNb5dUVgiX8ofzrYiWG9VtB3AF9pjGvRxrMgyYDQ@HIDDEN> <86ed27pfhj.fsf@HIDDEN> <CAN+1HbqqUoa1KK4xNGz1CO7mrmk=NTnFei1Fr8qchccbLqC2Zg@HIDDEN> <86a5cvpeiv.fsf@HIDDEN> <m2seqndlx7.fsf@HIDDEN> <86y10eo5h6.fsf@HIDDEN> <CAN+1HbqZE9TbEPdvZWK-r__K5y0=S4qJ_DCZaauVM=ioFRaBhQ@HIDDEN> <986a3eea465e13c57bcdd7ce8f27f99d@HIDDEN> <CAN+1HbonZyoWHHp6bpQvKYjyvV71ieACCZo4HeonZR_5+VxwcQ@HIDDEN> <E1tPDuC-0001ET-J1@HIDDEN> <864j2w6tz0.fsf@HIDDEN> <861pxy5zxk.fsf@HIDDEN> <CAN+1Hbp5MACbrKo3KTo5G0CXDo0v3kwSxes=Z3ZfJLsp-QB5Qg@HIDDEN> <86jzbq4i6x.fsf@HIDDEN> <CAN+1HbrZ=7x=FW8w5yd3RXf=gPcAdUHyyQXg31VuVPv1_uqgeg@HIDDEN> <86frme4exq.fsf@HIDDEN> <CAN+1Hbq0B-4aPQw3ar9yjntE=tmL7jWayyTT_r0Kmh35vs0SmA@HIDDEN> <ca51f813c6ef2977fa17d7129cd633cb@HIDDEN> <865xn5y2n0.fsf@HIDDEN> <5e102d7d29eba618874c0b41e9815b8d@HIDDEN> <86ldw0ur0h.fsf@HIDDEN> <eb5002c5d1b62da9501b7033295a6070@HIDDEN> <86h66nq7vh.fsf@HIDDEN> <83cf221bcf4fc4162c7401b9146d1961@HIDDEN> <867c7dljph.fsf@HIDDEN> Message-ID: <6b8d9d19697dae5f0b4a06920e559dc1@HIDDEN> X-Sender: jared@HIDDEN Content-Type: multipart/mixed; boundary="=_4938d436ede1b79cf6a46f2b82a9d945" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74833 Cc: gerd.moellmann@HIDDEN, 74833 <at> debbugs.gnu.org, fgunbin@HIDDEN, shipmints@HIDDEN, rms@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --=_4938d436ede1b79cf6a46f2b82a9d945 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On 2025-01-02 00:10, Eli Zaretskii wrote: >> Date: Wed, 01 Jan 2025 23:10:14 -0800 >> From: Jared Finder <jared@HIDDEN> >> Cc: shipmints@HIDDEN, rms@HIDDEN, gerd.moellmann@HIDDEN, >> fgunbin@HIDDEN, 74833 <at> debbugs.gnu.org >> >> Patch attached. > > Thanks. This LGTM, but please modify this comment: > >> +(defun xterm--query-name-and-version () >> + "Get the terminal name and version string (XTVERSION)." >> + ;; The default timeout time causes a noticeable startup delay on >> + ;; terminals that ignore the query. >> + (let ((xterm-query-timeout 0.1)) > > to the effect that we use non-default value of 0.1 because the default > (larger) value causes a noticeable startup delay. It took me a few > seconds to understand the intent; initially I thought that you were > describing what happens when 0.1 is used. > >> I also noticed outdated text in the docstring for xterm-mouse-mode and >> attached a second patch to delete that text. >> [...] >> -Turn it on to use Emacs mouse commands, and off to use xterm mouse >> commands. >> -This works in terminal emulators compatible with xterm. It only >> -works for simple uses of the mouse. Basically, only non-modified >> -single clicks are supported. When turned on, the normal xterm >> -mouse functionality for such clicks is still available by holding >> -down the SHIFT key while pressing the mouse button." >> +Turn it on to use Emacs mouse commands, and off to use xterm mouse >> +commands. This works in terminal emulators compatible with xterm. >> When >> +turned on, the normal xterm mouse functionality for such clicks is >> still >> +available by holding down the SHIFT key while pressing the mouse >> button." > > This is also okay, but please add to the doc strings a reference to > sterm--init where we verify that the terminal is compatible with > xterm-mouse-mode. Comments addressed. I've collapsed both patches down to one (it was easier for me). -- MJF --=_4938d436ede1b79cf6a46f2b82a9d945 Content-Transfer-Encoding: base64 Content-Type: text/x-diff; name=0001-Don-t-always-enable-xterm-mouse-mode-bug-74833.patch Content-Disposition: attachment; filename=0001-Don-t-always-enable-xterm-mouse-mode-bug-74833.patch; size=10451 RnJvbSAwZDgwYzMyNWI0NTg4NzZkM2U3MTlhMTgxYTk5OTI1ZDYxMWNhZGI1IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBKYXJlZCBGaW5kZXIgPGphcmVkQGZpbmRlci5vcmc+CkRhdGU6 IFdlZCwgMSBKYW4gMjAyNSAyMjozNjoyNSAtMDgwMApTdWJqZWN0OiBbUEFUQ0hdIERvbid0IGFs d2F5cyBlbmFibGUgeHRlcm0tbW91c2UtbW9kZSAoYnVnIzc0ODMzKQoKTWFueSB0ZXJtaW5hbHMg c2V0IHRoZSBlbnZpcm9ubWVudCB2YXJpYWJsZSBURVJNIHRvICJ4dGVybSIgZXZlbiB3aGVuIHRo ZXkKZG9uJ3Qgc3VwcG9ydCBhbGwgZnVuY3Rpb25hbGl0eSBpbiB4dGVybS4gIFRoaXMgbWVhbnMg dGhhdCBlbmFibGluZwp4dGVybS1tb3VzZS1tb2RlIGNhbiBicmVhayBjcml0aWNhbCBlZGl0aW5n IHdvcmtmbG93cyBsaWtlIGNvcHkvcGFzdGUuICBUaGlzCmFkZHMgY2hlY2tzIGZvciB0aGUgc3Bl Y2lmaWMgdGVybWluYWwgRW1hY3MgaXMgcnVuIGluIGFuZCBvbmx5IGVuYWJsZXMKeHRlcm0tbW91 c2UtbW9kZSBvbiB0ZXJtaW5hbHMga25vd3MgdG8gc3VwcG9ydCBhbGwgY3JpdGljYWwgZWRpdGlu ZyB3b3JrZmxvd3MuCgoqIGV0Yy9ORVdTOiBVcGRhdGUgYW5ub3VuY2VtZW50CiogbGlzcC90ZXJt L3h0ZXJtLmVsICh4dGVybS0tYXV0by14dC1tb3VzZS1hbGxvd2VkLW5hbWVzKQooeHRlcm0tLWF1 dG8teHQtbW91c2UtYWxsb3dlZC10eXBlcyk6IE5ldyB2YXJpYWJsZXMgdG8gY29udHJvbAp3aGF0 IHRlcm1pbmFscyBhdXRvbWF0aWNhbGx5IGVuYWJsZSB4dGVybS1tb3VzZS1tb2RlLgooeHRlcm0t LXJlcG9ydC1iYWNrZ3JvdW5kLWhhbmRsZXIsIHh0ZXJtLS12ZXJzaW9uLWhhbmRsZXIpOiBVc2UK eHRlcm0tLXJlYWQtc3RyaW5nLgooeHRlcm0tLXJlYWQtc3RyaW5nLCB4dGVybS0tcXVlcnktbmFt ZS1hbmQtdmVyc2lvbik6IE5ldwpmdW5jdGlvbi4KKHh0ZXJtLS1pbml0KTogQ2hlY2sgd2hhdCB0 ZXJtaW5hbCBpcyBydW5uaW5nIGFuZCBpZgp4dGVybS1tb3VzZS1tb2RlIHdhcyBtYW51YWxseSBj YWxsZWQuCiogbGlzcC94dC1tb3VzZS5lbCAoeHRlcm0tbW91c2UtbW9kZS1jYWxsZWQpOiBOZXcg dmFyaWFibGUuCih4dGVybS1tb3VzZS1tb2RlKTogU2V0IHh0ZXJtLW1vdXNlLW1vZGUtY2FsbGVk LiAgTWVudGlvbgphdXRvbWF0aWMgY2FsbCBieSB4dGVybS0taW5pdC4gIERlbGV0ZSBvdXRkYXRl ZCBjb21tZW50IHRleHQuCi0tLQogZXRjL05FV1MgICAgICAgICAgIHwgMTQgKysrKy0tLQogbGlz cC90ZXJtL3h0ZXJtLmVsIHwgOTYgKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysr KystLS0tLS0tLQogbGlzcC94dC1tb3VzZS5lbCAgIHwgMjEgKysrKysrLS0tLQogMyBmaWxlcyBj aGFuZ2VkLCAxMDMgaW5zZXJ0aW9ucygrKSwgMjggZGVsZXRpb25zKC0pCgpkaWZmIC0tZ2l0IGEv ZXRjL05FV1MgYi9ldGMvTkVXUwppbmRleCA4NTIxM2NiYWE2Zi4uNGI1YmM5ZWEzZDcgMTAwNjQ0 Ci0tLSBhL2V0Yy9ORVdTCisrKyBiL2V0Yy9ORVdTCkBAIC0zNCwxMSArMzQsMTUgQEAgaW5jb3Jy ZWN0bHkgaW4gcmFyZSBjYXNlcy4KIAwKICogU3RhcnR1cCBDaGFuZ2VzIGluIEVtYWNzIDMxLjEK IAotKiogV2hlbiBydW4gaW5zaWRlIHh0ZXJtLCAneHRlcm0tbW91c2UtbW9kZScgaXMgdHVybmVk IG9uIGJ5IGRlZmF1bHQuCi1UaGlzIG1lYW5zIHRoYXQgdGhlIG1vdXNlIHdpbGwgd29yayBieSBk ZWZhdWx0IGluc2lkZSB4dGVybSB0ZXJtaW5hbHMuCi1JZiB5b3VyIHRlcm1pbmFsIGRvZXMgbm90 IGJlaGF2ZSBwcm9wZXJseSB3aXRoIHh0ZXJtIG1vdXNlIHRyYWNraW5nCi1lbmFibGVkLCB5b3Ug Y2FuIGRpc2FibGUgbW91c2UgdHJhY2tpbmcgYnkgcHV0dGluZyAnKHh0ZXJtLW1vdXNlLW1vZGUK LS0xKScgaW4geW91ciBpbml0IGZpbGUuCisqKiBJbiBjb21wYXRpYmxlIHRlcm1pbmFscywgJ3h0 ZXJtLW1vdXNlLW1vZGUnIGlzIHR1cm5lZCBvbiBieSBkZWZhdWx0LgorRm9yIHRoZXNlIHRlcm1p bmFscyB0aGUgbW91c2Ugd2lsbCB3b3JrIGJ5IGRlZmF1bHQuICBBIGNvbXBhdGlibGUKK3Rlcm1p bmFsIGlzIG9uZSB0aGF0IHN1cHBvcnRzIEVtYWNzIHNldGluZyBhbmQgZ2V0dGluZyB0aGUgT1Mg c2VsZWN0aW9uCitkYXRhIChhLmsuYS4gdGhlIGNsaXBib2FyZCkgYW5kIG1vdXNlIGJ1dHRvbiBh bmQgbW90aW9uIGV2ZW50cy4gIFdpdGgKK3h0ZXJtLW1vdXNlLW1vZGUgZW5hYmxlZCwgeW91IG11 c3QgdXNlIEVtYWNzIGtleWJpbmRpbmdzIHRvIGNvcHkgdG8gdGhlCitPUyBzZWxlY3Rpb24gaW5z dGVhZCBvZiB0ZXJtaW5hbC1zcGVjaWZpYyBrZXliaW5kaW5ncy4KKworWW91IGNhbiBrZWVwIHRo ZSBvbGQgYmVoYXZpb3IgYnkgcHV0dGluZyBgKHh0ZXJtLW1vdXNlLW1vZGUgLTEpJyBpbiB5b3Vy Citpbml0IGZpbGUuCiAKIAwKICogQ2hhbmdlcyBpbiBFbWFjcyAzMS4xCmRpZmYgLS1naXQgYS9s aXNwL3Rlcm0veHRlcm0uZWwgYi9saXNwL3Rlcm0veHRlcm0uZWwKaW5kZXggYzRmMzNjZDBmYWEu LjcxYmY1YzM1NmQxIDEwMDY0NAotLS0gYS9saXNwL3Rlcm0veHRlcm0uZWwKKysrIGIvbGlzcC90 ZXJtL3h0ZXJtLmVsCkBAIC04Myw2ICs4MywzOSBAQCB4dGVybS1zdG9yZS1wYXN0ZS1vbi1raWxs LXJpbmcKIChkZWZjb25zdCB4dGVybS1wYXN0ZS1lbmRpbmctc2VxdWVuY2UgIlxlWzIwMX4iCiAg ICJDaGFyYWN0ZXJzIHNlbnQgYnkgdGhlIHRlcm1pbmFsIHRvIGVuZCBhIGJyYWNrZXRlZCBwYXN0 ZS4iKQogCisoZGVmY29uc3QgeHRlcm0tLWF1dG8teHQtbW91c2UtYWxsb3dlZC1uYW1lcworICAo bWFwY29uY2F0IChsYW1iZGEgKHMpIChjb25jYXQgIl4iIHMgIlxcPiIpKQorICAgICAgICAgICAg ICcoIktvbnNvbGUiCisgICAgICAgICAgICAgICAiV2V6VGVybSIKKyAgICAgICAgICAgICAgIDs7 ICJYVGVybSIgICA7RGlzYWJsZWQgYmVjYXVzZSBPU0M1MiBzdXBwb3J0IGlzIG9wdC1pbiBvbmx5 LgorICAgICAgICAgICAgICAgImlUZXJtMiIgICAgIDtPU0M1MiBzdXBwb3J0IGhhcyBvcHQtaW4v b3V0IFVJIG9uIGZpcnN0IHVzYWdlCisgICAgICAgICAgICAgICAia2l0dHkiKQorICAgICAgICAg ICAgICJcXHwiKQorICAiUmVnZXhwIGZvciB0ZXJtaW5hbHMgdGhhdCBhdXRvbWF0aWNhbGx5IGVu YWJsZSBgeHRlcm0tbW91c2UtbW9kZScgYXQgc3RhcnR1cC4KK1RoaXMgd2lsbCBnZXQgbWF0Y2hl ZCBhZ2FpbnN0IHRoZSB0ZXJtaW5hbCdzIFhUVkVSU0lPTiBzdHJpbmcuCisKK0l0IGlzIGV4cGVj dGVkIHRoYXQgYW55IG1hdGNoaW5nIHRlcm1pbmFsIHN1cHBvcnRzIHRoZSBmb2xsb3dpbmcKK2Z1 bmN0aW9uYWxpdHk6CisKK1wiU2V0IHNlbGVjdGlvbiBkYXRhXCIgKE9TQzUyKTogQWxsb3dzIEVt YWNzIHRvIHNldCB0aGUgT1MgY2xpcGJvYXJkLgorXCJHZXQgc2VsZWN0aW9uIGRhdGFcIiAoT1ND NTIgb3IgYnJhY2tldGVkIHBhc3RlKTogQWxsb3dzIEVtYWNzIHRvIGdldAorICAgIHRoZSBjb250 ZW50cyBvZiB0aGUgT1MgY2xpcGJvYXJkLgorXCJCYXNpYyBtb3VzZSBtb2RlXCIgKERFQ1NFVDEw MDApOiBBbGxvd3MgRW1hY3MgdG8gZ2V0IGV2ZW50cyBvbiBtb3VzZQorICAgIGNsaWNrcy4KK1wi TW91c2UgbW90aW9uIG1vZGVcIiAoREVDU0VUMTAwMyk6IEFsbG93cyBFbWFjcyB0byBnZXQgZXZl bnQgb24gbW91c2UKKyAgICBtb3Rpb24uCisKK0Fsc28gc2VlIGB4dGVybS0tYXV0by14dC1tb3Vz ZS1hbGxvd2VkLXR5cGVzJyB3aGljaCBtdGNoZXMgYWdhaW5zdCB0aGUKK3ZhbHVlIG9mIFRFUk0g aW5zdGVhZC4iKQorCisoZGVmY29uc3QgeHRlcm0tLWF1dG8teHQtbW91c2UtYWxsb3dlZC10eXBl cworICAobWFwY29uY2F0IChsYW1iZGEgKHMpIChjb25jYXQgIl4iIHMgIiQiKSkKKyAgICAgICAg ICAgICAnKCJhbGFjcml0dHkiCisgICAgICAgICAgICAgICAiY29udG91ciIpCisgICAgICAgICAg ICAgIlxcfCIpCisgICJMaWtlIGB4dGVybS0tYXV0by14dC1tb3VzZS1hbGxvd2VkLW5hbWVzJywg YnV0IGZvciB0aGUgdGVybWluYWwncyB0eXBlLgorVGhpcyB3aWxsIGdldCBtYXRjaGVkIGFnYWlu c3QgdGhlIGVudmlyb25tZW50IHZhcmlhYmxlIFwiVEVSTVwiLiIpCisKIChkZWZ1biB4dGVybS0t cGFzdGVkLXRleHQgKCkKICAgIkhhbmRsZSB0aGUgcmVzdCBvZiBhIHRlcm1pbmFsIHBhc3RlIG9w ZXJhdGlvbi4KIFJldHVybiB0aGUgcGFzdGVkIHRleHQgYXMgYSBzdHJpbmcuIgpAQCAtNzA3LDEx ICs3NDAsOCBAQCB4dGVybS1zdGFuZGFyZC1jb2xvcnMKICAgIk5hbWVzIG9mIDE2IHN0YW5kYXJk IHh0ZXJtL2FpeHRlcm0gY29sb3JzLCB0aGVpciBudW1iZXJzLCBhbmQgUkdCIHZhbHVlcy4iKQog CiAoZGVmdW4geHRlcm0tLXJlcG9ydC1iYWNrZ3JvdW5kLWhhbmRsZXIgKCkKLSAgKGxldCAoKHN0 ciAiIikKLSAgICAgICAgY2hyKQotICAgIDs7IFRoZSByZXBseSBzaG91bGQgYmU6IFxlIF0gMTEg OyByZ2I6IE5VTUJFUjEgLyBOVU1CRVIyIC8gTlVNQkVSMyBcZSBcXAotICAgICh3aGlsZSAoYW5k IChzZXRxIGNociAoeHRlcm0tLXJlYWQtZXZlbnQtZm9yLXF1ZXJ5KSkgKG5vdCAoZXF1YWwgY2hy ID9cXCkpKQotICAgICAgKHNldHEgc3RyIChjb25jYXQgc3RyIChzdHJpbmcgY2hyKSkpKQorICA7 OyBUaGUgcmVwbHkgc2hvdWxkIGJlOiBcZSBdIDExIDsgcmdiOiBOVU1CRVIxIC8gTlVNQkVSMiAv IE5VTUJFUjMgXGUgXFwKKyAgKGxldCAoKHN0ciAoeHRlcm0tLXJlYWQtc3RyaW5nID9cZSA/XFwp KSkKICAgICAod2hlbiAoc3RyaW5nLW1hdGNoCiAgICAgICAgICAgICJyZ2I6XFwoW2EtZjAtOV0r XFwpL1xcKFthLWYwLTldK1xcKS9cXChbYS1mMC05XStcXCkiIHN0cikKICAgICAgIChsZXQgKChy ZWNvbXB1dGUtZmFjZXMKQEAgLTczMCwxNiArNzYwLDEzIEBAIHh0ZXJtLS1yZXBvcnQtYmFja2dy b3VuZC1oYW5kbGVyCiAgICAgICAgICAgKHR0eS1zZXQtdXAtaW5pdGlhbC1mcmFtZS1mYWNlcykp KSkpKQogCiAoZGVmdW4geHRlcm0tLXZlcnNpb24taGFuZGxlciAoKQotICAobGV0ICgoc3RyICIi KQotICAgICAgICBjaHIpCi0gICAgOzsgVGhlIHJlcGx5IHNob3VsZCBiZTogXGUgWyA+IE5VTUJF UjEgOyBOVU1CRVIyIDsgTlVNQkVSMyBjCi0gICAgOzsgSWYgdGhlIHRpbWVvdXQgaXMgY29tcGxl dGVseSByZW1vdmVkIGZvciByZWFkLWV2ZW50LCB0aGlzCi0gICAgOzsgbWlnaHQgaGFuZyBmb3Ig dGVybWluYWxzIHRoYXQgcHJldGVuZCB0byBiZSB4dGVybSwgYnV0IGRvbid0Ci0gICAgOzsgcmVz cG9uZCB0byB0aGlzIGVzY2FwZSBzZXF1ZW5jZS4gIFJNUycgb3BpbmlvbiB3YXMgdG8gcmVtb3Zl Ci0gICAgOzsgaXQgY29tcGxldGVseS4gIFRoYXQgbWlnaHQgYmUgcmlnaHQsIGJ1dCBsZXQncyBm aXJzdCB0cnkgdG8KLSAgICA7OyBzZWUgaWYgYnkgdXNpbmcgYSBsb25nZXIgdGltZW91dCB3ZSBn ZXQgcmlkIG9mIG1vc3QgaXNzdWVzLgotICAgICh3aGlsZSAoYW5kIChzZXRxIGNociAoeHRlcm0t LXJlYWQtZXZlbnQtZm9yLXF1ZXJ5KSkgKG5vdCAoZXF1YWwgY2hyID9jKSkpCi0gICAgICAoc2V0 cSBzdHIgKGNvbmNhdCBzdHIgKHN0cmluZyBjaHIpKSkpCisgIDs7IFRoZSByZXBseSBzaG91bGQg YmU6IFxlIFsgPiBOVU1CRVIxIDsgTlVNQkVSMiA7IE5VTUJFUjMgYworICA7OyBJZiB0aGUgdGlt ZW91dCBpcyBjb21wbGV0ZWx5IHJlbW92ZWQgZm9yIHJlYWQtZXZlbnQsIHRoaXMKKyAgOzsgbWln aHQgaGFuZyBmb3IgdGVybWluYWxzIHRoYXQgcHJldGVuZCB0byBiZSB4dGVybSwgYnV0IGRvbid0 CisgIDs7IHJlc3BvbmQgdG8gdGhpcyBlc2NhcGUgc2VxdWVuY2UuICBSTVMnIG9waW5pb24gd2Fz IHRvIHJlbW92ZQorICA7OyBpdCBjb21wbGV0ZWx5LiAgVGhhdCBtaWdodCBiZSByaWdodCwgYnV0 IGxldCdzIGZpcnN0IHRyeSB0bworICA7OyBzZWUgaWYgYnkgdXNpbmcgYSBsb25nZXIgdGltZW91 dCB3ZSBnZXQgcmlkIG9mIG1vc3QgaXNzdWVzLgorICAobGV0ICgoc3RyICh4dGVybS0tcmVhZC1z dHJpbmcgP2MpKSkKICAgICA7OyBTaW5jZSB4dGVybS0yODAsIHRoZSB0ZXJtaW5hbCB0eXBlIChO VU1CRVIxKSBpcyBub3cgNDEgaW5zdGVhZCBvZiAwLgogICAgICh3aGVuIChzdHJpbmctbWF0Y2gg IlxcKFswLTldK1xcKTtcXChbMC05XStcXCk7WzAxXSIgc3RyKQogICAgICAgKGxldCAoKHZlcnNp b24gKHN0cmluZy10by1udW1iZXIgKG1hdGNoLXN0cmluZyAyIHN0cikpKSkKQEAgLTgxMCw2ICs4 MzcsMjEgQEAgeHRlcm0tLXJlYWQtZXZlbnQtZm9yLXF1ZXJ5CiAJCQkJICB4dGVybS1xdWVyeS10 aW1lb3V0CiAJCQkJICAodGltZS1zaW5jZSBzdGFydC10aW1lKSkpKSkpKSkpCiAKKyhkZWZ1biB4 dGVybS0tcmVhZC1zdHJpbmcgKHRlcm0xICZvcHRpb25hbCB0ZXJtMikKKyAgIlJlYWQgYSBzdHJp bmcgd2l0aCB0ZXJtaW5hdGluZyBjaGFyYWN0ZXJzLgorVGhpcyB1c2VzIGB4dGVybS0tcmVhZC1l dmVudC1mb3ItcXVlcnknIGludGVybmFsbHkuIgorICAobGV0ICgoc3RyICIiKQorICAgICAgICBj aHIgbGFzdCkKKyAgICAod2hpbGUgKGFuZCAoc2V0cSBsYXN0IGNocgorICAgICAgICAgICAgICAg ICAgICAgIGNociAoeHRlcm0tLXJlYWQtZXZlbnQtZm9yLXF1ZXJ5KSkKKyAgICAgICAgICAgICAg ICAoaWYgdGVybTIKKyAgICAgICAgICAgICAgICAgICAgKG5vdCAoYW5kIChlcXVhbCBsYXN0IHRl cm0xKSAoZXF1YWwgY2hyIHRlcm0yKSkpCisgICAgICAgICAgICAgICAgICAobm90IChlcXVhbCBj aHIgdGVybTEpKSkpCisgICAgICAoc2V0cSBzdHIgKGNvbmNhdCBzdHIgKHN0cmluZyBjaHIpKSkp CisgICAgKGlmIHRlcm0yCisgICAgICAgIChzdWJzdHJpbmcgc3RyIDAgLTEpCisgICAgICBzdHIp KSkKKwogKGRlZnVuIHh0ZXJtLS1xdWVyeSAocXVlcnkgaGFuZGxlcnMgJm9wdGlvbmFsIG5vLWFz eW5jKQogICAiU2VuZCBRVUVSWSBzdHJpbmcgdG8gdGhlIHRlcm1pbmFsIGFuZCB3YXRjaCBmb3Ig YSByZXNwb25zZS4KIEhBTkRMRVJTIGlzIGFuIGFsaXN0IHdpdGggZWxlbWVudHMgb2YgdGhlIGZv cm0gKFNUUklORyAuIEZVTkNUSU9OKS4KQEAgLTg2MCw2ICs5MDIsMjAgQEAgeHRlcm0tLXF1ZXJ5 CiAgICAgICAgICAgICAgIChwdXNoIChhcmVmIChjYXIgaGFuZGxlcikgKHNldHEgaSAoMS0gaSkp KQogICAgICAgICAgICAgICAgICAgICB1bnJlYWQtY29tbWFuZC1ldmVudHMpKSkpKSkpKQogCiso ZGVmdW4geHRlcm0tLXF1ZXJ5LW5hbWUtYW5kLXZlcnNpb24gKCkKKyAgIkdldCB0aGUgdGVybWlu YWwgbmFtZSBhbmQgdmVyc2lvbiBzdHJpbmcgKFhUVkVSU0lPTikuIgorICA7OyBSZWR1Y2UgcXVl cnkgdGltZW91dCB0aW1lLiBUaGUgZGVmYXVsdCB2YWx1ZSBjYXVzZXMgYSBub3RpY2VhYmxlCisg IDs7IHN0YXJ0dXAgZGVsYXkgb24gdGVybWluYWxzIHRoYXQgaWdub3JlIHRoZSBxdWVyeS4KKyAg KGxldCAoKHh0ZXJtLXF1ZXJ5LXRpbWVvdXQgMC4xKSkKKyAgICAoY2F0Y2ggJ3Jlc3VsdAorICAg ICAgKHh0ZXJtLS1xdWVyeQorICAgICAgICJcZVs+MHEiCisgICAgICAgJygoIlxlUD58IiAuIChs YW1iZGEgKCkKKyAgICAgICAgICAgICAgICAgICAgICA7OyBUaGUgcmVwbHkgc2hvdWxkIGJlOiBc ZSBQID4gfCBTVFJJTkcgXGUgXFwKKyAgICAgICAgICAgICAgICAgICAgICAobGV0ICgoc3RyICh4 dGVybS0tcmVhZC1zdHJpbmcgP1xlID9cXCkpKQorICAgICAgICAgICAgICAgICAgICAgICAgKHRo cm93ICdyZXN1bHQgc3RyKSkpKSkpCisgICAgICBuaWwpKSkKKwogKGRlZnVuIHh0ZXJtLS1wdXNo LW1hcCAobWFwIGJhc2VtYXApCiAgIDs7IFVzZSBpbmhlcml0YW5jZSB0byBsZXQgdGhlIG1haW4g a2V5bWFwcyBvdmVycmlkZSB0aG9zZSBkZWZhdWx0cy4KICAgOzsgVGhpcyB3YXkgd2UgZG9uJ3Qg b3ZlcnJpZGUgdGVybWluZm8tZGVyaXZlZCBzZXR0aW5ncyBvciBzZXR0aW5ncwpAQCAtOTA3LDcg Kzk2MywxNSBAQCB4dGVybS0taW5pdAogCiAgICh3aGVuIHh0ZXJtLXNldC13aW5kb3ctdGl0bGUK ICAgICAoeHRlcm0tLWluaXQtZnJhbWUtdGl0bGUpKQotICAod2hlbiB4dGVybS1tb3VzZS1tb2Rl CisgICh3aGVuIChhbmQgKG5vdCB4dGVybS1tb3VzZS1tb2RlLWNhbGxlZCkKKyAgICAgICAgICAg ICA7OyBPbmx5IGF1dG9tYXRpY2FsbHkgZW5hYmxlIHh0ZXJtIG1vdXNlIG9uIHRlcm1pbmFscwor ICAgICAgICAgICAgIDs7IGNvbmZpcm1lZCB0byBzdGlsbCBzdXBwb3J0IGFsbCBjcml0aWNhbCBl ZGl0aW5nCisgICAgICAgICAgICAgOzsgd29ya2Zsb3dzIChidWcjNzQ4MzMpLgorICAgICAgICAg ICAgIChvciAoc3RyaW5nLW1hdGNoLXAgeHRlcm0tLWF1dG8teHQtbW91c2UtYWxsb3dlZC10eXBl cworICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKHR0eS10eXBlIChzZWxlY3RlZC1m cmFtZSkpKQorICAgICAgICAgICAgICAgICAoYW5kLWxldCogKChuYW1lLWFuZC12ZXJzaW9uICh4 dGVybS0tcXVlcnktbmFtZS1hbmQtdmVyc2lvbikpKQorICAgICAgICAgICAgICAgICAgIChzdHJp bmctbWF0Y2gtcCB4dGVybS0tYXV0by14dC1tb3VzZS1hbGxvd2VkLW5hbWVzCisgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgIG5hbWUtYW5kLXZlcnNpb24pKSkpCiAgICAgKHh0ZXJt LW1vdXNlLW1vZGUgMSkpCiAgIDs7IFVuY29uZGl0aW9uYWxseSBlbmFibGUgYnJhY2tldGVkIHBh c3RlIG1vZGU6IHRlcm1pbmFscyB0aGF0IGRvbid0CiAgIDs7IHN1cHBvcnQgaXQganVzdCBpZ25v cmUgdGhlIHNlcXVlbmNlLgpkaWZmIC0tZ2l0IGEvbGlzcC94dC1tb3VzZS5lbCBiL2xpc3AveHQt bW91c2UuZWwKaW5kZXggMmJhNjBkZWQ4OTkuLjkzMTYxYTIxZjA5IDEwMDY0NAotLS0gYS9saXNw L3h0LW1vdXNlLmVsCisrKyBiL2xpc3AveHQtbW91c2UuZWwKQEAgLTM2MiwxOSArMzYyLDI2IEBA IHh0ZXJtLW1vdXNlLWV2ZW50CiAgICAgICAgIChzZXQtdGVybWluYWwtcGFyYW1ldGVyIG5pbCAn eHRlcm0tbW91c2UtZnJhbWUgZnJhbWUpCiAgICAgICAgIChzZXRxIGxhc3QtaW5wdXQtZXZlbnQg ZXZlbnQpKSkpKQogCis7OzsjIyNhdXRvbG9hZAorKGRlZnZhciB4dGVybS1tb3VzZS1tb2RlLWNh bGxlZCBuaWwKKyAgIklmIGB4dGVybS1tb3VzZS1tb2RlJyBoYXMgYmVlbiBjYWxsZWQgYWxyZWFk eS4KK1RoaXMgY2FuIGJlIHVzZWQgdG8gZGV0ZWN0IGlmIHh0ZXJtLW1vdXNlLW1vZGUgd2FzIGV4 cGxpY2l0bHkgc2V0LiIpCisKIDs7OyMjI2F1dG9sb2FkCiAoZGVmaW5lLW1pbm9yLW1vZGUgeHRl cm0tbW91c2UtbW9kZQogICAiVG9nZ2xlIFhUZXJtIG1vdXNlIG1vZGUuCiAKLVR1cm4gaXQgb24g dG8gdXNlIEVtYWNzIG1vdXNlIGNvbW1hbmRzLCBhbmQgb2ZmIHRvIHVzZSB4dGVybSBtb3VzZSBj b21tYW5kcy4KLVRoaXMgd29ya3MgaW4gdGVybWluYWwgZW11bGF0b3JzIGNvbXBhdGlibGUgd2l0 aCB4dGVybS4gIEl0IG9ubHkKLXdvcmtzIGZvciBzaW1wbGUgdXNlcyBvZiB0aGUgbW91c2UuICBC YXNpY2FsbHksIG9ubHkgbm9uLW1vZGlmaWVkCi1zaW5nbGUgY2xpY2tzIGFyZSBzdXBwb3J0ZWQu ICBXaGVuIHR1cm5lZCBvbiwgdGhlIG5vcm1hbCB4dGVybQotbW91c2UgZnVuY3Rpb25hbGl0eSBm b3Igc3VjaCBjbGlja3MgaXMgc3RpbGwgYXZhaWxhYmxlIGJ5IGhvbGRpbmcKLWRvd24gdGhlIFNI SUZUIGtleSB3aGlsZSBwcmVzc2luZyB0aGUgbW91c2UgYnV0dG9uLiIKK1R1cm4gaXQgb24gdG8g dXNlIEVtYWNzIG1vdXNlIGNvbW1hbmRzLCBhbmQgb2ZmIHRvIHVzZSB4dGVybSBtb3VzZQorY29t bWFuZHMuICBUaGlzIHdvcmtzIGluIHRlcm1pbmFsIGVtdWxhdG9ycyBjb21wYXRpYmxlIHdpdGgg eHRlcm0uICBXaGVuCit0dXJuZWQgb24sIHRoZSBub3JtYWwgeHRlcm0gbW91c2UgZnVuY3Rpb25h bGl0eSBmb3Igc3VjaCBjbGlja3MgaXMgc3RpbGwKK2F2YWlsYWJsZSBieSBob2xkaW5nIGRvd24g dGhlIFNISUZUIGtleSB3aGlsZSBwcmVzc2luZyB0aGUgbW91c2UgYnV0dG9uLgorCitPbiB0ZXh0 IHRlcm1pbmFscyB0aGF0IEVtYWNzIGtub3dzIGFyZSBjb21wYXRpYmxlIHdpdGggdGhlIG1vdXNl IGFzIHdlbGwKK2FzIG90aGVyIGNyaXRpY2FsIGVkaXRpbmcgZnVuY3Rpb25hbGl0eSwgdGhpcyBp cyBhdXRvbWF0aWNhbGx5IHR1cm5lZCBvbgorYXQgc3RhcnR1cC4gIFNlZSBJbmZvIG5vZGUgYChl bGlzcClUZXJtaW5hbC1TcGVjaWZpYycgYW5kIGB4dGVybS0taW5pdCcuIgogICA6Z2xvYmFsIHQg Omdyb3VwICdtb3VzZQotICA6aW5pdC12YWx1ZSB0CiAgIDp2ZXJzaW9uICIzMS4xIgorICAoc2V0 cSB4dGVybS1tb3VzZS1tb2RlLWNhbGxlZCB0KQogICAoZnVuY2FsbCAoaWYgeHRlcm0tbW91c2Ut bW9kZSAnYWRkLWhvb2sgJ3JlbW92ZS1ob29rKQogICAgICAgICAgICAndGVybWluYWwtaW5pdC14 dGVybS1ob29rCiAgICAgICAgICAgICd0dXJuLW9uLXh0ZXJtLW1vdXNlLXRyYWNraW5nLW9uLXRl cm1pbmFsKQotLSAKMi4zOS41Cgo= --=_4938d436ede1b79cf6a46f2b82a9d945--
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 2 Jan 2025 08:10:53 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 02 03:10:53 2025 Received: from localhost ([127.0.0.1]:42652 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tTGI9-0003GI-2c for submit <at> debbugs.gnu.org; Thu, 02 Jan 2025 03:10:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52392) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tTGI4-0003G0-TR for 74833 <at> debbugs.gnu.org; Thu, 02 Jan 2025 03:10:51 -0500 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@HIDDEN>) id 1tTGHz-0003Ea-5A; Thu, 02 Jan 2025 03:10:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=fB8oNZiFf48dnN1YDBY2+LqvPJRq7nh5q0I0P3CJNd8=; b=ZB+jjD3JB3JV 6mA9Gaj9ladGG/Ic+LlDmCPzNpjGhWWmHiN0U2FtX6SI809ypTk6x+v+eyhdmy6UehspAkHZVIRR3 Y/PmBs4qnaXRDZjvX5tmWPlY1Am98awfOjXdNwDC3ysb7PLkX6CPICjRBDf76I3DGECprH2z7GOto CTZJ6b1e8vITPEEO48H2BX1JjCJmltYCe7R+RDAYHruzXBXl/yYO4CsNaqf1dGlpmyYmVZJYtKS1E GnsDHIBqym814WGJIx5o1+RY9crUttwYghgzNZj17zPNQojjxVpkcwCa7bVDJHPDfdZe8WIyVIP+/ tR79uuKQSuI5vYYvzoStmg==; Date: Thu, 02 Jan 2025 10:10:34 +0200 Message-Id: <867c7dljph.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Jared Finder <jared@HIDDEN> In-Reply-To: <83cf221bcf4fc4162c7401b9146d1961@HIDDEN> (message from Jared Finder on Wed, 01 Jan 2025 23:10:14 -0800) Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> <86y10jwmsb.fsf@HIDDEN> <m1msgznx20.fsf@HIDDEN> <86ldwiwvjc.fsf@HIDDEN> <m2ldwi8uvx.fsf@HIDDEN> <m1pllrtwq1.fsf@HIDDEN> <m2jzbzfscp.fsf@HIDDEN> <m1v7vjsavb.fsf@HIDDEN> <CAN+1Hbo03URNb5dUVgiX8ofzrYiWG9VtB3AF9pjGvRxrMgyYDQ@HIDDEN> <86ed27pfhj.fsf@HIDDEN> <CAN+1HbqqUoa1KK4xNGz1CO7mrmk=NTnFei1Fr8qchccbLqC2Zg@HIDDEN> <86a5cvpeiv.fsf@HIDDEN> <m2seqndlx7.fsf@HIDDEN> <86y10eo5h6.fsf@HIDDEN> <CAN+1HbqZE9TbEPdvZWK-r__K5y0=S4qJ_DCZaauVM=ioFRaBhQ@HIDDEN> <986a3eea465e13c57bcdd7ce8f27f99d@HIDDEN> <CAN+1HbonZyoWHHp6bpQvKYjyvV71ieACCZo4HeonZR_5+VxwcQ@HIDDEN> <E1tPDuC-0001ET-J1@HIDDEN> <864j2w6tz0.fsf@HIDDEN> <861pxy5zxk.fsf@HIDDEN> <CAN+1Hbp5MACbrKo3KTo5G0CXDo0v3kwSxes=Z3ZfJLsp-QB5Qg@HIDDEN> <86jzbq4i6x.fsf@HIDDEN> <CAN+1HbrZ=7x=FW8w5yd3RXf=gPcAdUHyyQXg31VuVPv1_uqgeg@HIDDEN> <86frme4exq.fsf@HIDDEN> <CAN+1Hbq0B-4aPQw3ar9yjntE=tmL7jWayyTT_r0Kmh35vs0SmA@HIDDEN> <ca51f813c6ef2977fa17d7129cd633cb@HIDDEN> <865xn5y2n0.fsf@HIDDEN> <5e102d7d29eba618874c0b41e9815b8d@HIDDEN> <86ldw0ur0h.fsf@HIDDEN> <eb5002c5d1b62da9501b7033295a6070@HIDDEN> <86h66nq7vh.fsf@HIDDEN> <83cf221bcf4fc4162c7401b9146d1961@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74833 Cc: gerd.moellmann@HIDDEN, 74833 <at> debbugs.gnu.org, fgunbin@HIDDEN, shipmints@HIDDEN, rms@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Date: Wed, 01 Jan 2025 23:10:14 -0800 > From: Jared Finder <jared@HIDDEN> > Cc: shipmints@HIDDEN, rms@HIDDEN, gerd.moellmann@HIDDEN, > fgunbin@HIDDEN, 74833 <at> debbugs.gnu.org > > On 2024-12-28 23:13, Eli Zaretskii wrote: > >> Date: Sat, 28 Dec 2024 21:16:28 -0800 > >> From: Jared Finder <jared@HIDDEN> > >> Cc: shipmints@HIDDEN, rms@HIDDEN, gerd.moellmann@HIDDEN, > >> fgunbin@HIDDEN, 74833 <at> debbugs.gnu.org > >> > >> I'm proposing to add a single regexp that matches against the terminal > >> name and version string. If there's a match, automatically enable > >> xterm-mouse-mode. For terminals that aren't supported or don't support > >> "\e[>0q", leave xterm-mouse-mode as is. No other complexity is needed. > >> A > >> user can always customize xterm-mouse-mode (it's a user option) if > >> they > >> want to enable it anyways. > > > > Sounds okay, but can you post a patch to try? > > Patch attached. Thanks. This LGTM, but please modify this comment: > +(defun xterm--query-name-and-version () > + "Get the terminal name and version string (XTVERSION)." > + ;; The default timeout time causes a noticeable startup delay on > + ;; terminals that ignore the query. > + (let ((xterm-query-timeout 0.1)) to the effect that we use non-default value of 0.1 because the default (larger) value causes a noticeable startup delay. It took me a few seconds to understand the intent; initially I thought that you were describing what happens when 0.1 is used. > I also noticed outdated text in the docstring for xterm-mouse-mode and > attached a second patch to delete that text. > [...] > -Turn it on to use Emacs mouse commands, and off to use xterm mouse commands. > -This works in terminal emulators compatible with xterm. It only > -works for simple uses of the mouse. Basically, only non-modified > -single clicks are supported. When turned on, the normal xterm > -mouse functionality for such clicks is still available by holding > -down the SHIFT key while pressing the mouse button." > +Turn it on to use Emacs mouse commands, and off to use xterm mouse > +commands. This works in terminal emulators compatible with xterm. When > +turned on, the normal xterm mouse functionality for such clicks is still > +available by holding down the SHIFT key while pressing the mouse button." This is also okay, but please add to the doc strings a reference to sterm--init where we verify that the terminal is compatible with xterm-mouse-mode.
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 2 Jan 2025 07:10:21 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 02 02:10:21 2025 Received: from localhost ([127.0.0.1]:42530 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tTFLY-0000WF-B4 for submit <at> debbugs.gnu.org; Thu, 02 Jan 2025 02:10:21 -0500 Received: from greenhill.hpalace.com ([192.155.80.58]:47952) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <jared@HIDDEN>) id 1tTFLU-0000TR-8j for 74833 <at> debbugs.gnu.org; Thu, 02 Jan 2025 02:10:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=finder.org; s=2018; t=1735801814; bh=n6i+MJWosxlDHno4GMNxxER3hyoLFYYPax2Ya3fWbm4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=dz/mg0382rU+PIygmzhd5LqR7CZhcb1hBP3YIDxu8TKKGtfMh88ZdZBkGWcNv6FWk vz2PcKEgycTvZ+txzq7ka4VZ0rTI1sLvIadt7sv9En2pTvme82oFLCEIHjeGBCAxM4 4iba/50W2vLE6FRmMP16ExInSUqyaejRyjVqW7Hy7DO7Uxh0l8rhS8W8Vg86KI1ENu 55ZE7JpE0NOJLx+fCAf9jkrZusOP5LiqneCCTwga5qnQWoAJWxZBIfdkJmoyykX/ai zrTtCwZBFN+IMhjUYyY5CS9jTwl3oLxW/84IHwWyyUZscSYDw7df3GNncyMHOI6Ekh d5PRiD8AREdIg== Received: from mail.finder.org (unknown [192.155.80.58]) by greenhill.hpalace.com (Postfix) with ESMTPSA id D06B21773; Thu, 2 Jan 2025 07:10:14 +0000 (UTC) MIME-Version: 1.0 Date: Wed, 01 Jan 2025 23:10:14 -0800 From: Jared Finder <jared@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled In-Reply-To: <86h66nq7vh.fsf@HIDDEN> References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> <86y10jwmsb.fsf@HIDDEN> <m1msgznx20.fsf@HIDDEN> <86ldwiwvjc.fsf@HIDDEN> <m2ldwi8uvx.fsf@HIDDEN> <m1pllrtwq1.fsf@HIDDEN> <m2jzbzfscp.fsf@HIDDEN> <m1v7vjsavb.fsf@HIDDEN> <CAN+1Hbo03URNb5dUVgiX8ofzrYiWG9VtB3AF9pjGvRxrMgyYDQ@HIDDEN> <86ed27pfhj.fsf@HIDDEN> <CAN+1HbqqUoa1KK4xNGz1CO7mrmk=NTnFei1Fr8qchccbLqC2Zg@HIDDEN> <86a5cvpeiv.fsf@HIDDEN> <m2seqndlx7.fsf@HIDDEN> <86y10eo5h6.fsf@HIDDEN> <CAN+1HbqZE9TbEPdvZWK-r__K5y0=S4qJ_DCZaauVM=ioFRaBhQ@HIDDEN> <986a3eea465e13c57bcdd7ce8f27f99d@HIDDEN> <CAN+1HbonZyoWHHp6bpQvKYjyvV71ieACCZo4HeonZR_5+VxwcQ@HIDDEN> <E1tPDuC-0001ET-J1@HIDDEN> <864j2w6tz0.fsf@HIDDEN> <861pxy5zxk.fsf@HIDDEN> <CAN+1Hbp5MACbrKo3KTo5G0CXDo0v3kwSxes=Z3ZfJLsp-QB5Qg@HIDDEN> <86jzbq4i6x.fsf@HIDDEN> <CAN+1HbrZ=7x=FW8w5yd3RXf=gPcAdUHyyQXg31VuVPv1_uqgeg@HIDDEN> <86frme4exq.fsf@HIDDEN> <CAN+1Hbq0B-4aPQw3ar9yjntE=tmL7jWayyTT_r0Kmh35vs0SmA@HIDDEN> <ca51f813c6ef2977fa17d7129cd633cb@HIDDEN> <865xn5y2n0.fsf@HIDDEN> <5e102d7d29eba618874c0b41e9815b8d@HIDDEN> <86ldw0ur0h.fsf@HIDDEN> <eb5002c5d1b62da9501b7033295a6070@HIDDEN> <86h66nq7vh.fsf@HIDDEN> Message-ID: <83cf221bcf4fc4162c7401b9146d1961@HIDDEN> X-Sender: jared@HIDDEN Content-Type: multipart/mixed; boundary="=_e282d2b6f6a4f75ada0b1eea28032211" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74833 Cc: gerd.moellmann@HIDDEN, 74833 <at> debbugs.gnu.org, fgunbin@HIDDEN, shipmints@HIDDEN, rms@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --=_e282d2b6f6a4f75ada0b1eea28032211 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On 2024-12-28 23:13, Eli Zaretskii wrote: >> Date: Sat, 28 Dec 2024 21:16:28 -0800 >> From: Jared Finder <jared@HIDDEN> >> Cc: shipmints@HIDDEN, rms@HIDDEN, gerd.moellmann@HIDDEN, >> fgunbin@HIDDEN, 74833 <at> debbugs.gnu.org >> >> I'm proposing to add a single regexp that matches against the terminal >> name and version string. If there's a match, automatically enable >> xterm-mouse-mode. For terminals that aren't supported or don't support >> "\e[>0q", leave xterm-mouse-mode as is. No other complexity is needed. >> A >> user can always customize xterm-mouse-mode (it's a user option) if >> they >> want to enable it anyways. > > Sounds okay, but can you post a patch to try? Patch attached. I also noticed outdated text in the docstring for xterm-mouse-mode and attached a second patch to delete that text. -- MJF --=_e282d2b6f6a4f75ada0b1eea28032211 Content-Transfer-Encoding: base64 Content-Type: text/x-diff; name=0001-Don-t-always-enable-xterm-mouse-mode-bug-74833.patch Content-Disposition: attachment; filename=0001-Don-t-always-enable-xterm-mouse-mode-bug-74833.patch; size=9601 RnJvbSA2MGQ5YWIwYjRjYjllNzA3MThmZWViYzFlYzM3ZTUxZWIxZDk2YWIwIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBKYXJlZCBGaW5kZXIgPGphcmVkQGZpbmRlci5vcmc+CkRhdGU6 IFdlZCwgMSBKYW4gMjAyNSAyMjozNjoyNSAtMDgwMApTdWJqZWN0OiBbUEFUQ0ggMS8yXSBEb24n dCBhbHdheXMgZW5hYmxlIHh0ZXJtLW1vdXNlLW1vZGUgKGJ1ZyM3NDgzMykKCk1hbnkgdGVybWlu YWxzIHNldCB0aGUgZW52aXJvbm1lbnQgdmFyaWFibGUgVEVSTSB0byAieHRlcm0iIGV2ZW4gd2hl biB0aGV5CmRvbid0IHN1cHBvcnQgYWxsIGZ1bmN0aW9uYWxpdHkgaW4geHRlcm0uICBUaGlzIG1l YW5zIHRoYXQgZW5hYmxpbmcKeHRlcm0tbW91c2UtbW9kZSBjYW4gYnJlYWsgY3JpdGljYWwgZWRp dGluZyB3b3JrZmxvd3MgbGlrZSBjb3B5L3Bhc3RlLiAgVGhpcwphZGRzIGNoZWNrcyBmb3IgdGhl IHNwZWNpZmljIHRlcm1pbmFsIEVtYWNzIGlzIHJ1biBpbiBhbmQgb25seSBlbmFibGVzCnh0ZXJt LW1vdXNlLW1vZGUgb24gdGVybWluYWxzIGtub3dzIHRvIHN1cHBvcnQgYWxsIGNyaXRpY2FsIGVk aXRpbmcgd29ya2Zsb3dzLgoKKiBldGMvTkVXUzogVXBkYXRlIGFubm91bmNlbWVudAoqIGxpc3Av dGVybS94dGVybS5lbCAoeHRlcm0tLWF1dG8teHQtbW91c2UtYWxsb3dlZC1uYW1lcykKKHh0ZXJt LS1hdXRvLXh0LW1vdXNlLWFsbG93ZWQtdHlwZXMpOiBOZXcgdmFyaWFibGVzIHRvIGNvbnRyb2wK d2hhdCB0ZXJtaW5hbHMgYXV0b21hdGljYWxseSBlbmFibGUgeHRlcm0tbW91c2UtbW9kZS4KKHh0 ZXJtLS1yZXBvcnQtYmFja2dyb3VuZC1oYW5kbGVyLCB4dGVybS0tdmVyc2lvbi1oYW5kbGVyKTog VXNlCnh0ZXJtLS1yZWFkLXN0cmluZy4KKHh0ZXJtLS1yZWFkLXN0cmluZywgeHRlcm0tLXF1ZXJ5 LW5hbWUtYW5kLXZlcnNpb24pOiBOZXcKZnVuY3Rpb24uCih4dGVybS0taW5pdCk6IENoZWNrIHdo YXQgdGVybWluYWwgaXMgcnVubmluZyBhbmQgaWYKeHRlcm0tbW91c2UtbW9kZSB3YXMgbWFudWFs bHkgY2FsbGVkLgoqIGxpc3AveHQtbW91c2UuZWwgKHh0ZXJtLW1vdXNlLW1vZGUtY2FsbGVkKTog TmV3IHZhcmlhYmxlLgooeHRlcm0tbW91c2UtbW9kZSk6IFNldCB4dGVybS1tb3VzZS1tb2RlLWNh bGxlZC4KLS0tCiBldGMvTkVXUyAgICAgICAgICAgfCAxNCArKysrLS0tCiBsaXNwL3Rlcm0veHRl cm0uZWwgfCA5NiArKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKy0tLS0tLS0t CiBsaXNwL3h0LW1vdXNlLmVsICAgfCAgNyArKystCiAzIGZpbGVzIGNoYW5nZWQsIDk1IGluc2Vy dGlvbnMoKyksIDIyIGRlbGV0aW9ucygtKQoKZGlmZiAtLWdpdCBhL2V0Yy9ORVdTIGIvZXRjL05F V1MKaW5kZXggODUyMTNjYmFhNmYuLjRiNWJjOWVhM2Q3IDEwMDY0NAotLS0gYS9ldGMvTkVXUwor KysgYi9ldGMvTkVXUwpAQCAtMzQsMTEgKzM0LDE1IEBAIGluY29ycmVjdGx5IGluIHJhcmUgY2Fz ZXMuCiAMCiAqIFN0YXJ0dXAgQ2hhbmdlcyBpbiBFbWFjcyAzMS4xCiAKLSoqIFdoZW4gcnVuIGlu c2lkZSB4dGVybSwgJ3h0ZXJtLW1vdXNlLW1vZGUnIGlzIHR1cm5lZCBvbiBieSBkZWZhdWx0Lgot VGhpcyBtZWFucyB0aGF0IHRoZSBtb3VzZSB3aWxsIHdvcmsgYnkgZGVmYXVsdCBpbnNpZGUgeHRl cm0gdGVybWluYWxzLgotSWYgeW91ciB0ZXJtaW5hbCBkb2VzIG5vdCBiZWhhdmUgcHJvcGVybHkg d2l0aCB4dGVybSBtb3VzZSB0cmFja2luZwotZW5hYmxlZCwgeW91IGNhbiBkaXNhYmxlIG1vdXNl IHRyYWNraW5nIGJ5IHB1dHRpbmcgJyh4dGVybS1tb3VzZS1tb2RlCi0tMSknIGluIHlvdXIgaW5p dCBmaWxlLgorKiogSW4gY29tcGF0aWJsZSB0ZXJtaW5hbHMsICd4dGVybS1tb3VzZS1tb2RlJyBp cyB0dXJuZWQgb24gYnkgZGVmYXVsdC4KK0ZvciB0aGVzZSB0ZXJtaW5hbHMgdGhlIG1vdXNlIHdp bGwgd29yayBieSBkZWZhdWx0LiAgQSBjb21wYXRpYmxlCit0ZXJtaW5hbCBpcyBvbmUgdGhhdCBz dXBwb3J0cyBFbWFjcyBzZXRpbmcgYW5kIGdldHRpbmcgdGhlIE9TIHNlbGVjdGlvbgorZGF0YSAo YS5rLmEuIHRoZSBjbGlwYm9hcmQpIGFuZCBtb3VzZSBidXR0b24gYW5kIG1vdGlvbiBldmVudHMu ICBXaXRoCit4dGVybS1tb3VzZS1tb2RlIGVuYWJsZWQsIHlvdSBtdXN0IHVzZSBFbWFjcyBrZXli aW5kaW5ncyB0byBjb3B5IHRvIHRoZQorT1Mgc2VsZWN0aW9uIGluc3RlYWQgb2YgdGVybWluYWwt c3BlY2lmaWMga2V5YmluZGluZ3MuCisKK1lvdSBjYW4ga2VlcCB0aGUgb2xkIGJlaGF2aW9yIGJ5 IHB1dHRpbmcgYCh4dGVybS1tb3VzZS1tb2RlIC0xKScgaW4geW91cgoraW5pdCBmaWxlLgogCiAM CiAqIENoYW5nZXMgaW4gRW1hY3MgMzEuMQpkaWZmIC0tZ2l0IGEvbGlzcC90ZXJtL3h0ZXJtLmVs IGIvbGlzcC90ZXJtL3h0ZXJtLmVsCmluZGV4IGM0ZjMzY2QwZmFhLi5hOGU4OGM3OWFjZCAxMDA2 NDQKLS0tIGEvbGlzcC90ZXJtL3h0ZXJtLmVsCisrKyBiL2xpc3AvdGVybS94dGVybS5lbApAQCAt ODMsNiArODMsMzkgQEAgeHRlcm0tc3RvcmUtcGFzdGUtb24ta2lsbC1yaW5nCiAoZGVmY29uc3Qg eHRlcm0tcGFzdGUtZW5kaW5nLXNlcXVlbmNlICJcZVsyMDF+IgogICAiQ2hhcmFjdGVycyBzZW50 IGJ5IHRoZSB0ZXJtaW5hbCB0byBlbmQgYSBicmFja2V0ZWQgcGFzdGUuIikKIAorKGRlZmNvbnN0 IHh0ZXJtLS1hdXRvLXh0LW1vdXNlLWFsbG93ZWQtbmFtZXMKKyAgKG1hcGNvbmNhdCAobGFtYmRh IChzKSAoY29uY2F0ICJeIiBzICJcXD4iKSkKKyAgICAgICAgICAgICAnKCJLb25zb2xlIgorICAg ICAgICAgICAgICAgIldlelRlcm0iCisgICAgICAgICAgICAgICA7OyAiWFRlcm0iICAgO0Rpc2Fi bGVkIGJlY2F1c2UgT1NDNTIgc3VwcG9ydCBpcyBvcHQtaW4gb25seS4KKyAgICAgICAgICAgICAg ICJpVGVybTIiICAgICA7T1NDNTIgc3VwcG9ydCBoYXMgb3B0LWluL291dCBVSSBvbiBmaXJzdCB1 c2FnZQorICAgICAgICAgICAgICAgImtpdHR5IikKKyAgICAgICAgICAgICAiXFx8IikKKyAgIlJl Z2V4cCBmb3IgdGVybWluYWxzIHRoYXQgYXV0b21hdGljYWxseSBlbmFibGUgYHh0ZXJtLW1vdXNl LW1vZGUnIGF0IHN0YXJ0dXAuCitUaGlzIHdpbGwgZ2V0IG1hdGNoZWQgYWdhaW5zdCB0aGUgdGVy bWluYWwncyBYVFZFUlNJT04gc3RyaW5nLgorCitJdCBpcyBleHBlY3RlZCB0aGF0IGFueSBtYXRj aGluZyB0ZXJtaW5hbCBzdXBwb3J0cyB0aGUgZm9sbG93aW5nCitmdW5jdGlvbmFsaXR5OgorCitc IlNldCBzZWxlY3Rpb24gZGF0YVwiIChPU0M1Mik6IEFsbG93cyBFbWFjcyB0byBzZXQgdGhlIE9T IGNsaXBib2FyZC4KK1wiR2V0IHNlbGVjdGlvbiBkYXRhXCIgKE9TQzUyIG9yIGJyYWNrZXRlZCBw YXN0ZSk6IEFsbG93cyBFbWFjcyB0byBnZXQKKyAgICB0aGUgY29udGVudHMgb2YgdGhlIE9TIGNs aXBib2FyZC4KK1wiQmFzaWMgbW91c2UgbW9kZVwiIChERUNTRVQxMDAwKTogQWxsb3dzIEVtYWNz IHRvIGdldCBldmVudHMgb24gbW91c2UKKyAgICBjbGlja3MuCitcIk1vdXNlIG1vdGlvbiBtb2Rl XCIgKERFQ1NFVDEwMDMpOiBBbGxvd3MgRW1hY3MgdG8gZ2V0IGV2ZW50IG9uIG1vdXNlCisgICAg bW90aW9uLgorCitBbHNvIHNlZSBgeHRlcm0tLWF1dG8teHQtbW91c2UtYWxsb3dlZC10eXBlcycg d2hpY2ggbXRjaGVzIGFnYWluc3QgdGhlCit2YWx1ZSBvZiBURVJNIGluc3RlYWQuIikKKworKGRl ZmNvbnN0IHh0ZXJtLS1hdXRvLXh0LW1vdXNlLWFsbG93ZWQtdHlwZXMKKyAgKG1hcGNvbmNhdCAo bGFtYmRhIChzKSAoY29uY2F0ICJeIiBzICIkIikpCisgICAgICAgICAgICAgJygiYWxhY3JpdHR5 IgorICAgICAgICAgICAgICAgImNvbnRvdXIiKQorICAgICAgICAgICAgICJcXHwiKQorICAiTGlr ZSBgeHRlcm0tLWF1dG8teHQtbW91c2UtYWxsb3dlZC1uYW1lcycsIGJ1dCBmb3IgdGhlIHRlcm1p bmFsJ3MgdHlwZS4KK1RoaXMgd2lsbCBnZXQgbWF0Y2hlZCBhZ2FpbnN0IHRoZSBlbnZpcm9ubWVu dCB2YXJpYWJsZSBcIlRFUk1cIi4iKQorCiAoZGVmdW4geHRlcm0tLXBhc3RlZC10ZXh0ICgpCiAg ICJIYW5kbGUgdGhlIHJlc3Qgb2YgYSB0ZXJtaW5hbCBwYXN0ZSBvcGVyYXRpb24uCiBSZXR1cm4g dGhlIHBhc3RlZCB0ZXh0IGFzIGEgc3RyaW5nLiIKQEAgLTcwNywxMSArNzQwLDggQEAgeHRlcm0t c3RhbmRhcmQtY29sb3JzCiAgICJOYW1lcyBvZiAxNiBzdGFuZGFyZCB4dGVybS9haXh0ZXJtIGNv bG9ycywgdGhlaXIgbnVtYmVycywgYW5kIFJHQiB2YWx1ZXMuIikKIAogKGRlZnVuIHh0ZXJtLS1y ZXBvcnQtYmFja2dyb3VuZC1oYW5kbGVyICgpCi0gIChsZXQgKChzdHIgIiIpCi0gICAgICAgIGNo cikKLSAgICA7OyBUaGUgcmVwbHkgc2hvdWxkIGJlOiBcZSBdIDExIDsgcmdiOiBOVU1CRVIxIC8g TlVNQkVSMiAvIE5VTUJFUjMgXGUgXFwKLSAgICAod2hpbGUgKGFuZCAoc2V0cSBjaHIgKHh0ZXJt LS1yZWFkLWV2ZW50LWZvci1xdWVyeSkpIChub3QgKGVxdWFsIGNociA/XFwpKSkKLSAgICAgIChz ZXRxIHN0ciAoY29uY2F0IHN0ciAoc3RyaW5nIGNocikpKSkKKyAgOzsgVGhlIHJlcGx5IHNob3Vs ZCBiZTogXGUgXSAxMSA7IHJnYjogTlVNQkVSMSAvIE5VTUJFUjIgLyBOVU1CRVIzIFxlIFxcCisg IChsZXQgKChzdHIgKHh0ZXJtLS1yZWFkLXN0cmluZyA/XGUgP1xcKSkpCiAgICAgKHdoZW4gKHN0 cmluZy1tYXRjaAogICAgICAgICAgICAicmdiOlxcKFthLWYwLTldK1xcKS9cXChbYS1mMC05XStc XCkvXFwoW2EtZjAtOV0rXFwpIiBzdHIpCiAgICAgICAobGV0ICgocmVjb21wdXRlLWZhY2VzCkBA IC03MzAsMTYgKzc2MCwxMyBAQCB4dGVybS0tcmVwb3J0LWJhY2tncm91bmQtaGFuZGxlcgogICAg ICAgICAgICh0dHktc2V0LXVwLWluaXRpYWwtZnJhbWUtZmFjZXMpKSkpKSkKIAogKGRlZnVuIHh0 ZXJtLS12ZXJzaW9uLWhhbmRsZXIgKCkKLSAgKGxldCAoKHN0ciAiIikKLSAgICAgICAgY2hyKQot ICAgIDs7IFRoZSByZXBseSBzaG91bGQgYmU6IFxlIFsgPiBOVU1CRVIxIDsgTlVNQkVSMiA7IE5V TUJFUjMgYwotICAgIDs7IElmIHRoZSB0aW1lb3V0IGlzIGNvbXBsZXRlbHkgcmVtb3ZlZCBmb3Ig cmVhZC1ldmVudCwgdGhpcwotICAgIDs7IG1pZ2h0IGhhbmcgZm9yIHRlcm1pbmFscyB0aGF0IHBy ZXRlbmQgdG8gYmUgeHRlcm0sIGJ1dCBkb24ndAotICAgIDs7IHJlc3BvbmQgdG8gdGhpcyBlc2Nh cGUgc2VxdWVuY2UuICBSTVMnIG9waW5pb24gd2FzIHRvIHJlbW92ZQotICAgIDs7IGl0IGNvbXBs ZXRlbHkuICBUaGF0IG1pZ2h0IGJlIHJpZ2h0LCBidXQgbGV0J3MgZmlyc3QgdHJ5IHRvCi0gICAg Ozsgc2VlIGlmIGJ5IHVzaW5nIGEgbG9uZ2VyIHRpbWVvdXQgd2UgZ2V0IHJpZCBvZiBtb3N0IGlz c3Vlcy4KLSAgICAod2hpbGUgKGFuZCAoc2V0cSBjaHIgKHh0ZXJtLS1yZWFkLWV2ZW50LWZvci1x dWVyeSkpIChub3QgKGVxdWFsIGNociA/YykpKQotICAgICAgKHNldHEgc3RyIChjb25jYXQgc3Ry IChzdHJpbmcgY2hyKSkpKQorICA7OyBUaGUgcmVwbHkgc2hvdWxkIGJlOiBcZSBbID4gTlVNQkVS MSA7IE5VTUJFUjIgOyBOVU1CRVIzIGMKKyAgOzsgSWYgdGhlIHRpbWVvdXQgaXMgY29tcGxldGVs eSByZW1vdmVkIGZvciByZWFkLWV2ZW50LCB0aGlzCisgIDs7IG1pZ2h0IGhhbmcgZm9yIHRlcm1p bmFscyB0aGF0IHByZXRlbmQgdG8gYmUgeHRlcm0sIGJ1dCBkb24ndAorICA7OyByZXNwb25kIHRv IHRoaXMgZXNjYXBlIHNlcXVlbmNlLiAgUk1TJyBvcGluaW9uIHdhcyB0byByZW1vdmUKKyAgOzsg aXQgY29tcGxldGVseS4gIFRoYXQgbWlnaHQgYmUgcmlnaHQsIGJ1dCBsZXQncyBmaXJzdCB0cnkg dG8KKyAgOzsgc2VlIGlmIGJ5IHVzaW5nIGEgbG9uZ2VyIHRpbWVvdXQgd2UgZ2V0IHJpZCBvZiBt b3N0IGlzc3Vlcy4KKyAgKGxldCAoKHN0ciAoeHRlcm0tLXJlYWQtc3RyaW5nID9jKSkpCiAgICAg OzsgU2luY2UgeHRlcm0tMjgwLCB0aGUgdGVybWluYWwgdHlwZSAoTlVNQkVSMSkgaXMgbm93IDQx IGluc3RlYWQgb2YgMC4KICAgICAod2hlbiAoc3RyaW5nLW1hdGNoICJcXChbMC05XStcXCk7XFwo WzAtOV0rXFwpO1swMV0iIHN0cikKICAgICAgIChsZXQgKCh2ZXJzaW9uIChzdHJpbmctdG8tbnVt YmVyIChtYXRjaC1zdHJpbmcgMiBzdHIpKSkpCkBAIC04MTAsNiArODM3LDIxIEBAIHh0ZXJtLS1y ZWFkLWV2ZW50LWZvci1xdWVyeQogCQkJCSAgeHRlcm0tcXVlcnktdGltZW91dAogCQkJCSAgKHRp bWUtc2luY2Ugc3RhcnQtdGltZSkpKSkpKSkpKQogCisoZGVmdW4geHRlcm0tLXJlYWQtc3RyaW5n ICh0ZXJtMSAmb3B0aW9uYWwgdGVybTIpCisgICJSZWFkIGEgc3RyaW5nIHdpdGggdGVybWluYXRp bmcgY2hhcmFjdGVycy4KK1RoaXMgdXNlcyBgeHRlcm0tLXJlYWQtZXZlbnQtZm9yLXF1ZXJ5JyBp bnRlcm5hbGx5LiIKKyAgKGxldCAoKHN0ciAiIikKKyAgICAgICAgY2hyIGxhc3QpCisgICAgKHdo aWxlIChhbmQgKHNldHEgbGFzdCBjaHIKKyAgICAgICAgICAgICAgICAgICAgICBjaHIgKHh0ZXJt LS1yZWFkLWV2ZW50LWZvci1xdWVyeSkpCisgICAgICAgICAgICAgICAgKGlmIHRlcm0yCisgICAg ICAgICAgICAgICAgICAgIChub3QgKGFuZCAoZXF1YWwgbGFzdCB0ZXJtMSkgKGVxdWFsIGNociB0 ZXJtMikpKQorICAgICAgICAgICAgICAgICAgKG5vdCAoZXF1YWwgY2hyIHRlcm0xKSkpKQorICAg ICAgKHNldHEgc3RyIChjb25jYXQgc3RyIChzdHJpbmcgY2hyKSkpKQorICAgIChpZiB0ZXJtMgor ICAgICAgICAoc3Vic3RyaW5nIHN0ciAwIC0xKQorICAgICAgc3RyKSkpCisKIChkZWZ1biB4dGVy bS0tcXVlcnkgKHF1ZXJ5IGhhbmRsZXJzICZvcHRpb25hbCBuby1hc3luYykKICAgIlNlbmQgUVVF Ulkgc3RyaW5nIHRvIHRoZSB0ZXJtaW5hbCBhbmQgd2F0Y2ggZm9yIGEgcmVzcG9uc2UuCiBIQU5E TEVSUyBpcyBhbiBhbGlzdCB3aXRoIGVsZW1lbnRzIG9mIHRoZSBmb3JtIChTVFJJTkcgLiBGVU5D VElPTikuCkBAIC04NjAsNiArOTAyLDIwIEBAIHh0ZXJtLS1xdWVyeQogICAgICAgICAgICAgICAo cHVzaCAoYXJlZiAoY2FyIGhhbmRsZXIpIChzZXRxIGkgKDEtIGkpKSkKICAgICAgICAgICAgICAg ICAgICAgdW5yZWFkLWNvbW1hbmQtZXZlbnRzKSkpKSkpKSkKIAorKGRlZnVuIHh0ZXJtLS1xdWVy eS1uYW1lLWFuZC12ZXJzaW9uICgpCisgICJHZXQgdGhlIHRlcm1pbmFsIG5hbWUgYW5kIHZlcnNp b24gc3RyaW5nIChYVFZFUlNJT04pLiIKKyAgOzsgVGhlIGRlZmF1bHQgdGltZW91dCB0aW1lIGNh dXNlcyBhIG5vdGljZWFibGUgc3RhcnR1cCBkZWxheSBvbgorICA7OyB0ZXJtaW5hbHMgdGhhdCBp Z25vcmUgdGhlIHF1ZXJ5LgorICAobGV0ICgoeHRlcm0tcXVlcnktdGltZW91dCAwLjEpKQorICAg IChjYXRjaCAncmVzdWx0CisgICAgICAoeHRlcm0tLXF1ZXJ5CisgICAgICAgIlxlWz4wcSIKKyAg ICAgICAnKCgiXGVQPnwiIC4gKGxhbWJkYSAoKQorICAgICAgICAgICAgICAgICAgICAgIDs7IFRo ZSByZXBseSBzaG91bGQgYmU6IFxlIFAgPiB8IFNUUklORyBcZSBcXAorICAgICAgICAgICAgICAg ICAgICAgIChsZXQgKChzdHIgKHh0ZXJtLS1yZWFkLXN0cmluZyA/XGUgP1xcKSkpCisgICAgICAg ICAgICAgICAgICAgICAgICAodGhyb3cgJ3Jlc3VsdCBzdHIpKSkpKSkKKyAgICAgIG5pbCkpKQor CiAoZGVmdW4geHRlcm0tLXB1c2gtbWFwIChtYXAgYmFzZW1hcCkKICAgOzsgVXNlIGluaGVyaXRh bmNlIHRvIGxldCB0aGUgbWFpbiBrZXltYXBzIG92ZXJyaWRlIHRob3NlIGRlZmF1bHRzLgogICA7 OyBUaGlzIHdheSB3ZSBkb24ndCBvdmVycmlkZSB0ZXJtaW5mby1kZXJpdmVkIHNldHRpbmdzIG9y IHNldHRpbmdzCkBAIC05MDcsNyArOTYzLDE1IEBAIHh0ZXJtLS1pbml0CiAKICAgKHdoZW4geHRl cm0tc2V0LXdpbmRvdy10aXRsZQogICAgICh4dGVybS0taW5pdC1mcmFtZS10aXRsZSkpCi0gICh3 aGVuIHh0ZXJtLW1vdXNlLW1vZGUKKyAgKHdoZW4gKGFuZCAobm90IHh0ZXJtLW1vdXNlLW1vZGUt Y2FsbGVkKQorICAgICAgICAgICAgIDs7IE9ubHkgYXV0b21hdGljYWxseSBlbmFibGUgeHRlcm0g bW91c2Ugb24gdGVybWluYWxzCisgICAgICAgICAgICAgOzsgY29uZmlybWVkIHRvIHN0aWxsIHN1 cHBvcnQgYWxsIGNyaXRpY2FsIGVkaXRpbmcKKyAgICAgICAgICAgICA7OyB3b3JrZmxvd3MgKGJ1 ZyM3NDgzMykuCisgICAgICAgICAgICAgKG9yIChzdHJpbmctbWF0Y2gtcCB4dGVybS0tYXV0by14 dC1tb3VzZS1hbGxvd2VkLXR5cGVzCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAo dHR5LXR5cGUgKHNlbGVjdGVkLWZyYW1lKSkpCisgICAgICAgICAgICAgICAgIChhbmQtbGV0KiAo KG5hbWUtYW5kLXZlcnNpb24gKHh0ZXJtLS1xdWVyeS1uYW1lLWFuZC12ZXJzaW9uKSkpCisgICAg ICAgICAgICAgICAgICAgKHN0cmluZy1tYXRjaC1wIHh0ZXJtLS1hdXRvLXh0LW1vdXNlLWFsbG93 ZWQtbmFtZXMKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbmFtZS1hbmQtdmVy c2lvbikpKSkKICAgICAoeHRlcm0tbW91c2UtbW9kZSAxKSkKICAgOzsgVW5jb25kaXRpb25hbGx5 IGVuYWJsZSBicmFja2V0ZWQgcGFzdGUgbW9kZTogdGVybWluYWxzIHRoYXQgZG9uJ3QKICAgOzsg c3VwcG9ydCBpdCBqdXN0IGlnbm9yZSB0aGUgc2VxdWVuY2UuCmRpZmYgLS1naXQgYS9saXNwL3h0 LW1vdXNlLmVsIGIvbGlzcC94dC1tb3VzZS5lbAppbmRleCAyYmE2MGRlZDg5OS4uYzM5MDc4OGVj ZDMgMTAwNjQ0Ci0tLSBhL2xpc3AveHQtbW91c2UuZWwKKysrIGIvbGlzcC94dC1tb3VzZS5lbApA QCAtMzYyLDYgKzM2MiwxMSBAQCB4dGVybS1tb3VzZS1ldmVudAogICAgICAgICAoc2V0LXRlcm1p bmFsLXBhcmFtZXRlciBuaWwgJ3h0ZXJtLW1vdXNlLWZyYW1lIGZyYW1lKQogICAgICAgICAoc2V0 cSBsYXN0LWlucHV0LWV2ZW50IGV2ZW50KSkpKSkKIAorOzs7IyMjYXV0b2xvYWQKKyhkZWZ2YXIg eHRlcm0tbW91c2UtbW9kZS1jYWxsZWQgbmlsCisgICJJZiBgeHRlcm0tbW91c2UtbW9kZScgaGFz IGJlZW4gY2FsbGVkIGFscmVhZHkuCitUaGlzIGNhbiBiZSB1c2VkIHRvIGRldGVjdCBpZiB4dGVy bS1tb3VzZS1tb2RlIHdhcyBleHBsaWNpdGx5IHNldC4iKQorCiA7OzsjIyNhdXRvbG9hZAogKGRl ZmluZS1taW5vci1tb2RlIHh0ZXJtLW1vdXNlLW1vZGUKICAgIlRvZ2dsZSBYVGVybSBtb3VzZSBt b2RlLgpAQCAtMzczLDggKzM3OCw4IEBAIHh0ZXJtLW1vdXNlLW1vZGUKIG1vdXNlIGZ1bmN0aW9u YWxpdHkgZm9yIHN1Y2ggY2xpY2tzIGlzIHN0aWxsIGF2YWlsYWJsZSBieSBob2xkaW5nCiBkb3du IHRoZSBTSElGVCBrZXkgd2hpbGUgcHJlc3NpbmcgdGhlIG1vdXNlIGJ1dHRvbi4iCiAgIDpnbG9i YWwgdCA6Z3JvdXAgJ21vdXNlCi0gIDppbml0LXZhbHVlIHQKICAgOnZlcnNpb24gIjMxLjEiCisg IChzZXRxIHh0ZXJtLW1vdXNlLW1vZGUtY2FsbGVkIHQpCiAgIChmdW5jYWxsIChpZiB4dGVybS1t b3VzZS1tb2RlICdhZGQtaG9vayAncmVtb3ZlLWhvb2spCiAgICAgICAgICAgICd0ZXJtaW5hbC1p bml0LXh0ZXJtLWhvb2sKICAgICAgICAgICAgJ3R1cm4tb24teHRlcm0tbW91c2UtdHJhY2tpbmct b24tdGVybWluYWwpCi0tIAoyLjM5LjUKCg== --=_e282d2b6f6a4f75ada0b1eea28032211 Content-Transfer-Encoding: base64 Content-Type: text/x-diff; name=0002-Modifier-keys-and-double-clicks-work-correctly.patch Content-Disposition: attachment; filename=0002-Modifier-keys-and-double-clicks-work-correctly.patch; size=1386 RnJvbSBmMWM3ODU4YzU3OTRhMTNiMTliMzY4ODRiYjVhYzVkYjAxOTAwNWY3IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBKYXJlZCBGaW5kZXIgPGphcmVkQGZpbmRlci5vcmc+CkRhdGU6 IFdlZCwgMSBKYW4gMjAyNSAyMzowNDoyMyAtMDgwMApTdWJqZWN0OiBbUEFUQ0ggMi8yXSBNb2Rp ZmllciBrZXlzIGFuZCBkb3VibGUgY2xpY2tzIHdvcmsgY29ycmVjdGx5CgoqIGxpc3AveHQtbW91 c2UuZWwgKHh0ZXJtLW1vdXNlLW1vZGUpOiBVcGRhdGUgY29tbWVudC4KLS0tCiBsaXNwL3h0LW1v dXNlLmVsIHwgMTAgKysrKy0tLS0tLQogMSBmaWxlIGNoYW5nZWQsIDQgaW5zZXJ0aW9ucygrKSwg NiBkZWxldGlvbnMoLSkKCmRpZmYgLS1naXQgYS9saXNwL3h0LW1vdXNlLmVsIGIvbGlzcC94dC1t b3VzZS5lbAppbmRleCBjMzkwNzg4ZWNkMy4uYjkyODhiZGU2YjYgMTAwNjQ0Ci0tLSBhL2xpc3Av eHQtbW91c2UuZWwKKysrIGIvbGlzcC94dC1tb3VzZS5lbApAQCAtMzcxLDEyICszNzEsMTAgQEAg eHRlcm0tbW91c2UtbW9kZS1jYWxsZWQKIChkZWZpbmUtbWlub3ItbW9kZSB4dGVybS1tb3VzZS1t b2RlCiAgICJUb2dnbGUgWFRlcm0gbW91c2UgbW9kZS4KIAotVHVybiBpdCBvbiB0byB1c2UgRW1h Y3MgbW91c2UgY29tbWFuZHMsIGFuZCBvZmYgdG8gdXNlIHh0ZXJtIG1vdXNlIGNvbW1hbmRzLgot VGhpcyB3b3JrcyBpbiB0ZXJtaW5hbCBlbXVsYXRvcnMgY29tcGF0aWJsZSB3aXRoIHh0ZXJtLiAg SXQgb25seQotd29ya3MgZm9yIHNpbXBsZSB1c2VzIG9mIHRoZSBtb3VzZS4gIEJhc2ljYWxseSwg b25seSBub24tbW9kaWZpZWQKLXNpbmdsZSBjbGlja3MgYXJlIHN1cHBvcnRlZC4gIFdoZW4gdHVy bmVkIG9uLCB0aGUgbm9ybWFsIHh0ZXJtCi1tb3VzZSBmdW5jdGlvbmFsaXR5IGZvciBzdWNoIGNs aWNrcyBpcyBzdGlsbCBhdmFpbGFibGUgYnkgaG9sZGluZwotZG93biB0aGUgU0hJRlQga2V5IHdo aWxlIHByZXNzaW5nIHRoZSBtb3VzZSBidXR0b24uIgorVHVybiBpdCBvbiB0byB1c2UgRW1hY3Mg bW91c2UgY29tbWFuZHMsIGFuZCBvZmYgdG8gdXNlIHh0ZXJtIG1vdXNlCitjb21tYW5kcy4gIFRo aXMgd29ya3MgaW4gdGVybWluYWwgZW11bGF0b3JzIGNvbXBhdGlibGUgd2l0aCB4dGVybS4gIFdo ZW4KK3R1cm5lZCBvbiwgdGhlIG5vcm1hbCB4dGVybSBtb3VzZSBmdW5jdGlvbmFsaXR5IGZvciBz dWNoIGNsaWNrcyBpcyBzdGlsbAorYXZhaWxhYmxlIGJ5IGhvbGRpbmcgZG93biB0aGUgU0hJRlQg a2V5IHdoaWxlIHByZXNzaW5nIHRoZSBtb3VzZSBidXR0b24uIgogICA6Z2xvYmFsIHQgOmdyb3Vw ICdtb3VzZQogICA6dmVyc2lvbiAiMzEuMSIKICAgKHNldHEgeHRlcm0tbW91c2UtbW9kZS1jYWxs ZWQgdCkKLS0gCjIuMzkuNQoK --=_e282d2b6f6a4f75ada0b1eea28032211--
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 29 Dec 2024 07:14:11 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 29 02:14:11 2024 Received: from localhost ([127.0.0.1]:53595 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tRnV4-000771-P6 for submit <at> debbugs.gnu.org; Sun, 29 Dec 2024 02:14:11 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39910) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tRnV2-00076i-V6 for 74833 <at> debbugs.gnu.org; Sun, 29 Dec 2024 02:14:10 -0500 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@HIDDEN>) id 1tRnUx-00080B-6w; Sun, 29 Dec 2024 02:14:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=wyj2PKvy43Nq4MSLnBCJtKto+8C3kCaHfgdEWvYYg48=; b=OunCYu7FB7nK oQiyBiPzuF9dMiTAqkSODK3DlKwtubJVglF7neXTe9aBX2TZ1D7098MzvAzeMf08wu0oYVd+Fckwx YmIwosH0OQxAPDCPpk41lbjKQcmZ1hYCifQyPunNrj18tPJTnLYF0RTauY7xOR3r5K4WeKfjcjGF9 zyE25cXR2wtebkGH1ff6QXqI7/sRhtxwJHbjILgk7suP4eZsmXW6Jo4vDz7dax/x94S5Id6gYBJfr 8CG1XdSGZ0SAEzKdG5HZXwUfSg/QnjOmYXOXrijTpUG9mhGCX0LucoSz06mf6Iwor41pkORVyupnJ LRagT/6CJMKgMs45IezHYA==; Date: Sun, 29 Dec 2024 09:13:38 +0200 Message-Id: <86h66nq7vh.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Jared Finder <jared@HIDDEN> In-Reply-To: <eb5002c5d1b62da9501b7033295a6070@HIDDEN> (message from Jared Finder on Sat, 28 Dec 2024 21:16:28 -0800) Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> <86y10jwmsb.fsf@HIDDEN> <m1msgznx20.fsf@HIDDEN> <86ldwiwvjc.fsf@HIDDEN> <m2ldwi8uvx.fsf@HIDDEN> <m1pllrtwq1.fsf@HIDDEN> <m2jzbzfscp.fsf@HIDDEN> <m1v7vjsavb.fsf@HIDDEN> <CAN+1Hbo03URNb5dUVgiX8ofzrYiWG9VtB3AF9pjGvRxrMgyYDQ@HIDDEN> <86ed27pfhj.fsf@HIDDEN> <CAN+1HbqqUoa1KK4xNGz1CO7mrmk=NTnFei1Fr8qchccbLqC2Zg@HIDDEN> <86a5cvpeiv.fsf@HIDDEN> <m2seqndlx7.fsf@HIDDEN> <86y10eo5h6.fsf@HIDDEN> <CAN+1HbqZE9TbEPdvZWK-r__K5y0=S4qJ_DCZaauVM=ioFRaBhQ@HIDDEN> <986a3eea465e13c57bcdd7ce8f27f99d@HIDDEN> <CAN+1HbonZyoWHHp6bpQvKYjyvV71ieACCZo4HeonZR_5+VxwcQ@HIDDEN> <E1tPDuC-0001ET-J1@HIDDEN> <864j2w6tz0.fsf@HIDDEN> <861pxy5zxk.fsf@HIDDEN> <CAN+1Hbp5MACbrKo3KTo5G0CXDo0v3kwSxes=Z3ZfJLsp-QB5Qg@HIDDEN> <86jzbq4i6x.fsf@HIDDEN> <CAN+1HbrZ=7x=FW8w5yd3RXf=gPcAdUHyyQXg31VuVPv1_uqgeg@HIDDEN> <86frme4exq.fsf@HIDDEN> <CAN+1Hbq0B-4aPQw3ar9yjntE=tmL7jWayyTT_r0Kmh35vs0SmA@HIDDEN> <ca51f813c6ef2977fa17d7129cd633cb@HIDDEN> <865xn5y2n0.fsf@HIDDEN> <5e102d7d29eba618874c0b41e9815b8d@HIDDEN> <86ldw0ur0h.fsf@HIDDEN> <eb5002c5d1b62da9501b7033295a6070@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74833 Cc: gerd.moellmann@HIDDEN, 74833 <at> debbugs.gnu.org, fgunbin@HIDDEN, shipmints@HIDDEN, rms@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Date: Sat, 28 Dec 2024 21:16:28 -0800 > From: Jared Finder <jared@HIDDEN> > Cc: shipmints@HIDDEN, rms@HIDDEN, gerd.moellmann@HIDDEN, > fgunbin@HIDDEN, 74833 <at> debbugs.gnu.org > > I'm proposing to add a single regexp that matches against the terminal > name and version string. If there's a match, automatically enable > xterm-mouse-mode. For terminals that aren't supported or don't support > "\e[>0q", leave xterm-mouse-mode as is. No other complexity is needed. A > user can always customize xterm-mouse-mode (it's a user option) if they > want to enable it anyways. Sounds okay, but can you post a patch to try?
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 29 Dec 2024 05:16:36 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 29 00:16:36 2024 Received: from localhost ([127.0.0.1]:53444 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tRlfE-0000xr-Q9 for submit <at> debbugs.gnu.org; Sun, 29 Dec 2024 00:16:36 -0500 Received: from greenhill.hpalace.com ([192.155.80.58]:33318) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jared@HIDDEN>) id 1tRlfB-0000xc-T5 for 74833 <at> debbugs.gnu.org; Sun, 29 Dec 2024 00:16:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=finder.org; s=2018; t=1735449388; bh=17q4R2lyXRaPbxcnGXqG2c7twHLvqPRPbdjGnj9m49M=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=tWcj7ca37GVck8Oxkch1znYkLW71xEjZrnsIpzEiiF6cKF9cAtoZqh6RvSZvWY6cY Cj7xMko09lP/u4EjqYwkqrOq2OJpT0Mfpwf6wyDpWfYt0+y6nOEBQVA1bnWQxJqSjv J7nxh9PDICBUHka8dMmUgeF8AyKLFTUIOk+RsTXzr2rIDqpWbV1bO2EQGcawtkSO4i JMm2I27UCoNq7w0K6Odhm5p/UkkYl60VSNw3LQfO+VOLWSgKAZwDX5Z3V50cJNoImJ hlXYWXuHiLlwsT0LcNZp75q/qKpE9vjl72CUF2SM1XWp5vTR/5Sd0bXQbXvaDCPNDD kvAqkT7cWlqxA== Received: from mail.finder.org (unknown [192.155.80.58]) by greenhill.hpalace.com (Postfix) with ESMTPSA id BD2EA3C8; Sun, 29 Dec 2024 05:16:28 +0000 (UTC) MIME-Version: 1.0 Date: Sat, 28 Dec 2024 21:16:28 -0800 From: Jared Finder <jared@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled In-Reply-To: <86ldw0ur0h.fsf@HIDDEN> References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> <86y10jwmsb.fsf@HIDDEN> <m1msgznx20.fsf@HIDDEN> <86ldwiwvjc.fsf@HIDDEN> <m2ldwi8uvx.fsf@HIDDEN> <m1pllrtwq1.fsf@HIDDEN> <m2jzbzfscp.fsf@HIDDEN> <m1v7vjsavb.fsf@HIDDEN> <CAN+1Hbo03URNb5dUVgiX8ofzrYiWG9VtB3AF9pjGvRxrMgyYDQ@HIDDEN> <86ed27pfhj.fsf@HIDDEN> <CAN+1HbqqUoa1KK4xNGz1CO7mrmk=NTnFei1Fr8qchccbLqC2Zg@HIDDEN> <86a5cvpeiv.fsf@HIDDEN> <m2seqndlx7.fsf@HIDDEN> <86y10eo5h6.fsf@HIDDEN> <CAN+1HbqZE9TbEPdvZWK-r__K5y0=S4qJ_DCZaauVM=ioFRaBhQ@HIDDEN> <986a3eea465e13c57bcdd7ce8f27f99d@HIDDEN> <CAN+1HbonZyoWHHp6bpQvKYjyvV71ieACCZo4HeonZR_5+VxwcQ@HIDDEN> <E1tPDuC-0001ET-J1@HIDDEN> <864j2w6tz0.fsf@HIDDEN> <861pxy5zxk.fsf@HIDDEN> <CAN+1Hbp5MACbrKo3KTo5G0CXDo0v3kwSxes=Z3ZfJLsp-QB5Qg@HIDDEN> <86jzbq4i6x.fsf@HIDDEN> <CAN+1HbrZ=7x=FW8w5yd3RXf=gPcAdUHyyQXg31VuVPv1_uqgeg@HIDDEN> <86frme4exq.fsf@HIDDEN> <CAN+1Hbq0B-4aPQw3ar9yjntE=tmL7jWayyTT_r0Kmh35vs0SmA@HIDDEN> <ca51f813c6ef2977fa17d7129cd633cb@HIDDEN> <865xn5y2n0.fsf@HIDDEN> <5e102d7d29eba618874c0b41e9815b8d@HIDDEN> <86ldw0ur0h.fsf@HIDDEN> Message-ID: <eb5002c5d1b62da9501b7033295a6070@HIDDEN> X-Sender: jared@HIDDEN Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 74833 Cc: gerd.moellmann@HIDDEN, 74833 <at> debbugs.gnu.org, fgunbin@HIDDEN, shipmints@HIDDEN, rms@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.3 (/) On 2024-12-28 00:54, Eli Zaretskii wrote: >> Date: Fri, 27 Dec 2024 23:08:27 -0800 >> From: Jared Finder <jared@HIDDEN> >> Cc: shipmints@HIDDEN, rms@HIDDEN, gerd.moellmann@HIDDEN, >> fgunbin@HIDDEN, 74833 <at> debbugs.gnu.org >> >> >> What if we only auto-enabled xterm-mouse-mode on OSC52 compatible >> >> terminals? >> > >> > On OSC52 compatible terminals, or on OSC52 compatible terminals that >> > define TERM to xterm-like string? The latter sounds like a good idea >> > to me, but only if support for OSC52 necessarily means xterm-mouse >> > escape sequences must be supported. Is this conjecture indeed true? >> >> I'm proposing Emacs have a manually curated allow list for now for >> auto-enabling xterm-mouse-mode. Being OSC52 compatible gets us the >> copy >> / paste issue this bug mentioned. We can add other conditions going >> forward. > > What would this allow list specify, and in what terms? > > When reading your proposal above, I thought we have a means of testing > the OSC52 support, but now you seem to be saying that this support > should be somehow specified by a database of terminals we maintain? > ANd if so, the question of detecting a non-xterm terminal that sets > TERM to xterm but doesn't support OSC52 still stands, doesn't it? Yes, that's right. Unfortunately we are limited in two ways: 1. Setting TERM to xterm is commonly done by alternative terminals, even though they do not fully support all of xterm's functionality. I'd estimate that over 80% of alternative terminals just set TERM to xterm-256color. This includes the default terminals for Mac (Terminal.app), Windows (Windows Terminal), GNOME (GNOME Terminal), and KDE (Konsole). 2. There is no way to check if OSC52 is supported. >> >> Between $TERM and the results from the terminal escape >> >> sequence "ESC [ > 0 q", Emacs can have high confidence if it is >> >> running >> >> on an OSC52 compatible terminal. I checked against most of the >> >> terminals >> >> mentioned at >> >> https://can-i-use-terminal.github.io/features/osc52copy.html I just >> >> wasn't able to test Foot (Wayland-only), hterm (Chromebook-only), >> >> mintty >> >> (Cygwin-only), or xterm.js (I have no idea how to test). >> > >> > How do I check this? can you show some script or Lisp or whatever you >> > used to check? >> >> Run the following lisp code in Emacs: >> >> (progn >> (send-string-to-terminal "\e[>0q") >> (let ((str "") >> chr) >> (while (setq chr (xterm--read-event-for-query)) >> (setq str (concat str (string chr)))) >> str)) >> >> You should get the string "\eP>|terminal name and version\e\\". For >> example, under iTerm2 I get iTerm2 3.5.10 as the terminal name and >> version and under Kitty I get kitty(0.38.1). > > And if the terminal does NOT support OSC52, what should I expect to > happen? I'm proposing to add a single regexp that matches against the terminal name and version string. If there's a match, automatically enable xterm-mouse-mode. For terminals that aren't supported or don't support "\e[>0q", leave xterm-mouse-mode as is. No other complexity is needed. A user can always customize xterm-mouse-mode (it's a user option) if they want to enable it anyways. -- MJF
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 28 Dec 2024 08:54:40 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 28 03:54:40 2024 Received: from localhost ([127.0.0.1]:48728 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tRSam-0000Ec-1R for submit <at> debbugs.gnu.org; Sat, 28 Dec 2024 03:54:40 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50264) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tRSaj-0000EH-5z for 74833 <at> debbugs.gnu.org; Sat, 28 Dec 2024 03:54:37 -0500 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@HIDDEN>) id 1tRSad-0005bv-Or; Sat, 28 Dec 2024 03:54:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=KIaOUYxrVUcIZQLygh9pJrOQHZNaeES3+3cvxxGqlMs=; b=DPVxOEllA74g 4F6MoHZ7V5vpKPEg9SMm1J7NhTARo0knrDF4nL1p/tRnqUEkUhXiEVNIIoVUBv/ENXodQJHArv/qB 08yicE3yWrAmRNXy0S691AywvZzS1EyrKtUJh0rIPRRNuqCJurZc1KwIXF4PGBYAq+W9gxrRUbalr BXznGiQdAxvwF09g3M378oKa59LEmPb20BizHZbpurWAQ3dt8Z4uJ7IzoOtBHJ336iR0/vzU4XR+X zIj6UyVvu4D9tjsDKrTvrJBz+PATpkXe77Bf5pjKvUkEmdswT6kBuhaeQMwVr7+ARlDI4Nd8nbVoI B6MGSh34WkKoTuH8pLJupw==; Date: Sat, 28 Dec 2024 10:54:22 +0200 Message-Id: <86ldw0ur0h.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Jared Finder <jared@HIDDEN> In-Reply-To: <5e102d7d29eba618874c0b41e9815b8d@HIDDEN> (message from Jared Finder on Fri, 27 Dec 2024 23:08:27 -0800) Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> <86y10jwmsb.fsf@HIDDEN> <m1msgznx20.fsf@HIDDEN> <86ldwiwvjc.fsf@HIDDEN> <m2ldwi8uvx.fsf@HIDDEN> <m1pllrtwq1.fsf@HIDDEN> <m2jzbzfscp.fsf@HIDDEN> <m1v7vjsavb.fsf@HIDDEN> <CAN+1Hbo03URNb5dUVgiX8ofzrYiWG9VtB3AF9pjGvRxrMgyYDQ@HIDDEN> <86ed27pfhj.fsf@HIDDEN> <CAN+1HbqqUoa1KK4xNGz1CO7mrmk=NTnFei1Fr8qchccbLqC2Zg@HIDDEN> <86a5cvpeiv.fsf@HIDDEN> <m2seqndlx7.fsf@HIDDEN> <86y10eo5h6.fsf@HIDDEN> <CAN+1HbqZE9TbEPdvZWK-r__K5y0=S4qJ_DCZaauVM=ioFRaBhQ@HIDDEN> <986a3eea465e13c57bcdd7ce8f27f99d@HIDDEN> <CAN+1HbonZyoWHHp6bpQvKYjyvV71ieACCZo4HeonZR_5+VxwcQ@HIDDEN> <E1tPDuC-0001ET-J1@HIDDEN> <864j2w6tz0.fsf@HIDDEN> <861pxy5zxk.fsf@HIDDEN> <CAN+1Hbp5MACbrKo3KTo5G0CXDo0v3kwSxes=Z3ZfJLsp-QB5Qg@HIDDEN> <86jzbq4i6x.fsf@HIDDEN> <CAN+1HbrZ=7x=FW8w5yd3RXf=gPcAdUHyyQXg31VuVPv1_uqgeg@HIDDEN> <86frme4exq.fsf@HIDDEN> <CAN+1Hbq0B-4aPQw3ar9yjntE=tmL7jWayyTT_r0Kmh35vs0SmA@HIDDEN> <ca51f813c6ef2977fa17d7129cd633cb@HIDDEN> <865xn5y2n0.fsf@HIDDEN> <5e102d7d29eba618874c0b41e9815b8d@HIDDEN> X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: 74833 Cc: gerd.moellmann@HIDDEN, 74833 <at> debbugs.gnu.org, fgunbin@HIDDEN, shipmints@HIDDEN, rms@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.6 (--) > Date: Fri, 27 Dec 2024 23:08:27 -0800 > From: Jared Finder <jared@HIDDEN> > Cc: shipmints@HIDDEN, rms@HIDDEN, gerd.moellmann@HIDDEN, > fgunbin@HIDDEN, 74833 <at> debbugs.gnu.org > > >> What if we only auto-enabled xterm-mouse-mode on OSC52 compatible > >> terminals? > > > > On OSC52 compatible terminals, or on OSC52 compatible terminals that > > define TERM to xterm-like string? The latter sounds like a good idea > > to me, but only if support for OSC52 necessarily means xterm-mouse > > escape sequences must be supported. Is this conjecture indeed true? > > I'm proposing Emacs have a manually curated allow list for now for > auto-enabling xterm-mouse-mode. Being OSC52 compatible gets us the copy > / paste issue this bug mentioned. We can add other conditions going > forward. What would this allow list specify, and in what terms? When reading your proposal above, I thought we have a means of testing the OSC52 support, but now you seem to be saying that this support should be somehow specified by a database of terminals we maintain? ANd if so, the question of detecting a non-xterm terminal that sets TERM to xterm but doesn't support OSC52 still stands, doesn't it? > >> Between $TERM and the results from the terminal escape > >> sequence "ESC [ > 0 q", Emacs can have high confidence if it is > >> running > >> on an OSC52 compatible terminal. I checked against most of the > >> terminals > >> mentioned at > >> https://can-i-use-terminal.github.io/features/osc52copy.html I just > >> wasn't able to test Foot (Wayland-only), hterm (Chromebook-only), > >> mintty > >> (Cygwin-only), or xterm.js (I have no idea how to test). > > > > How do I check this? can you show some script or Lisp or whatever you > > used to check? > > Run the following lisp code in Emacs: > > (progn > (send-string-to-terminal "\e[>0q") > (let ((str "") > chr) > (while (setq chr (xterm--read-event-for-query)) > (setq str (concat str (string chr)))) > str)) > > You should get the string "\eP>|terminal name and version\e\\". For > example, under iTerm2 I get iTerm2 3.5.10 as the terminal name and > version and under Kitty I get kitty(0.38.1). And if the terminal does NOT support OSC52, what should I expect to happen?
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 28 Dec 2024 07:08:32 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 28 02:08:31 2024 Received: from localhost ([127.0.0.1]:48537 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tRQw3-000429-AX for submit <at> debbugs.gnu.org; Sat, 28 Dec 2024 02:08:31 -0500 Received: from greenhill.hpalace.com ([192.155.80.58]:46210) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jared@HIDDEN>) id 1tRQw0-000420-A7 for 74833 <at> debbugs.gnu.org; Sat, 28 Dec 2024 02:08:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=finder.org; s=2018; t=1735369707; bh=kPI09MiABmnNDcQS0yiTXdV8Ec0BbhEJZwsIBDGfUC0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=uGSEc9uiITd6zQwOGY/c1XegSWsvNAZuoJpezyPveBY8FNFK4FVbkLwFPqKTPUiM2 eOo25pShLmXgj/oB+uYbOI/aD0CN/lvgczwGC9yrYmlf6Vaas4PH165+pW7fKqxudJ AvrSlPJNfXiITHFnxeoqdIomf6hQnRNvDT0DXh57RtOpVD5ivi5xqAjbrwc/2EYUMt mKJwjuegaECaiF67g2MemWrHwzzmEQ8leHgqgtN6B1bk7TEaCqHL9o89vGvGK4bTvB C582YRtTNtqpfYCAb6eX8NDbacvBqIMvvTmOhU8HY4uP+XxULArUZYLOpSwuVoXt/N J4dmUWz8JEOBA== Received: from mail.finder.org (unknown [192.155.80.58]) by greenhill.hpalace.com (Postfix) with ESMTPSA id 6F9DD2A0B; Sat, 28 Dec 2024 07:08:27 +0000 (UTC) MIME-Version: 1.0 Date: Fri, 27 Dec 2024 23:08:27 -0800 From: Jared Finder <jared@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled In-Reply-To: <865xn5y2n0.fsf@HIDDEN> References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> <86y10jwmsb.fsf@HIDDEN> <m1msgznx20.fsf@HIDDEN> <86ldwiwvjc.fsf@HIDDEN> <m2ldwi8uvx.fsf@HIDDEN> <m1pllrtwq1.fsf@HIDDEN> <m2jzbzfscp.fsf@HIDDEN> <m1v7vjsavb.fsf@HIDDEN> <CAN+1Hbo03URNb5dUVgiX8ofzrYiWG9VtB3AF9pjGvRxrMgyYDQ@HIDDEN> <86ed27pfhj.fsf@HIDDEN> <CAN+1HbqqUoa1KK4xNGz1CO7mrmk=NTnFei1Fr8qchccbLqC2Zg@HIDDEN> <86a5cvpeiv.fsf@HIDDEN> <m2seqndlx7.fsf@HIDDEN> <86y10eo5h6.fsf@HIDDEN> <CAN+1HbqZE9TbEPdvZWK-r__K5y0=S4qJ_DCZaauVM=ioFRaBhQ@HIDDEN> <986a3eea465e13c57bcdd7ce8f27f99d@HIDDEN> <CAN+1HbonZyoWHHp6bpQvKYjyvV71ieACCZo4HeonZR_5+VxwcQ@HIDDEN> <E1tPDuC-0001ET-J1@HIDDEN> <864j2w6tz0.fsf@HIDDEN> <861pxy5zxk.fsf@HIDDEN> <CAN+1Hbp5MACbrKo3KTo5G0CXDo0v3kwSxes=Z3ZfJLsp-QB5Qg@HIDDEN> <86jzbq4i6x.fsf@HIDDEN> <CAN+1HbrZ=7x=FW8w5yd3RXf=gPcAdUHyyQXg31VuVPv1_uqgeg@HIDDEN> <86frme4exq.fsf@HIDDEN> <CAN+1Hbq0B-4aPQw3ar9yjntE=tmL7jWayyTT_r0Kmh35vs0SmA@HIDDEN> <ca51f813c6ef2977fa17d7129cd633cb@HIDDEN> <865xn5y2n0.fsf@HIDDEN> Message-ID: <5e102d7d29eba618874c0b41e9815b8d@HIDDEN> X-Sender: jared@HIDDEN Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 74833 Cc: gerd.moellmann@HIDDEN, 74833 <at> debbugs.gnu.org, fgunbin@HIDDEN, shipmints@HIDDEN, rms@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.3 (/) On 2024-12-27 00:02, Eli Zaretskii wrote: >> Date: Thu, 26 Dec 2024 15:51:14 -0800 >> From: Jared Finder <jared@HIDDEN> >> Cc: Eli Zaretskii <eliz@HIDDEN>, rms@HIDDEN, >> gerd.moellmann@HIDDEN, >> fgunbin@HIDDEN, 74833 <at> debbugs.gnu.org >> >> On 2024-12-23 11:43, Ship Mints wrote: >> > On Mon, Dec 23, 2024 at 4:07 PM Eli Zaretskii <eliz@HIDDEN> wrote: >> >>> From: Ship Mints <shipmints@HIDDEN> >> >>> >> >>> Away from a computer, but I think this is still the same in 0.82 >> >>> these days and I assume you're using modern >> >>> ssh. >> >>> >> >>> https://serverfault.com/a/819740 >> >> >> >> OK, so does this mean we want to tell PuTTY users to configure this in >> >> some specific way that Emacs can recognize? >> > >> > Still away from a computer. If you can set a variable using that method >> > and have it pass through for you to test in lisp, then it would be a >> > good idea to recommend. We could suggest using TERM_PROGRAM and setting >> > it to "Putty". >> >> What if we only auto-enabled xterm-mouse-mode on OSC52 compatible >> terminals? > > On OSC52 compatible terminals, or on OSC52 compatible terminals that > define TERM to xterm-like string? The latter sounds like a good idea > to me, but only if support for OSC52 necessarily means xterm-mouse > escape sequences must be supported. Is this conjecture indeed true? I'm proposing Emacs have a manually curated allow list for now for auto-enabling xterm-mouse-mode. Being OSC52 compatible gets us the copy / paste issue this bug mentioned. We can add other conditions going forward. >> Between $TERM and the results from the terminal escape >> sequence "ESC [ > 0 q", Emacs can have high confidence if it is >> running >> on an OSC52 compatible terminal. I checked against most of the >> terminals >> mentioned at >> https://can-i-use-terminal.github.io/features/osc52copy.html I just >> wasn't able to test Foot (Wayland-only), hterm (Chromebook-only), >> mintty >> (Cygwin-only), or xterm.js (I have no idea how to test). > > How do I check this? can you show some script or Lisp or whatever you > used to check? Run the following lisp code in Emacs: (progn (send-string-to-terminal "\e[>0q") (let ((str "") chr) (while (setq chr (xterm--read-event-for-query)) (setq str (concat str (string chr)))) str)) You should get the string "\eP>|terminal name and version\e\\". For example, under iTerm2 I get iTerm2 3.5.10 as the terminal name and version and under Kitty I get kitty(0.38.1). -- MJF
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 27 Dec 2024 08:03:05 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 27 03:03:05 2024 Received: from localhost ([127.0.0.1]:44570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tR5JJ-0001u8-BM for submit <at> debbugs.gnu.org; Fri, 27 Dec 2024 03:03:05 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33622) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tR5JG-0001tc-Cg for 74833 <at> debbugs.gnu.org; Fri, 27 Dec 2024 03:03:04 -0500 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@HIDDEN>) id 1tR5JA-0001m0-Kn; Fri, 27 Dec 2024 03:02:56 -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=jbd+KPV6q1sVpl5rifJALhSeTi3CSE/AhSukPKhaWPA=; b=T2qQbiE7V4JE03T7EEXt ulx+KppdeUPhyh7lhT8SLjS8hwxOz1MNFDrke1s+cnP/HVBdrgwrrU/5LPsBms/ez5lr4rnCSL9aU H6XybAqihfN9/TkDyItjHNp8I2EE+AsJBtcuKcXBT0WMrn6ta92enD4FLuAbf7INcJ9tya9Vxds92 1Ty5SzDtviSNhR1Cco3XAywdD0B4XZVXvdAIGG/Ix9W8iQcag/wH00VcRoi7DqUz79CtpiAiHBg88 a+JsXRWOLaHNwyLFHvr+GNHYEjZCyeorLons1o9irxgy+rtQZv1WqHK/Rv9zWjJoiMT2dNZS4u+0h O5ydsfmqKVvcnQ==; Date: Fri, 27 Dec 2024 10:02:43 +0200 Message-Id: <865xn5y2n0.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Jared Finder <jared@HIDDEN> In-Reply-To: <ca51f813c6ef2977fa17d7129cd633cb@HIDDEN> (message from Jared Finder on Thu, 26 Dec 2024 15:51:14 -0800) Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> <86y10jwmsb.fsf@HIDDEN> <m1msgznx20.fsf@HIDDEN> <86ldwiwvjc.fsf@HIDDEN> <m2ldwi8uvx.fsf@HIDDEN> <m1pllrtwq1.fsf@HIDDEN> <m2jzbzfscp.fsf@HIDDEN> <m1v7vjsavb.fsf@HIDDEN> <CAN+1Hbo03URNb5dUVgiX8ofzrYiWG9VtB3AF9pjGvRxrMgyYDQ@HIDDEN> <86ed27pfhj.fsf@HIDDEN> <CAN+1HbqqUoa1KK4xNGz1CO7mrmk=NTnFei1Fr8qchccbLqC2Zg@HIDDEN> <86a5cvpeiv.fsf@HIDDEN> <m2seqndlx7.fsf@HIDDEN> <86y10eo5h6.fsf@HIDDEN> <CAN+1HbqZE9TbEPdvZWK-r__K5y0=S4qJ_DCZaauVM=ioFRaBhQ@HIDDEN> <986a3eea465e13c57bcdd7ce8f27f99d@HIDDEN> <CAN+1HbonZyoWHHp6bpQvKYjyvV71ieACCZo4HeonZR_5+VxwcQ@HIDDEN> <E1tPDuC-0001ET-J1@HIDDEN> <864j2w6tz0.fsf@HIDDEN> <861pxy5zxk.fsf@HIDDEN> <CAN+1Hbp5MACbrKo3KTo5G0CXDo0v3kwSxes=Z3ZfJLsp-QB5Qg@HIDDEN> <86jzbq4i6x.fsf@HIDDEN> <CAN+1HbrZ=7x=FW8w5yd3RXf=gPcAdUHyyQXg31VuVPv1_uqgeg@HIDDEN> <86frme4exq.fsf@HIDDEN> <CAN+1Hbq0B-4aPQw3ar9yjntE=tmL7jWayyTT_r0Kmh35vs0SmA@HIDDEN> <ca51f813c6ef2977fa17d7129cd633cb@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: 74833 Cc: gerd.moellmann@HIDDEN, 74833 <at> debbugs.gnu.org, fgunbin@HIDDEN, shipmints@HIDDEN, rms@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.6 (--) > Date: Thu, 26 Dec 2024 15:51:14 -0800 > From: Jared Finder <jared@HIDDEN> > Cc: Eli Zaretskii <eliz@HIDDEN>, rms@HIDDEN, gerd.moellmann@HIDDEN, > fgunbin@HIDDEN, 74833 <at> debbugs.gnu.org > > On 2024-12-23 11:43, Ship Mints wrote: > > On Mon, Dec 23, 2024 at 4:07 PM Eli Zaretskii <eliz@HIDDEN> wrote: > >>> From: Ship Mints <shipmints@HIDDEN> > >>> > >>> Away from a computer, but I think this is still the same in 0.82 > >>> these days and I assume you're using modern > >>> ssh. > >>> > >>> https://serverfault.com/a/819740 > >> > >> OK, so does this mean we want to tell PuTTY users to configure this in > >> some specific way that Emacs can recognize? > > > > Still away from a computer. If you can set a variable using that method > > and have it pass through for you to test in lisp, then it would be a > > good idea to recommend. We could suggest using TERM_PROGRAM and setting > > it to "Putty". > > What if we only auto-enabled xterm-mouse-mode on OSC52 compatible > terminals? On OSC52 compatible terminals, or on OSC52 compatible terminals that define TERM to xterm-like string? The latter sounds like a good idea to me, but only if support for OSC52 necessarily means xterm-mouse escape sequences must be supported. Is this conjecture indeed true? > Between $TERM and the results from the terminal escape > sequence "ESC [ > 0 q", Emacs can have high confidence if it is running > on an OSC52 compatible terminal. I checked against most of the terminals > mentioned at > https://can-i-use-terminal.github.io/features/osc52copy.html I just > wasn't able to test Foot (Wayland-only), hterm (Chromebook-only), mintty > (Cygwin-only), or xterm.js (I have no idea how to test). How do I check this? can you show some script or Lisp or whatever you used to check? Thanks.
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 26 Dec 2024 23:51:25 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 26 18:51:25 2024 Received: from localhost ([127.0.0.1]:43162 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tQxdV-0002CO-A1 for submit <at> debbugs.gnu.org; Thu, 26 Dec 2024 18:51:25 -0500 Received: from greenhill.hpalace.com ([192.155.80.58]:34538) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jared@HIDDEN>) id 1tQxdN-0002Bw-2J for 74833 <at> debbugs.gnu.org; Thu, 26 Dec 2024 18:51:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=finder.org; s=2018; t=1735257074; bh=oErRAJSSaGptGuZreTeZStiUZWP853GNt65i7Mk6AxY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=ugVrO0+xXOf3RoLEcN9FNIWDaEeqILMkgr7CeMNEPQgTVot6jYjADByrM1aHzSg6S fv3dQ2P193w+VJVpzfBmDXSOQXc5t+S4ie5kZf9hrW3TmU0AGnYx4lRnl+UspYbptD 7TB1rU57U82uGqkj9rGYvL3y3gdo9tsQNSnMHEszlFUUUjgP4P2CBQ3npyJcZIJTak uJdyRcfzof9pgGX9sXmj6JskJsGRLsUWMSTmp7C95LtYZAY+5CL/xV9rWVJq/v4hja 1FMROpW6tHQpskF3ZsVQGmI9sOuiQd3PSPD2vUGSJnj+sXcPF5pvykqcpiTbnz9P2Q TkyLafNa/vfaA== Received: from mail.finder.org (unknown [192.155.80.58]) by greenhill.hpalace.com (Postfix) with ESMTPSA id 747B02B28; Thu, 26 Dec 2024 23:51:14 +0000 (UTC) MIME-Version: 1.0 Date: Thu, 26 Dec 2024 15:51:14 -0800 From: Jared Finder <jared@HIDDEN> To: Ship Mints <shipmints@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled In-Reply-To: <CAN+1Hbq0B-4aPQw3ar9yjntE=tmL7jWayyTT_r0Kmh35vs0SmA@HIDDEN> References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> <86y10jwmsb.fsf@HIDDEN> <m1msgznx20.fsf@HIDDEN> <86ldwiwvjc.fsf@HIDDEN> <m2ldwi8uvx.fsf@HIDDEN> <m1pllrtwq1.fsf@HIDDEN> <m2jzbzfscp.fsf@HIDDEN> <m1v7vjsavb.fsf@HIDDEN> <CAN+1Hbo03URNb5dUVgiX8ofzrYiWG9VtB3AF9pjGvRxrMgyYDQ@HIDDEN> <86ed27pfhj.fsf@HIDDEN> <CAN+1HbqqUoa1KK4xNGz1CO7mrmk=NTnFei1Fr8qchccbLqC2Zg@HIDDEN> <86a5cvpeiv.fsf@HIDDEN> <m2seqndlx7.fsf@HIDDEN> <86y10eo5h6.fsf@HIDDEN> <CAN+1HbqZE9TbEPdvZWK-r__K5y0=S4qJ_DCZaauVM=ioFRaBhQ@HIDDEN> <986a3eea465e13c57bcdd7ce8f27f99d@HIDDEN> <CAN+1HbonZyoWHHp6bpQvKYjyvV71ieACCZo4HeonZR_5+VxwcQ@HIDDEN> <E1tPDuC-0001ET-J1@HIDDEN> <864j2w6tz0.fsf@HIDDEN> <861pxy5zxk.fsf@HIDDEN> <CAN+1Hbp5MACbrKo3KTo5G0CXDo0v3kwSxes=Z3ZfJLsp-QB5Qg@HIDDEN> <86jzbq4i6x.fsf@HIDDEN> <CAN+1HbrZ=7x=FW8w5yd3RXf=gPcAdUHyyQXg31VuVPv1_uqgeg@HIDDEN> <86frme4exq.fsf@HIDDEN> <CAN+1Hbq0B-4aPQw3ar9yjntE=tmL7jWayyTT_r0Kmh35vs0SmA@HIDDEN> Message-ID: <ca51f813c6ef2977fa17d7129cd633cb@HIDDEN> X-Sender: jared@HIDDEN Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 74833 Cc: gerd.moellmann@HIDDEN, 74833 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, fgunbin@HIDDEN, rms@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.3 (/) On 2024-12-23 11:43, Ship Mints wrote: > On Mon, Dec 23, 2024 at 4:07 PM Eli Zaretskii <eliz@HIDDEN> wrote: >>> From: Ship Mints <shipmints@HIDDEN> >>> >>> Away from a computer, but I think this is still the same in 0.82 >>> these days and I assume you're using modern >>> ssh. >>> >>> https://serverfault.com/a/819740 >> >> OK, so does this mean we want to tell PuTTY users to configure this in >> some specific way that Emacs can recognize? > > Still away from a computer. If you can set a variable using that method > and have it pass through for you to test in lisp, then it would be a > good idea to recommend. We could suggest using TERM_PROGRAM and setting > it to "Putty". What if we only auto-enabled xterm-mouse-mode on OSC52 compatible terminals? Between $TERM and the results from the terminal escape sequence "ESC [ > 0 q", Emacs can have high confidence if it is running on an OSC52 compatible terminal. I checked against most of the terminals mentioned at https://can-i-use-terminal.github.io/features/osc52copy.html I just wasn't able to test Foot (Wayland-only), hterm (Chromebook-only), mintty (Cygwin-only), or xterm.js (I have no idea how to test). -- MJF
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 23 Dec 2024 19:45:00 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 23 14:45:00 2024 Received: from localhost ([127.0.0.1]:58098 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tPoMN-0008HW-Kt for submit <at> debbugs.gnu.org; Mon, 23 Dec 2024 14:45:00 -0500 Received: from mail-ua1-f43.google.com ([209.85.222.43]:57366) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>) id 1tPoML-0008HI-L7 for 74833 <at> debbugs.gnu.org; Mon, 23 Dec 2024 14:44:58 -0500 Received: by mail-ua1-f43.google.com with SMTP id a1e0cc1a2514c-85c5eb83a7fso2103629241.2 for <74833 <at> debbugs.gnu.org>; Mon, 23 Dec 2024 11:44:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734983032; x=1735587832; 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=s0N5vJD1XOyfHs5jaJSQnOyDnOcdjgByGD2rzooKXek=; b=Odt1AgJIi2p+0mPZhgBHlzabMv/NUEM4NHm9hKeCP+U7p8IVOauHKpIa1hu7zzqMlP R68XwsWU50s6OCClg4lYy+FfyrGTKgug1HLjz4SQsNyPjSAZYjPyq56DE9voLBX1mudA ZY6Ch4vWYKix4dSbrUBIdpQWR9wGgxTkkVDFp6euWWWU8a14QBQhTwEdakCw9xKlV6eW wUk3zRlKG+TRxiFTl9AEkvmYT/Xec33FUu9SAFvyVgLhEbO8wWup8s4c0D/HU/k+mT18 mVJtdw4lSKkEazPz1mlIlMxkePX3vyzEDhxAISZBNWQ11/+2uOfzv6ovwP2T5QVhz1hg 5lnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734983032; x=1735587832; 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=s0N5vJD1XOyfHs5jaJSQnOyDnOcdjgByGD2rzooKXek=; b=Fs0xPwLx7PzWyubxtQP9XLe8moGpzD3mdvul/Z+tyjWAS6dBl4UHEOi2ZTWdtXIsUx R/KU1LLjv8fVC6gsj9a4olHUG9IRXcd3aYQfpLAs3sE+ObGzDlP+O+AEh8THmYX0D5Yu SIv6c2BNplZB6iMKO4UOcEdYO1DIKwkQhNVSGKsjxyJ/zaes8QdqKbTKnR+ynF4nGaiG N99fMWRqcTAn9yHrBi6zPlfYUj9kARDjGix2YIn32rDR7Aq8YFvykjON0huMppJHWfV1 vWL0mdirz0svgMSg0OTzdPMbc/RvkFIZVYCbGctGcfyrc76u3scq5qcEKouZ9rDPztMP N7iw== X-Forwarded-Encrypted: i=1; AJvYcCUhn6/nhwpR50xEXkv6nLs3qWK0z48rfe0G0VDBQU/R/nKuHNAHpAJzsR5/tVvbgvYl0AbBZQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwYv+XxlMyqUoi8GfNx0vz1nr7z3pPLyQ/9zdbhKenbMig+qOd9 Ou9hOp8hkn1r2ejMoYe8fcBvpO9DfTIBYlwUaY+BaCumNM/hRgy2pFelD9eJqIVZpnATrHC5gKj Ddnuna/DhAydjrtqUvSiOdOXZgzE= X-Gm-Gg: ASbGnctgYmzC2evmBiip3a60QaAHie/hfikc9eqdL5pndK8a8b+fJYmcLTdXftxrsij Mn0vBq7aWbESvybiiG+bD5OLftMvamduFgFSX9A== X-Google-Smtp-Source: AGHT+IFGEYRVGByKK86taDIdKEkMNQtdLFamalYm1t6WrkjxQ/MN9WSTlF2DEVngSwkqHdUIbT51u3LBJSB0fz22NOY= X-Received: by 2002:a05:6102:50a6:b0:4b2:5c4b:517d with SMTP id ada2fe7eead31-4b2cc361c72mr12221238137.10.1734983032027; Mon, 23 Dec 2024 11:43:52 -0800 (PST) MIME-Version: 1.0 References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> <86y10jwmsb.fsf@HIDDEN> <m1msgznx20.fsf@HIDDEN> <86ldwiwvjc.fsf@HIDDEN> <m2ldwi8uvx.fsf@HIDDEN> <m1pllrtwq1.fsf@HIDDEN> <m2jzbzfscp.fsf@HIDDEN> <m1v7vjsavb.fsf@HIDDEN> <CAN+1Hbo03URNb5dUVgiX8ofzrYiWG9VtB3AF9pjGvRxrMgyYDQ@HIDDEN> <86ed27pfhj.fsf@HIDDEN> <CAN+1HbqqUoa1KK4xNGz1CO7mrmk=NTnFei1Fr8qchccbLqC2Zg@HIDDEN> <86a5cvpeiv.fsf@HIDDEN> <m2seqndlx7.fsf@HIDDEN> <86y10eo5h6.fsf@HIDDEN> <CAN+1HbqZE9TbEPdvZWK-r__K5y0=S4qJ_DCZaauVM=ioFRaBhQ@HIDDEN> <986a3eea465e13c57bcdd7ce8f27f99d@HIDDEN> <CAN+1HbonZyoWHHp6bpQvKYjyvV71ieACCZo4HeonZR_5+VxwcQ@HIDDEN> <E1tPDuC-0001ET-J1@HIDDEN> <864j2w6tz0.fsf@HIDDEN> <861pxy5zxk.fsf@HIDDEN> <CAN+1Hbp5MACbrKo3KTo5G0CXDo0v3kwSxes=Z3ZfJLsp-QB5Qg@HIDDEN> <86jzbq4i6x.fsf@HIDDEN> <CAN+1HbrZ=7x=FW8w5yd3RXf=gPcAdUHyyQXg31VuVPv1_uqgeg@HIDDEN> <86frme4exq.fsf@HIDDEN> In-Reply-To: <86frme4exq.fsf@HIDDEN> From: Ship Mints <shipmints@HIDDEN> Date: Mon, 23 Dec 2024 20:43:40 +0100 Message-ID: <CAN+1Hbq0B-4aPQw3ar9yjntE=tmL7jWayyTT_r0Kmh35vs0SmA@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled To: Eli Zaretskii <eliz@HIDDEN> Content-Type: multipart/alternative; boundary="00000000000050c36d0629f537cf" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74833 Cc: gerd.moellmann@HIDDEN, fgunbin@HIDDEN, 74833 <at> debbugs.gnu.org, jared@HIDDEN, rms@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --00000000000050c36d0629f537cf Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Still away from a computer. If you can set a variable using that method and have it pass through for you to test in lisp, then it would be a good idea to recommend. We could suggest using TERM_PROGRAM and setting it to "Putty"= . On Mon, Dec 23, 2024 at 4:07=E2=80=AFPM Eli Zaretskii <eliz@HIDDEN> wrote: > > From: Ship Mints <shipmints@HIDDEN> > > Date: Mon, 23 Dec 2024 15:44:02 +0100 > > Cc: jared@HIDDEN, rms@HIDDEN, gerd.moellmann@HIDDEN, > > fgunbin@HIDDEN, 74833 <at> debbugs.gnu.org > > > > Away from a computer, but I think this is still the same in 0.82 these > days and I assume you're using modern > > ssh. > > > > https://serverfault.com/a/819740 > > OK, so does this mean we want to tell PuTTY users to configure this in > some specific way that Emacs can recognize? > --00000000000050c36d0629f537cf Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><span style=3D"color:rgb(80,0,80)"><font face=3D"arial, sa= ns-serif"><span class=3D"gmail_default" style=3D"">Still a</span>way from a= computer<span class=3D"gmail_default" style=3D"">. If you can set a variab= le using that method and have it pass through for you to test in lisp, then= it would be a good idea to recommend. We could suggest using TERM_PROGRAM = and setting it to "Putty".</span></font></span></div><br><div cla= ss=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_at= tr">On Mon, Dec 23, 2024 at 4:07=E2=80=AFPM Eli Zaretskii <<a href=3D"ma= ilto:eliz@HIDDEN">eliz@HIDDEN</a>> wrote:<br></div><blockquote class= =3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg= b(204,204,204);padding-left:1ex">> From: Ship Mints <<a href=3D"mailt= o:shipmints@HIDDEN" target=3D"_blank">shipmints@HIDDEN</a>><br> > Date: Mon, 23 Dec 2024 15:44:02 +0100<br> > Cc: <a href=3D"mailto:jared@HIDDEN" target=3D"_blank">jared@finder= .org</a>, <a href=3D"mailto:rms@HIDDEN" target=3D"_blank">rms@HIDDEN</a>,= <a href=3D"mailto:gerd.moellmann@HIDDEN" target=3D"_blank">gerd.moellma= nn@HIDDEN</a>, <br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0<a href=3D"mailto:fgunbin@HIDDEN" targe= t=3D"_blank">fgunbin@HIDDEN</a>, <a href=3D"mailto:74833@HIDDEN= rg" target=3D"_blank">74833 <at> debbugs.gnu.org</a><br> > <br> > Away from a computer, but I think this is still the same in 0.82 these= days and I assume you're using modern<br> > ssh. <br> > <br> > <a href=3D"https://serverfault.com/a/819740" rel=3D"noreferrer" target= =3D"_blank">https://serverfault.com/a/819740</a><br> <br> OK, so does this mean we want to tell PuTTY users to configure this in<br> some specific way that Emacs can recognize?<br> </blockquote></div> --00000000000050c36d0629f537cf--
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 23 Dec 2024 15:07:10 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 23 10:07:10 2024 Received: from localhost ([127.0.0.1]:55688 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tPk1V-0002BN-IY for submit <at> debbugs.gnu.org; Mon, 23 Dec 2024 10:07:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57656) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tPk1T-0002B0-95 for 74833 <at> debbugs.gnu.org; Mon, 23 Dec 2024 10:07:08 -0500 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@HIDDEN>) id 1tPk1M-0003vc-Q7; Mon, 23 Dec 2024 10:07:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=tbydjADoV2VWDnvGgoZtl2kJJAlNv3ZP1JOJYswjdc8=; b=LbkmeoHlGBwU Bn1azAemRqv/xupbPiBLBK8JSmuovje4DMfJ/GZtkL2GsvQw8+teccXGyCGN3mz5KwC/d5cvVkdaS cAccYjnrAVmQ5+EMB3MslTl9eOQBekF0MpnBBtf3wOkdqZFK3RRUGj0OrA/FHJuJQLoLVeNY5mfDG xd/AoX11QXwcD62ppJ9pj1tkbM4MPEkDCcBG5tIuy8BLhOwq2izEw+5C80NtJIWk83VrEUnrPn88V Pyt9eBzH+UBYo3Uxwk8IXMvt7YlpCnasENha+MsSiW5ms79bMQu8qZ80Z+1wkXe0/Q4oBS/ScwLW8 rsg7o8xFBx6gdfn+9vU6SA==; Date: Mon, 23 Dec 2024 17:06:09 +0200 Message-Id: <86frme4exq.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Ship Mints <shipmints@HIDDEN> In-Reply-To: <CAN+1HbrZ=7x=FW8w5yd3RXf=gPcAdUHyyQXg31VuVPv1_uqgeg@HIDDEN> (message from Ship Mints on Mon, 23 Dec 2024 15:44:02 +0100) Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> <86y10jwmsb.fsf@HIDDEN> <m1msgznx20.fsf@HIDDEN> <86ldwiwvjc.fsf@HIDDEN> <m2ldwi8uvx.fsf@HIDDEN> <m1pllrtwq1.fsf@HIDDEN> <m2jzbzfscp.fsf@HIDDEN> <m1v7vjsavb.fsf@HIDDEN> <CAN+1Hbo03URNb5dUVgiX8ofzrYiWG9VtB3AF9pjGvRxrMgyYDQ@HIDDEN> <86ed27pfhj.fsf@HIDDEN> <CAN+1HbqqUoa1KK4xNGz1CO7mrmk=NTnFei1Fr8qchccbLqC2Zg@HIDDEN> <86a5cvpeiv.fsf@HIDDEN> <m2seqndlx7.fsf@HIDDEN> <86y10eo5h6.fsf@HIDDEN> <CAN+1HbqZE9TbEPdvZWK-r__K5y0=S4qJ_DCZaauVM=ioFRaBhQ@HIDDEN> <986a3eea465e13c57bcdd7ce8f27f99d@HIDDEN> <CAN+1HbonZyoWHHp6bpQvKYjyvV71ieACCZo4HeonZR_5+VxwcQ@HIDDEN> <E1tPDuC-0001ET-J1@HIDDEN> <864j2w6tz0.fsf@HIDDEN> <861pxy5zxk.fsf@HIDDEN> <CAN+1Hbp5MACbrKo3KTo5G0CXDo0v3kwSxes=Z3ZfJLsp-QB5Qg@HIDDEN> <86jzbq4i6x.fsf@HIDDEN> <CAN+1HbrZ=7x=FW8w5yd3RXf=gPcAdUHyyQXg31VuVPv1_uqgeg@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74833 Cc: gerd.moellmann@HIDDEN, fgunbin@HIDDEN, 74833 <at> debbugs.gnu.org, jared@HIDDEN, rms@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Ship Mints <shipmints@HIDDEN> > Date: Mon, 23 Dec 2024 15:44:02 +0100 > Cc: jared@HIDDEN, rms@HIDDEN, gerd.moellmann@HIDDEN, > fgunbin@HIDDEN, 74833 <at> debbugs.gnu.org > > Away from a computer, but I think this is still the same in 0.82 these days and I assume you're using modern > ssh. > > https://serverfault.com/a/819740 OK, so does this mean we want to tell PuTTY users to configure this in some specific way that Emacs can recognize?
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 23 Dec 2024 14:45:17 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 23 09:45:17 2024 Received: from localhost ([127.0.0.1]:53867 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tPjgK-0000nR-PU for submit <at> debbugs.gnu.org; Mon, 23 Dec 2024 09:45:17 -0500 Received: from mail-vk1-f169.google.com ([209.85.221.169]:55536) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>) id 1tPjgJ-0000nG-8g for 74833 <at> debbugs.gnu.org; Mon, 23 Dec 2024 09:45:16 -0500 Received: by mail-vk1-f169.google.com with SMTP id 71dfb90a1353d-5162571e761so1296457e0c.2 for <74833 <at> debbugs.gnu.org>; Mon, 23 Dec 2024 06:45:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734965054; x=1735569854; 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=+5xgBnNEns3v9wsZniRgaNhOaB3aNFacpkDLMC2Mwiw=; b=kwq9FSbTUzxFXmfkeMsSuC0FSHsj7QQMkZgISGQ9hUmAtXYRrUbd8wb9OATZbLzyhC VThoxITjdYY3TxWa0PzFPkaHgacVJH5KsWkg27CvB9QKaoHPPZ8Hwa5Vp0vsIiMBuE91 bsVdtdtPcX6RWpEqbRGpigg2ArYadxTrQ1MJgzKnatkJDBs3Rt+W64Dix+dKBIlFkyMW HT16J484dzxKp3A+zCQIoVhixJICmFv/uo95CkWiD+75nB6idifBTPJaeVn65s6S3ICQ PSCPctismzuGRRKEdvq+BJZqcGHgXHjSaHEKIHaZ9b3khCbDegp0b5MlIJu6bXZcyexm 3NHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734965054; x=1735569854; 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=+5xgBnNEns3v9wsZniRgaNhOaB3aNFacpkDLMC2Mwiw=; b=GtKs+mcQ4K23zlTOESc1Vs+uTPFv2tjBnLPnqEBBsoaIruyjmRcTB9sb9WvPgdmneC DXd3+9foyxofQwsyfzJRJUhMfzVagzfwu81OKepW/2RFI5e0wTk7AYC3tW3TDAj4RV3j GC1k8SoPf0p7Hn+y+9uaza6pHRURdTcq5GOEqQB4ZjitGhANkG914Y08I4YeSm2qM2CS XbO8THbADKaaii2YQKlLuLyp4bwHmSd++mSZlOjfolL3MmY/xJotu2kx0yOzaQ+nHkNM QyzFWB5BJiDBpU7hBEvuk6TQqhhoaeCcByKHrrgIiLcUwfMdT76+/LWjA0bHG8zJTud5 A9dQ== X-Forwarded-Encrypted: i=1; AJvYcCWJ8hJ0amMCEoHpwjj6SdJNny5TLLLLGOVUUHddS+nEktms0iufvbKd4m2QNTAloU7JX5LZxQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yzhf8rdSVTF3zPvvetmu0lK/VOlNcSgL2U81VRAdNHT+DQZ7B0+ BrAuryd+IAzUds6UUTWvaifX8sIxh+UyjAZO7V20MBGWw0sZT+WYh5zvuy7KBB40Hc/+hXUE9cY 3hGf/SIKDy8vBRfjJ92NnvrpmeGA= X-Gm-Gg: ASbGncteoa5+eJOhfqUgrJ5dBgbt2skyaJmETLwg4Qd9iTDlgq67OJI4uH465ZuxXIU lgXAEycWGkDKmgqPkiVAFkhjUCMiS7RCZZOjIxg== X-Google-Smtp-Source: AGHT+IFyYUxy7fzjWtBxI4zQnzdtkyPejU5QIpU+Qb0SzcIi001HfUw6lESXUSl4kwDSqYnsL0EotXQ21MUrEg0rgXo= X-Received: by 2002:a05:6122:659b:b0:518:7777:a61e with SMTP id 71dfb90a1353d-51b75c6f9f3mr11086638e0c.5.1734965054543; Mon, 23 Dec 2024 06:44:14 -0800 (PST) MIME-Version: 1.0 References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> <86y10jwmsb.fsf@HIDDEN> <m1msgznx20.fsf@HIDDEN> <86ldwiwvjc.fsf@HIDDEN> <m2ldwi8uvx.fsf@HIDDEN> <m1pllrtwq1.fsf@HIDDEN> <m2jzbzfscp.fsf@HIDDEN> <m1v7vjsavb.fsf@HIDDEN> <CAN+1Hbo03URNb5dUVgiX8ofzrYiWG9VtB3AF9pjGvRxrMgyYDQ@HIDDEN> <86ed27pfhj.fsf@HIDDEN> <CAN+1HbqqUoa1KK4xNGz1CO7mrmk=NTnFei1Fr8qchccbLqC2Zg@HIDDEN> <86a5cvpeiv.fsf@HIDDEN> <m2seqndlx7.fsf@HIDDEN> <86y10eo5h6.fsf@HIDDEN> <CAN+1HbqZE9TbEPdvZWK-r__K5y0=S4qJ_DCZaauVM=ioFRaBhQ@HIDDEN> <986a3eea465e13c57bcdd7ce8f27f99d@HIDDEN> <CAN+1HbonZyoWHHp6bpQvKYjyvV71ieACCZo4HeonZR_5+VxwcQ@HIDDEN> <E1tPDuC-0001ET-J1@HIDDEN> <864j2w6tz0.fsf@HIDDEN> <861pxy5zxk.fsf@HIDDEN> <CAN+1Hbp5MACbrKo3KTo5G0CXDo0v3kwSxes=Z3ZfJLsp-QB5Qg@HIDDEN> <86jzbq4i6x.fsf@HIDDEN> In-Reply-To: <86jzbq4i6x.fsf@HIDDEN> From: Ship Mints <shipmints@HIDDEN> Date: Mon, 23 Dec 2024 15:44:02 +0100 Message-ID: <CAN+1HbrZ=7x=FW8w5yd3RXf=gPcAdUHyyQXg31VuVPv1_uqgeg@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled To: Eli Zaretskii <eliz@HIDDEN> Content-Type: multipart/alternative; boundary="000000000000c61bb20629f107d7" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74833 Cc: gerd.moellmann@HIDDEN, fgunbin@HIDDEN, 74833 <at> debbugs.gnu.org, jared@HIDDEN, rms@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --000000000000c61bb20629f107d7 Content-Type: text/plain; charset="UTF-8" Away from a computer, but I think this is still the same in 0.82 these days and I assume you're using modern ssh. https://serverfault.com/a/819740 -Stephane On Mon, Dec 23, 2024 at 14:56 Eli Zaretskii <eliz@HIDDEN> wrote: > > From: Ship Mints <shipmints@HIDDEN> > > Date: Mon, 23 Dec 2024 14:36:34 +0100 > > Cc: jared@HIDDEN, rms@HIDDEN, gerd.moellmann@HIDDEN, > > fgunbin@HIDDEN, 74833 <at> debbugs.gnu.org > > > > You should be able to paste using the (annoying, yes) CUA key Shift-Ins > vs. right mouse button. > > Yes, but that works also without xterm-mouse-mode. My point is that I > lose the paste by mouse. > > > I think the only way to know for sure you're under putty is to change > your putty configuration to set/send a > > custom environment variable that you can test. I do not recall one that > it sets/sends by default beyond TERM > > which is "xterm" and that's obviously insufficient. > > You will have to tell more, as I didn't see anything like that. > --000000000000c61bb20629f107d7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto">Away from a computer, but I think this is still the same = in 0.82 these days and I assume you're using modern ssh.=C2=A0</div><di= v dir=3D"auto"><br></div><div dir=3D"auto"><div><a href=3D"https://serverfa= ult.com/a/819740">https://serverfault.com/a/819740</a></div><div dir=3D"aut= o"><br></div><div dir=3D"auto">-Stephane</div></div><div><br><div class=3D"= gmail_quote gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On= Mon, Dec 23, 2024 at 14:56 Eli Zaretskii <<a href=3D"mailto:eliz@HIDDEN= g">eliz@HIDDEN</a>> wrote:<br></div><blockquote class=3D"gmail_quote" s= tyle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">>= From: Ship Mints <<a href=3D"mailto:shipmints@HIDDEN" target=3D"_bla= nk">shipmints@HIDDEN</a>><br> > Date: Mon, 23 Dec 2024 14:36:34 +0100<br> > Cc: <a href=3D"mailto:jared@HIDDEN" target=3D"_blank">jared@finder= .org</a>, <a href=3D"mailto:rms@HIDDEN" target=3D"_blank">rms@HIDDEN</a>,= <a href=3D"mailto:gerd.moellmann@HIDDEN" target=3D"_blank">gerd.moellma= nn@HIDDEN</a>, <br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0<a href=3D"mailto:fgunbin@HIDDEN" targe= t=3D"_blank">fgunbin@HIDDEN</a>, <a href=3D"mailto:74833@HIDDEN= rg" target=3D"_blank">74833 <at> debbugs.gnu.org</a><br> > <br> > You should be able to paste using the (annoying, yes) CUA key Shift-In= s vs. right mouse button.<br> <br> Yes, but that works also without xterm-mouse-mode.=C2=A0 My point is that I= <br> lose the paste by mouse.<br> <br> > I think the only way to know for sure you're under putty is to cha= nge your putty configuration to set/send a<br> > custom environment variable that you can test. I do not recall one tha= t it sets/sends by default beyond TERM<br> > which is "xterm" and that's obviously insufficient.<br> <br> You will have to tell more, as I didn't see anything like that.<br> </blockquote></div></div> --000000000000c61bb20629f107d7--
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 23 Dec 2024 13:56:27 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 23 08:56:27 2024 Received: from localhost ([127.0.0.1]:53781 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tPiv4-0006jE-Rs for submit <at> debbugs.gnu.org; Mon, 23 Dec 2024 08:56:27 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37536) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tPiv1-0006ip-S3 for 74833 <at> debbugs.gnu.org; Mon, 23 Dec 2024 08:56:25 -0500 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@HIDDEN>) id 1tPiuw-0002md-6v; Mon, 23 Dec 2024 08:56:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ZWmIJrmbWPGL6p+n+w4fzvM9xgMskMz6xCRl8RoajZc=; b=gZaXwqJp5wYF 0fzn5yShbnqdC6Q3JYc30ssVxQn6cVkdJ4/SAluHapvfquxweo/8mLlWq/KgETZktCsOnmU3kgX8g VVQI3RCsrk45g8N6197JAJYWrMJmqen0cz0EFOfAAVRENuD1mwGjYHLrT+WRAWrHn9K/asq/YyYRK toxPlSaeZ2b+s/GP+r+XpNwEprN3TU6VjXPQY9rFQd57wY38Lpa0lk+fPbwiXrIX5EdUU2zspFQAx lDUzVNeDiTViT0q5ZaARhmjIMCLTLAsvTanwVZli99wTAo9Pbn8lD52MORbyyxdDOnKypasFdom5P WLD8+3pJJAEVW21FVdhqIg==; Date: Mon, 23 Dec 2024 15:55:50 +0200 Message-Id: <86jzbq4i6x.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Ship Mints <shipmints@HIDDEN> In-Reply-To: <CAN+1Hbp5MACbrKo3KTo5G0CXDo0v3kwSxes=Z3ZfJLsp-QB5Qg@HIDDEN> (message from Ship Mints on Mon, 23 Dec 2024 14:36:34 +0100) Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> <86y10jwmsb.fsf@HIDDEN> <m1msgznx20.fsf@HIDDEN> <86ldwiwvjc.fsf@HIDDEN> <m2ldwi8uvx.fsf@HIDDEN> <m1pllrtwq1.fsf@HIDDEN> <m2jzbzfscp.fsf@HIDDEN> <m1v7vjsavb.fsf@HIDDEN> <CAN+1Hbo03URNb5dUVgiX8ofzrYiWG9VtB3AF9pjGvRxrMgyYDQ@HIDDEN> <86ed27pfhj.fsf@HIDDEN> <CAN+1HbqqUoa1KK4xNGz1CO7mrmk=NTnFei1Fr8qchccbLqC2Zg@HIDDEN> <86a5cvpeiv.fsf@HIDDEN> <m2seqndlx7.fsf@HIDDEN> <86y10eo5h6.fsf@HIDDEN> <CAN+1HbqZE9TbEPdvZWK-r__K5y0=S4qJ_DCZaauVM=ioFRaBhQ@HIDDEN> <986a3eea465e13c57bcdd7ce8f27f99d@HIDDEN> <CAN+1HbonZyoWHHp6bpQvKYjyvV71ieACCZo4HeonZR_5+VxwcQ@HIDDEN> <E1tPDuC-0001ET-J1@HIDDEN> <864j2w6tz0.fsf@HIDDEN> <861pxy5zxk.fsf@HIDDEN> <CAN+1Hbp5MACbrKo3KTo5G0CXDo0v3kwSxes=Z3ZfJLsp-QB5Qg@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74833 Cc: gerd.moellmann@HIDDEN, fgunbin@HIDDEN, 74833 <at> debbugs.gnu.org, jared@HIDDEN, rms@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Ship Mints <shipmints@HIDDEN> > Date: Mon, 23 Dec 2024 14:36:34 +0100 > Cc: jared@HIDDEN, rms@HIDDEN, gerd.moellmann@HIDDEN, > fgunbin@HIDDEN, 74833 <at> debbugs.gnu.org > > You should be able to paste using the (annoying, yes) CUA key Shift-Ins vs. right mouse button. Yes, but that works also without xterm-mouse-mode. My point is that I lose the paste by mouse. > I think the only way to know for sure you're under putty is to change your putty configuration to set/send a > custom environment variable that you can test. I do not recall one that it sets/sends by default beyond TERM > which is "xterm" and that's obviously insufficient. You will have to tell more, as I didn't see anything like that.
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 23 Dec 2024 13:37:54 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 23 08:37:54 2024 Received: from localhost ([127.0.0.1]:53756 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tPid8-0005rU-Gk for submit <at> debbugs.gnu.org; Mon, 23 Dec 2024 08:37:54 -0500 Received: from mail-vs1-f42.google.com ([209.85.217.42]:55384) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>) id 1tPid5-0005rG-OP for 74833 <at> debbugs.gnu.org; Mon, 23 Dec 2024 08:37:52 -0500 Received: by mail-vs1-f42.google.com with SMTP id ada2fe7eead31-4afefc876c6so1232651137.2 for <74833 <at> debbugs.gnu.org>; Mon, 23 Dec 2024 05:37:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734961006; x=1735565806; 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=T04mbrE7NeTOZS4+S/qmClsmeZ9xiT0ujL0iYmEKdmE=; b=IDq1LwEtni8eGq32aYGH86/nRcYK6Lxufiwg4R8OrEjjgeDWmn7juzrdElOiJfk3Ci r+Xyl27Pk9X/y5WaygS2Oih8TLQh+jdf+lx9u6Z1wAP4Bs095wMpoFAXLN6T7s0O4wnA nax76puUNll/PeQPJRHGxCWe0PJyNTHH2XR7vnJy9bnvibQx3yC9IxKHSzxL8X1JLccf UajUoErgdhI+AxfJuqFpZfw13PkIos20LIglFvEgPxRDfQgLqZX20PgKKy3bolz0dHR/ PTgytBo6+gB4AnYUl9GHcyd3ZwniLuMQEY1p/tqxjSEaY/2j4N2ao997ZhedJUORIOzY UTrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734961006; x=1735565806; 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=T04mbrE7NeTOZS4+S/qmClsmeZ9xiT0ujL0iYmEKdmE=; b=QH0TCDdolJo1iXHMbmA/U6OytSUPCy11G0TRA6/CppKmBjaL5rhrZdB+d6F8XwSVsC 0bYsiPbXKplHprBcNvVlX6rMhnqDXezxaWjtuhgymzZP1tOPqlR+qt0EFZp6mtHGSWM2 V755T/IidOepdJ8+ckMKBfiNnVh4C4HF+MKA+Vf+d/hADRAbeutk+UH7lXTy2BjE6x8F Watio1VQYU+O3tmRYgoQfGtja3jTvP3l/Cj6AEMTcmX9xZ9cAIQ2w8mcqRZXpkASs72b IMjfCMnRFJz6E9dLP2qMnnv+DzleGVi6BnphMrc5QSrBu4itw/4lcKonkJfOQZKXChnY EKdw== X-Forwarded-Encrypted: i=1; AJvYcCVUL2AvOwe+grzeblPQgIoR2s0KiP6/hvU8JrQLaWjyvYdCJvKdmSfBjfWPWsU2FkaYEDnvFg==@debbugs.gnu.org X-Gm-Message-State: AOJu0YyG8pFVtOxX7AciRWsu4YXdpRxycT9aGdcgzxWRcagefWwsE5Bd qWny1X7L6/9c9QqfZhFrZhgVAWmXNtgwOd+38aa32alvCktJ3qOkiHbJwIFZcwxoPR9OQenuZmn fxDWy7FGtPLlCJjkUBnp4jGJV3iw= X-Gm-Gg: ASbGnct8L+Wmt/i8bx3WTsNWpw/umZKkFiyNqT1JBDbE9O4bxdvL+B0w7sG0Xab9GC/ siP6/ELpenmsmxWTHolt5xkbM3yACjRkXliFWRw== X-Google-Smtp-Source: AGHT+IHAZWHHOADfjmO8Mt6f5ffNbXbobwUya+15Vzf8lWSqICOkZt77Cg1E7UaXmNdfWHR6jrn+sFJNUlzgZS6l1IY= X-Received: by 2002:a05:6122:659b:b0:518:7777:a61e with SMTP id 71dfb90a1353d-51b75c6f9f3mr10634768e0c.5.1734961006099; Mon, 23 Dec 2024 05:36:46 -0800 (PST) MIME-Version: 1.0 References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> <86y10jwmsb.fsf@HIDDEN> <m1msgznx20.fsf@HIDDEN> <86ldwiwvjc.fsf@HIDDEN> <m2ldwi8uvx.fsf@HIDDEN> <m1pllrtwq1.fsf@HIDDEN> <m2jzbzfscp.fsf@HIDDEN> <m1v7vjsavb.fsf@HIDDEN> <CAN+1Hbo03URNb5dUVgiX8ofzrYiWG9VtB3AF9pjGvRxrMgyYDQ@HIDDEN> <86ed27pfhj.fsf@HIDDEN> <CAN+1HbqqUoa1KK4xNGz1CO7mrmk=NTnFei1Fr8qchccbLqC2Zg@HIDDEN> <86a5cvpeiv.fsf@HIDDEN> <m2seqndlx7.fsf@HIDDEN> <86y10eo5h6.fsf@HIDDEN> <CAN+1HbqZE9TbEPdvZWK-r__K5y0=S4qJ_DCZaauVM=ioFRaBhQ@HIDDEN> <986a3eea465e13c57bcdd7ce8f27f99d@HIDDEN> <CAN+1HbonZyoWHHp6bpQvKYjyvV71ieACCZo4HeonZR_5+VxwcQ@HIDDEN> <E1tPDuC-0001ET-J1@HIDDEN> <864j2w6tz0.fsf@HIDDEN> <861pxy5zxk.fsf@HIDDEN> In-Reply-To: <861pxy5zxk.fsf@HIDDEN> From: Ship Mints <shipmints@HIDDEN> Date: Mon, 23 Dec 2024 14:36:34 +0100 Message-ID: <CAN+1Hbp5MACbrKo3KTo5G0CXDo0v3kwSxes=Z3ZfJLsp-QB5Qg@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled To: Eli Zaretskii <eliz@HIDDEN> Content-Type: multipart/alternative; boundary="00000000000077d2d10629f0164f" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74833 Cc: gerd.moellmann@HIDDEN, fgunbin@HIDDEN, 74833 <at> debbugs.gnu.org, jared@HIDDEN, rms@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --00000000000077d2d10629f0164f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable You should be able to paste using the (annoying, yes) CUA key Shift-Ins vs. right mouse button. I think the only way to know for sure you're under putty is to change your putty configuration to set/send a custom environment variable that you can test. I do not recall one that it sets/sends by default beyond TERM which is "xterm" and that's obviously insufficient. On Mon, Dec 23, 2024 at 1:47=E2=80=AFPM Eli Zaretskii <eliz@HIDDEN> wrote: > I found one more case where turning on xterm-mouse-mode by default > causes problems: PuTTY. It loses the ability to paste from the > Windows clipboard by a right mouse click when xterm-mouse-mode is > turned on. > > Can we identify PuTTY in some way, so that xterm-mouse-mode could not > be turned on in that case? > --00000000000077d2d10629f0164f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:monospac= e">You should be able to paste using the (annoying, yes) CUA key Shift-Ins = vs. right mouse button.</div><div class=3D"gmail_default" style=3D"font-fam= ily:monospace"><br></div><div class=3D"gmail_default" style=3D"font-family:= monospace">I think the only way to know for sure you're under putty is = to change your putty configuration to set/send a custom environment variabl= e that you can test. I do not recall one that it sets/sends by default beyo= nd TERM which is "xterm" and that's obviously insufficient.</= div></div><br><div class=3D"gmail_quote gmail_quote_container"><div dir=3D"= ltr" class=3D"gmail_attr">On Mon, Dec 23, 2024 at 1:47=E2=80=AFPM Eli Zaret= skii <<a href=3D"mailto:eliz@HIDDEN">eliz@HIDDEN</a>> wrote:<br></d= iv><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bord= er-left:1px solid rgb(204,204,204);padding-left:1ex">I found one more case = where turning on xterm-mouse-mode by default<br> causes problems: PuTTY.=C2=A0 It loses the ability to paste from the<br> Windows clipboard by a right mouse click when xterm-mouse-mode is<br> turned on.<br> <br> Can we identify PuTTY in some way, so that xterm-mouse-mode could not<br> be turned on in that case?<br> </blockquote></div> --00000000000077d2d10629f0164f--
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 23 Dec 2024 12:47:40 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 23 07:47:40 2024 Received: from localhost ([127.0.0.1]:53658 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tPhqW-0003RW-0r for submit <at> debbugs.gnu.org; Mon, 23 Dec 2024 07:47:40 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54508) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tPhqS-0003RF-Hk for 74833 <at> debbugs.gnu.org; Mon, 23 Dec 2024 07:47:39 -0500 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@HIDDEN>) id 1tPhqM-0000kt-AY; Mon, 23 Dec 2024 07:47:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=0fDSbhwcyICTlgIZ1DjXMLx5KPkV/hbJMtwu1LLREsY=; b=SJnbysiK13iV 6kA81fjdy/4kNLXZWPImP9bcyMesXbaKhLSR4/3M5i9T5YWm3SZyBtB1XoboANagvtW3+pLswD4HN lGMb/02092mb1G9Xh5PWy21TMMHjgO5LUhuqKL/gCAo8chpyx5LW7Ouu9tkO+gnEFicT1qamoMwGr swuT+cw96O78Q4sueWf0aMqn8IVpr0m9c26YJA4Y6uQwM2jufYeUG/RfezOyU5Rwblp1vBD64tqHA Ms5h5PhF+eRTmSGaZ/ohxZqfellV5BkZ5A1pYfWyC44Ojrh7FDWFX0LWt55NXq/Se9DyiDzibnpG1 5VHJb7FqnEGuciPdmh0/9Q==; Date: Mon, 23 Dec 2024 14:47:19 +0200 Message-Id: <861pxy5zxk.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: jared@HIDDEN In-Reply-To: <864j2w6tz0.fsf@HIDDEN> (message from Eli Zaretskii on Sun, 22 Dec 2024 09:46:11 +0200) Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> <86y10jwmsb.fsf@HIDDEN> <m1msgznx20.fsf@HIDDEN> <86ldwiwvjc.fsf@HIDDEN> <m2ldwi8uvx.fsf@HIDDEN> <m1pllrtwq1.fsf@HIDDEN> <m2jzbzfscp.fsf@HIDDEN> <m1v7vjsavb.fsf@HIDDEN> <CAN+1Hbo03URNb5dUVgiX8ofzrYiWG9VtB3AF9pjGvRxrMgyYDQ@HIDDEN> <86ed27pfhj.fsf@HIDDEN> <CAN+1HbqqUoa1KK4xNGz1CO7mrmk=NTnFei1Fr8qchccbLqC2Zg@HIDDEN> <86a5cvpeiv.fsf@HIDDEN> <m2seqndlx7.fsf@HIDDEN> <86y10eo5h6.fsf@HIDDEN> <CAN+1HbqZE9TbEPdvZWK-r__K5y0=S4qJ_DCZaauVM=ioFRaBhQ@HIDDEN> <986a3eea465e13c57bcdd7ce8f27f99d@HIDDEN> <CAN+1HbonZyoWHHp6bpQvKYjyvV71ieACCZo4HeonZR_5+VxwcQ@HIDDEN> <E1tPDuC-0001ET-J1@HIDDEN> <864j2w6tz0.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74833 Cc: gerd.moellmann@HIDDEN, 74833 <at> debbugs.gnu.org, fgunbin@HIDDEN, rms@HIDDEN, shipmints@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) I found one more case where turning on xterm-mouse-mode by default causes problems: PuTTY. It loses the ability to paste from the Windows clipboard by a right mouse click when xterm-mouse-mode is turned on. Can we identify PuTTY in some way, so that xterm-mouse-mode could not be turned on in that case?
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 22 Dec 2024 07:46:27 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 22 02:46:27 2024 Received: from localhost ([127.0.0.1]:48895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tPGfT-0004dW-7e for submit <at> debbugs.gnu.org; Sun, 22 Dec 2024 02:46:27 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40096) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tPGfR-0004dE-P1 for 74833 <at> debbugs.gnu.org; Sun, 22 Dec 2024 02:46:26 -0500 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@HIDDEN>) id 1tPGfM-0002da-Ag; Sun, 22 Dec 2024 02:46:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=hmW2gO2lfBBA2Awka0DV98ZDBkrZ4aBU/sqyHL8l2Ao=; b=n/MySSMktPC1 W8FAoHU6OW2fDG/H75Gc6q8anqAUZSuforEpFXEgHKPVWmkBY6yks3axKd2JziMLqwIheoq92Cjb0 Oi0jcTBrZ9BIXb2N8QvB7UIFD69IjYC+UfNDxrtdPYSeF2DCB2LSrzlXkRNNTweMhdaAV9NcwvZD8 Sh2Lm0rNlEEGPXAtR3JUJYPXujGQaoPWqBf132BcWHrGXhDL7elI86ZmnWRdaTRd5wRcCxnseGxxP V/QStcrKPH2q31KjzW83Riet+NWkAG9Tk6V01QLalBcbAylz3YKfDHTJc3ftMbIfXMZ/pU39YDq7Z SG6ZEFn3YFXaUbHMZv6xGQ==; Date: Sun, 22 Dec 2024 09:46:11 +0200 Message-Id: <864j2w6tz0.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: rms@HIDDEN In-Reply-To: <E1tPDuC-0001ET-J1@HIDDEN> (message from Richard Stallman on Sat, 21 Dec 2024 23:49:28 -0500) Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> <86y10jwmsb.fsf@HIDDEN> <m1msgznx20.fsf@HIDDEN> <86ldwiwvjc.fsf@HIDDEN> <m2ldwi8uvx.fsf@HIDDEN> <m1pllrtwq1.fsf@HIDDEN> <m2jzbzfscp.fsf@HIDDEN> <m1v7vjsavb.fsf@HIDDEN> <CAN+1Hbo03URNb5dUVgiX8ofzrYiWG9VtB3AF9pjGvRxrMgyYDQ@HIDDEN> <86ed27pfhj.fsf@HIDDEN> <CAN+1HbqqUoa1KK4xNGz1CO7mrmk=NTnFei1Fr8qchccbLqC2Zg@HIDDEN> <86a5cvpeiv.fsf@HIDDEN> <m2seqndlx7.fsf@HIDDEN> <86y10eo5h6.fsf@HIDDEN> <CAN+1HbqZE9TbEPdvZWK-r__K5y0=S4qJ_DCZaauVM=ioFRaBhQ@HIDDEN> <986a3eea465e13c57bcdd7ce8f27f99d@HIDDEN> <CAN+1HbonZyoWHHp6bpQvKYjyvV71ieACCZo4HeonZR_5+VxwcQ@HIDDEN> <E1tPDuC-0001ET-J1@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74833 Cc: gerd.moellmann@HIDDEN, fgunbin@HIDDEN, 74833 <at> debbugs.gnu.org, jared@HIDDEN, shipmints@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Richard Stallman <rms@HIDDEN> > Cc: jared@HIDDEN, gerd.moellmann@HIDDEN, eliz@HIDDEN, > fgunbin@HIDDEN, 74833 <at> debbugs.gnu.org > Date: Sat, 21 Dec 2024 23:49:28 -0500 > > > I took a look at xclip's code, and its scope is larger than just macOS > > pasteboard integration. If I volunteered to help adopt xclip into Emacs, > > Merging the application program xclip into Emacs seems like doing > things the roundabout way. Doesn't Emacs already have access to the X > clipboard and selections? If it doesn't have all the desirable > features in that area, we can implement the missing ones simply > like the already-implemened ones. The xclip package is about allowing Emacs to access the clipboard and selection from text-only frames. That is supported on xterm and on some other text terminals, but not universally. This package is supposed to fill the gaps by using external programs.
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 22 Dec 2024 06:13:53 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 22 01:13:53 2024 Received: from localhost ([127.0.0.1]:48778 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tPFDt-000066-2b for submit <at> debbugs.gnu.org; Sun, 22 Dec 2024 01:13:53 -0500 Received: from mail-ed1-f44.google.com ([209.85.208.44]:46503) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1tPFDr-00005y-Au for 74833 <at> debbugs.gnu.org; Sun, 22 Dec 2024 01:13:52 -0500 Received: by mail-ed1-f44.google.com with SMTP id 4fb4d7f45d1cf-5d0ac27b412so4077561a12.1 for <74833 <at> debbugs.gnu.org>; Sat, 21 Dec 2024 22:13:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734847970; x=1735452770; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=UOCmuxRCZoITbl1eSgMEaOW805ptuLVgNZALDMzlj5M=; b=JIkZ2TsqzFtRFEhcqL6TNC1H0rEY9s6kAOCkW/ewV88hJGcjci699rPL+ngqVDP6oI qjoxPz7sImDmADDA+x1UMIyS45QZA50J5zUd33RLYLC5gc8JIX89XdBmKHXa0TN2nso4 gfqA7yCGMJCw2JYDcht29nowfcCIkCBwnKuyQGgTzhJR5cUbh7tl5r4cA6d/Bfa+bQzH c/vkIZOpqDPl38G5QJn0j4CuqnMe+qGHLryBG2/AOHCQ2JguaGAu9B9w4Nhpi4xf+f0R Ve/Ac8PwvLNYC3YSxkgL4Y6o1AZGt1ihCn+Hh/ghZT6cjZcn0FZYXy0tUbCnZ67SgAH5 iG+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734847970; x=1735452770; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=UOCmuxRCZoITbl1eSgMEaOW805ptuLVgNZALDMzlj5M=; b=rbdwvw65xJBjw38kyXCVbVTC/ynI6XvEuAXYjDxozOsHNnyD7FTJ0yqtMSNSymWRak ElG/q+FO0PcxEeKTtRkDx200Z6mA5nTbW6AoYqGLFduM0K008JKYFl6/+jeYnEgBuQh3 ulWw+JHOqf4ipDvFeEEgnJxw9macSgDZVhHR/SDcQECPgqDp8aifXJveOSIrv7Fzf1xB kBPNgegmi3bMkJ6gBw3hro+xcxi3wug18JMDwN8xtBIwKbR9f3BdhStud6+1sZp1H+Ac S7k95dIj9q/ur+/0znqhTwWL6nCZqEnoItwJTSMx2OqT5yQEFkLDv4TQQ9124PnI9MP8 Eh2g== X-Forwarded-Encrypted: i=1; AJvYcCXoZY7CITBN6Xo9guKJWr5o5cpMzwQ+3onQgzoqfaypyowOdRufNC58ySBuB7ora+hHGazjAQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwqXtkPSMhlErg7Dpr9iw0CPKGmzio560ifSB+s36jRHiiLrphY 8q5OqRWlkL9W1opp/VI7Il+DllZyzHMB9k3ZfpNoJhd4p0e9fB/ADko+Jw== X-Gm-Gg: ASbGncstMXuuby7fwGLwa3mdxLxMZkAOjQUBCg6PeiFlEY1MNKGXMH8YYP0dxE7TFFN rUx0vkIJcBI1PRqWtvtsV4rZ5s7mVBcEnJQ9rXAZr0r2U9iogZPxW//sc925bmNaAsCSK/35eQI IpklRLlCszURDiJDwsYkmRjH+qpC/FakfzvV0I1+CagVB5ObZPmtSVjz3oEOgLJZ5G3UPKWY77d obRhOvbtOmmxptLEnYSHaddEOi02i0J5N8Gib20rrpyja6yWgpDnmWR5VUoj+c3mXRBkyOuTga+ kONvg0v5eYr+zntMOO4opu4eKatlkqCx7NnqkYnymRkMoINw4pyT+5P+SINz/F7k7w== X-Google-Smtp-Source: AGHT+IFXF+n3LUp1fSisqSJHfR/38Ue/re7kysOAs2qCEij2BDEOYv5kLby8GSqHMBKHSB7iFo6h3A== X-Received: by 2002:a05:6402:4011:b0:5d0:b040:4616 with SMTP id 4fb4d7f45d1cf-5d81de17fa4mr8782341a12.28.1734847969827; Sat, 21 Dec 2024 22:12:49 -0800 (PST) Received: from pro2 (p200300e0b71f6700b0196211433a3436.dip0.t-ipconnect.de. [2003:e0:b71f:6700:b019:6211:433a:3436]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5d80675a47csm3403829a12.17.2024.12.21.22.12.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 Dec 2024 22:12:48 -0800 (PST) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> To: Richard Stallman <rms@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled In-Reply-To: <E1tPDuC-0001ET-J1@HIDDEN> (Richard Stallman's message of "Sat, 21 Dec 2024 23:49:28 -0500") References: <m1cyhweqhe.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> <86y10jwmsb.fsf@HIDDEN> <m1msgznx20.fsf@HIDDEN> <86ldwiwvjc.fsf@HIDDEN> <m2ldwi8uvx.fsf@HIDDEN> <m1pllrtwq1.fsf@HIDDEN> <m2jzbzfscp.fsf@HIDDEN> <m1v7vjsavb.fsf@HIDDEN> <CAN+1Hbo03URNb5dUVgiX8ofzrYiWG9VtB3AF9pjGvRxrMgyYDQ@HIDDEN> <86ed27pfhj.fsf@HIDDEN> <CAN+1HbqqUoa1KK4xNGz1CO7mrmk=NTnFei1Fr8qchccbLqC2Zg@HIDDEN> <86a5cvpeiv.fsf@HIDDEN> <m2seqndlx7.fsf@HIDDEN> <86y10eo5h6.fsf@HIDDEN> <CAN+1HbqZE9TbEPdvZWK-r__K5y0=S4qJ_DCZaauVM=ioFRaBhQ@HIDDEN> <986a3eea465e13c57bcdd7ce8f27f99d@HIDDEN> <CAN+1HbonZyoWHHp6bpQvKYjyvV71ieACCZo4HeonZR_5+VxwcQ@HIDDEN> <E1tPDuC-0001ET-J1@HIDDEN> Date: Sun, 22 Dec 2024 07:12:46 +0100 Message-ID: <m21py0jlep.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74833 Cc: 74833 <at> debbugs.gnu.org, fgunbin@HIDDEN, eliz@HIDDEN, jared@HIDDEN, Ship Mints <shipmints@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Richard Stallman <rms@HIDDEN> writes: > [[[ To any NSA and FBI agents reading my email: please consider ]]] > [[[ whether defending the US Constitution against all enemies, ]]] > [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > > I took a look at xclip's code, and its scope is larger than just macOS > > pasteboard integration. If I volunteered to help adopt xclip into Emacs, > > Merging the application program xclip into Emacs seems like doing > things the roundabout way. Doesn't Emacs already have access to the X > clipboard and selections? If it doesn't have all the desirable > features in that area, we can implement the missing ones simply > like the already-implemened ones. The 'xclip' meant here is the ELPA package https://elpa.gnu.org/packages/xclip.html
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 22 Dec 2024 04:51:47 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 21 23:51:47 2024 Received: from localhost ([127.0.0.1]:48680 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tPDwQ-0004c3-Tg for submit <at> debbugs.gnu.org; Sat, 21 Dec 2024 23:51:47 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50098) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rms@HIDDEN>) id 1tPDwO-0004bm-CX for 74833 <at> debbugs.gnu.org; Sat, 21 Dec 2024 23:51:45 -0500 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 <rms@HIDDEN>) id 1tPDuD-0008E7-66; Sat, 21 Dec 2024 23:49:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=fmX5rJwZ70lmKvV9vJJEtHUnyzw1YlNHHj4cLgxlYUM=; b=f0LAPP+QQwfa pAXcGV3SKreHpydoRzID13fYmof23Dz+Ar+jd2+APTMk1jWoZJEvDhhQREmTpCvU844q+Wlb6fg/g 6Vgu5bGkibhV2VSv5xM3vzSyOvnGl5UW16R7vVWxVDpyPKybAAHeENamxKfTmUFIdVfreUP7EXgTF JTgDrADeaKM7ztng0QTjswHRgAVWyHDwMdG/iqC4Qg39RLggOBgYiunVHtwEV2/84jQN95ljkone/ TbDVFbu7Vt4KtcAYLn2Od0zE+7jFZVP9oXVlrNJI5yJf3OnJD6w76P84R0ZGW/8Qe7LIcWukr49Wm TdLRDJYjqmoKKudubMWIbw==; Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from <rms@HIDDEN>) id 1tPDuC-0001ET-J1; Sat, 21 Dec 2024 23:49:28 -0500 Content-Type: text/plain; charset=Utf-8 From: Richard Stallman <rms@HIDDEN> To: Ship Mints <shipmints@HIDDEN> In-Reply-To: <CAN+1HbonZyoWHHp6bpQvKYjyvV71ieACCZo4HeonZR_5+VxwcQ@HIDDEN> (message from Ship Mints on Thu, 19 Dec 2024 18:23:27 +0100) Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> <86y10jwmsb.fsf@HIDDEN> <m1msgznx20.fsf@HIDDEN> <86ldwiwvjc.fsf@HIDDEN> <m2ldwi8uvx.fsf@HIDDEN> <m1pllrtwq1.fsf@HIDDEN> <m2jzbzfscp.fsf@HIDDEN> <m1v7vjsavb.fsf@HIDDEN> <CAN+1Hbo03URNb5dUVgiX8ofzrYiWG9VtB3AF9pjGvRxrMgyYDQ@HIDDEN> <86ed27pfhj.fsf@HIDDEN> <CAN+1HbqqUoa1KK4xNGz1CO7mrmk=NTnFei1Fr8qchccbLqC2Zg@HIDDEN> <86a5cvpeiv.fsf@HIDDEN> <m2seqndlx7.fsf@HIDDEN> <86y10eo5h6.fsf@HIDDEN> <CAN+1HbqZE9TbEPdvZWK-r__K5y0=S4qJ_DCZaauVM=ioFRaBhQ@HIDDEN> <986a3eea465e13c57bcdd7ce8f27f99d@HIDDEN> <CAN+1HbonZyoWHHp6bpQvKYjyvV71ieACCZo4HeonZR_5+VxwcQ@HIDDEN> Message-Id: <E1tPDuC-0001ET-J1@HIDDEN> Date: Sat, 21 Dec 2024 23:49:28 -0500 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74833 Cc: gerd.moellmann@HIDDEN, fgunbin@HIDDEN, eliz@HIDDEN, jared@HIDDEN, 74833 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Reply-To: rms@HIDDEN Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > I took a look at xclip's code, and its scope is larger than just macOS > pasteboard integration. If I volunteered to help adopt xclip into Emacs, Merging the application program xclip into Emacs seems like doing things the roundabout way. Doesn't Emacs already have access to the X clipboard and selections? If it doesn't have all the desirable features in that area, we can implement the missing ones simply like the already-implemened ones. -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 20 Dec 2024 18:48:24 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 20 13:48:24 2024 Received: from localhost ([127.0.0.1]:44034 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tOi2y-0008Db-86 for submit <at> debbugs.gnu.org; Fri, 20 Dec 2024 13:48:24 -0500 Received: from greenhill.hpalace.com ([192.155.80.58]:44834) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jared@HIDDEN>) id 1tOi2u-0008DS-IQ for 74833 <at> debbugs.gnu.org; Fri, 20 Dec 2024 13:48:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=finder.org; s=2018; t=1734720498; bh=xHLE5tDO9Ef8df8el+0vBmRiGKsHctibal/Bu/3/SdM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=D/Y1tdBbBRQsoSLhAVV0mxIu0zjD6t5IHCy9j3b7wkoFYS4+OnrBFgy3bx0CA6ocR +VVvkcfYom7YS9FqUBODl55WGlaMzR3icrAsPTbEfOGoAegcvc9evmDC80NkesR4Er 5zt1mfBKks3n6ILvtDzYvdYcTbaQEcNNSwLFtAqj6q/GLKSeLCTNNxnhOTWwoFUhEn xbxklzEW4pt6tTDQckYyKiwp3blUTV60dyghY8vSS1A4uhR7ljSpquvNNrXnqkt5uU qqv7uHmp07ZnhH7twVmbn8M+fQE0sw0leup08tm5TvoEsV52RCcPw2KRnRDOGJwQQY tBf/74RXJ+HNA== Received: from mail.finder.org (unknown [192.155.80.58]) by greenhill.hpalace.com (Postfix) with ESMTPSA id B12EB1CA7; Fri, 20 Dec 2024 18:48:18 +0000 (UTC) MIME-Version: 1.0 Date: Fri, 20 Dec 2024 10:48:18 -0800 From: Jared Finder <jared@HIDDEN> To: Ship Mints <shipmints@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled In-Reply-To: <CAN+1HbonZyoWHHp6bpQvKYjyvV71ieACCZo4HeonZR_5+VxwcQ@HIDDEN> References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> <86y10jwmsb.fsf@HIDDEN> <m1msgznx20.fsf@HIDDEN> <86ldwiwvjc.fsf@HIDDEN> <m2ldwi8uvx.fsf@HIDDEN> <m1pllrtwq1.fsf@HIDDEN> <m2jzbzfscp.fsf@HIDDEN> <m1v7vjsavb.fsf@HIDDEN> <CAN+1Hbo03URNb5dUVgiX8ofzrYiWG9VtB3AF9pjGvRxrMgyYDQ@HIDDEN> <86ed27pfhj.fsf@HIDDEN> <CAN+1HbqqUoa1KK4xNGz1CO7mrmk=NTnFei1Fr8qchccbLqC2Zg@HIDDEN> <86a5cvpeiv.fsf@HIDDEN> <m2seqndlx7.fsf@HIDDEN> <86y10eo5h6.fsf@HIDDEN> <CAN+1HbqZE9TbEPdvZWK-r__K5y0=S4qJ_DCZaauVM=ioFRaBhQ@HIDDEN> <986a3eea465e13c57bcdd7ce8f27f99d@HIDDEN> <CAN+1HbonZyoWHHp6bpQvKYjyvV71ieACCZo4HeonZR_5+VxwcQ@HIDDEN> Message-ID: <7d407b3761224c94a94c80b9110c890f@HIDDEN> X-Sender: jared@HIDDEN Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74833 Cc: =?UTF-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, fgunbin@HIDDEN, 74833 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) On 2024-12-19 09:23, Ship Mints wrote: > On Thu, Dec 19, 2024 at 6:16 AM Jared Finder <jared@HIDDEN> wrote: >> On 2024-12-18 09:50, Ship Mints wrote: >>> >>> I think someone suggested bringing xclip (seems properly licensed) >>> into >>> the core and now might be a good time to consider that. >> >> This seems like a good idea to me too. I think we'd also want a >> variable >> to disable auto-enabling xclip-mode (let's call it >> "xterm-enable-xclip-fallback" and assume it defaults to t). So when >> Emacs detects it is running in Terminal.app and >> xterm-enable-xclip-fallback is set, it enables xclip-mode. In all >> other >> cases, no change is made. >> >> This does still result in a user-facing behavior change: instead of >> pressing Command-c, a user would have to press Emacs' key binding, M-w >> (or C-c if cua-mode is enabled). >> > I took a look at xclip's code, and its scope is larger than just macOS > pasteboard integration. If I volunteered to help adopt xclip into > Emacs, I'd have no easy way to test its scope beyond macOS. Perhaps it > should remain an external package and people just install when needed. > Equivalent mac-specific pasteboard integration could live in ns-win.el > and be narrower in scope just for macOS users. I tried a handful of terminal in Linux and it appears that while the majority support OSC 52, a significant amount of them don't. The biggest gap is all the vte based ones like Gnome Terminal or XFCE Terminal. These are their windowing system's default terminals, so there's likely a lot of usage here. If we want to ensure mouse drag to highlight, copy within the terminal Emacs, followed by a paste outside of the terminal still work we would need to bring xclip into core. I think this would be generally good to do anyways. I didn't know about the xclip package and it would have significantly improved my workflows with xterm-mouse-mode. I suspect many other users of xterm-mouse-mode are in the same boat. -- MJF
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 19 Dec 2024 17:24:43 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 19 12:24:43 2024 Received: from localhost ([127.0.0.1]:39900 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tOKGQ-0002n9-A9 for submit <at> debbugs.gnu.org; Thu, 19 Dec 2024 12:24:42 -0500 Received: from mail-ua1-f44.google.com ([209.85.222.44]:46381) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>) id 1tOKGN-0002mz-IS for 74833 <at> debbugs.gnu.org; Thu, 19 Dec 2024 12:24:41 -0500 Received: by mail-ua1-f44.google.com with SMTP id a1e0cc1a2514c-85bc7d126b2so395041241.1 for <74833 <at> debbugs.gnu.org>; Thu, 19 Dec 2024 09:24:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734629019; x=1735233819; 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=ZKZmsaE3334lWmk4l0cUfVsXDnetup/sFbvwgfUCZzU=; b=kKUtF0bIwmXOMjThPeD4R7WiZIN/CSx02Eo8Mj7XF/MQ/14A3Qyv2MDz5IpJuKiRvn UWSxN3UVqOdUlja2yug0cvdeatyMxIOFyZEfhG3PRB1e6jylIfyaNycEAon/c+6pO0bV BJMttD+a/CmsmqJIKDQi5CCn5E/q54k8uPkQhhAlj5C0yPyhh+inpUgtvTbeMf4cQ86w Qpp4ThIEKaA9EHPZbx9zrDWwi51gZhzmJ1r8Rg8xYp+ZfZRfiKYhTAr8Bt3ug8lnjqKg jpDDei0oLZrcMvFRNHHTysh8rNYaQJ1Il5av9pqyj6O2g8CerLmMPSQJ7uHORFb6rOdk DLzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734629019; x=1735233819; 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=ZKZmsaE3334lWmk4l0cUfVsXDnetup/sFbvwgfUCZzU=; b=Y+It2uDt3jwT+QYJ01gtR0MCK6ca9wq5DLx/YxqM2spapoiUTNVzo3crj+sBK/pQmd QUoJUNdPl28ALlhxx0pwdbHFNl8dI8jqpZiMLY9PurGhFapvtNUJ3CRgujPN4X6Um/O8 hRqqgPCYF/9IFbI6AWK0GXnzenx0Jekrl5sissQ6ExPulD+zKm6KRyiAs/iRdMA9yy18 h3lchP6wPDe+O2onuYiNC9F3R6r5AjECCj1XNihc94p567OXREPOtH/DdgACcks30Ccn WXPKMrwkkMuBVTRDD19FdpNB1KO8IhtuKod/C51o5VvTvdC4r6BkJdQJllHnZzH/6YG1 iRrw== X-Forwarded-Encrypted: i=1; AJvYcCXQ19IpQHAR9b4AVGYI5+i1VOgfejn8+jw6H/cOdObsacNeci+WwtcIOrXapqljo8tJL+lgcg==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yz3uwpomtsW9Urd1IBuj9mgu49nDrIenzuqp+SFQMK2hZmBDJnw /zqQ59Etr5FhlZCEC9H2slV02DAGLWiVzbx9E2k8nb02AjYFOaZdCRm+z58wYoY0BB3AKh/nHWN FQ7fXjHJaG2vrSboG2X7SPjqCUqU= X-Gm-Gg: ASbGncsve9zPzCCjZHIrz7RWgZ/Dtpte48BJ9bOTPoenkG6rgeb2Zif7Clw8/JivyYL NSumC+VE3WN5hUbw/TAhiF/wSAV0IFBAgxB2Qy/M= X-Google-Smtp-Source: AGHT+IEF5J0ZHufInRAb70yQ4RrSDqwMkOsP97ndNohOJ/kMSVn2kOjqW77aPlQExgOoYpSv0rlAMCBq6NJsZwYc+IA= X-Received: by 2002:a05:6122:1684:b0:516:2d4e:448a with SMTP id 71dfb90a1353d-51a36c7b638mr7555145e0c.3.1734629018925; Thu, 19 Dec 2024 09:23:38 -0800 (PST) MIME-Version: 1.0 References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> <86y10jwmsb.fsf@HIDDEN> <m1msgznx20.fsf@HIDDEN> <86ldwiwvjc.fsf@HIDDEN> <m2ldwi8uvx.fsf@HIDDEN> <m1pllrtwq1.fsf@HIDDEN> <m2jzbzfscp.fsf@HIDDEN> <m1v7vjsavb.fsf@HIDDEN> <CAN+1Hbo03URNb5dUVgiX8ofzrYiWG9VtB3AF9pjGvRxrMgyYDQ@HIDDEN> <86ed27pfhj.fsf@HIDDEN> <CAN+1HbqqUoa1KK4xNGz1CO7mrmk=NTnFei1Fr8qchccbLqC2Zg@HIDDEN> <86a5cvpeiv.fsf@HIDDEN> <m2seqndlx7.fsf@HIDDEN> <86y10eo5h6.fsf@HIDDEN> <CAN+1HbqZE9TbEPdvZWK-r__K5y0=S4qJ_DCZaauVM=ioFRaBhQ@HIDDEN> <986a3eea465e13c57bcdd7ce8f27f99d@HIDDEN> In-Reply-To: <986a3eea465e13c57bcdd7ce8f27f99d@HIDDEN> From: Ship Mints <shipmints@HIDDEN> Date: Thu, 19 Dec 2024 18:23:27 +0100 Message-ID: <CAN+1HbonZyoWHHp6bpQvKYjyvV71ieACCZo4HeonZR_5+VxwcQ@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled To: Jared Finder <jared@HIDDEN> Content-Type: multipart/alternative; boundary="0000000000007d808b0629a2ca99" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74833 Cc: =?UTF-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, fgunbin@HIDDEN, 74833 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --0000000000007d808b0629a2ca99 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I took a look at xclip's code, and its scope is larger than just macOS pasteboard integration. If I volunteered to help adopt xclip into Emacs, I'd have no easy way to test its scope beyond macOS. Perhaps it should remain an external package and people just install when needed. Equivalent mac-specific pasteboard integration could live in ns-win.el and be narrower in scope just for macOS users. As far as the proposed user option goes, "fallback" doesn't really convey any meaning to me. I know eglot adopted the convention "stay out of" to control that minor mode's enabling other minor modes. Perhaps a user option called xterm-stay-out-of-xclip, if that's a convention that people would like, or xterm-inhibit-enabling-xclip following long-standing Emacs inhibit conventions. This is moot until xclip becomes part of Emacs. On Thu, Dec 19, 2024 at 6:16=E2=80=AFAM Jared Finder <jared@HIDDEN> wro= te: > On 2024-12-18 09:50, Ship Mints wrote: > > On Tue, Dec 17, 2024 at 1:32=E2=80=AFPM Eli Zaretskii <eliz@HIDDEN> wr= ote: > >> I don't see how this distinction (which I have no doubt is accurate) > >> is important to the decision we should make here. Simply put, > >> "something" that worked on Terminal.app before we turned on xt-moude > >> doesn't work in some cases after we turned it on. That's my bother. > > I see your point, Eli, for sure. Since this is on master, and > > presumably destined for Emacs 31, there seems to be sufficient time for > > people to read NEWS and PROBLEMS and accommodate their configurations > > while Emacs is brought one step forward into behaving, by default, like > > other terminal apps on macOS. > > > > I think someone suggested bringing xclip (seems properly licensed) into > > the core and now might be a good time to consider that. > > This seems like a good idea to me too. I think we'd also want a variable > to disable auto-enabling xclip-mode (let's call it > "xterm-enable-xclip-fallback" and assume it defaults to t). So when > Emacs detects it is running in Terminal.app and > xterm-enable-xclip-fallback is set, it enables xclip-mode. In all other > cases, no change is made. > > This does still result in a user-facing behavior change: instead of > pressing Command-c, a user would have to press Emacs' key binding, M-w > (or C-c if cua-mode is enabled). > > -- MJF > --0000000000007d808b0629a2ca99 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:monospac= e">I took a look at xclip's=C2=A0code, and its scope is=C2=A0larger tha= n just macOS pasteboard integration. If I volunteered to help adopt xclip i= nto Emacs, I'd have no easy way to test its scope beyond macOS. Perhaps= it should remain an external package and people just install when needed. = Equivalent mac-specific pasteboard integration could live in ns-win.el and = be narrower in scope just for macOS users.</div><div class=3D"gmail_default= " style=3D"font-family:monospace"><br></div><div class=3D"gmail_default" st= yle=3D"font-family:monospace">As far=C2=A0as the proposed user option goes,= "fallback" doesn't really convey any=C2=A0meaning to me. I k= now eglot adopted the convention "stay out of" to control that mi= nor mode's enabling=C2=A0other minor modes. Perhaps a user option calle= d xterm-stay-out-of-xclip, if that's a convention that people would lik= e, or xterm-inhibit-enabling-xclip following long-standing Emacs inhibit co= nventions. This is moot until xclip becomes part of Emacs.</div><div class= =3D"gmail_default" style=3D"font-family:monospace"><br></div><div class=3D"= gmail_default" style=3D"font-family:monospace"><br></div></div><br><div cla= ss=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_at= tr">On Thu, Dec 19, 2024 at 6:16=E2=80=AFAM Jared Finder <<a href=3D"mai= lto:jared@HIDDEN">jared@HIDDEN</a>> wrote:<br></div><blockquote = class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px sol= id rgb(204,204,204);padding-left:1ex">On 2024-12-18 09:50, Ship Mints wrote= :<br> > On Tue, Dec 17, 2024 at 1:32=E2=80=AFPM Eli Zaretskii <<a href=3D"m= ailto:eliz@HIDDEN" target=3D"_blank">eliz@HIDDEN</a>> wrote:<br> >> I don't see how this distinction (which I have no doubt is acc= urate)<br> >> is important to the decision we should make here.=C2=A0 Simply put= ,<br> >> "something" that worked on Terminal.app before we turned= on xt-moude<br> >> doesn't work in some cases after we turned it on.=C2=A0 That&#= 39;s my bother.<br> > I see your point, Eli, for sure. Since this is on master, and <br> > presumably destined for Emacs 31, there seems to be sufficient time fo= r <br> > people to read NEWS and PROBLEMS and accommodate their configurations = <br> > while Emacs is brought one step forward into behaving, by default, lik= e <br> > other terminal apps on macOS.<br> > <br> > I think someone suggested bringing xclip (seems properly licensed) int= o <br> > the core and now might be a good time to consider that.<br> <br> This seems like a good idea to me too. I think we'd also want a variabl= e <br> to disable auto-enabling xclip-mode (let's call it <br> "xterm-enable-xclip-fallback" and assume it defaults to t). So wh= en <br> Emacs detects it is running in Terminal.app and <br> xterm-enable-xclip-fallback is set, it enables xclip-mode. In all other <br= > cases, no change is made.<br> <br> This does still result in a user-facing behavior change: instead of <br> pressing Command-c, a user would have to press Emacs' key binding, M-w = <br> (or C-c if cua-mode is enabled).<br> <br> =C2=A0 =C2=A0-- MJF<br> </blockquote></div> --0000000000007d808b0629a2ca99--
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 19 Dec 2024 05:16:20 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 19 00:16:20 2024 Received: from localhost ([127.0.0.1]:37013 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tO8tY-0000TH-4S for submit <at> debbugs.gnu.org; Thu, 19 Dec 2024 00:16:20 -0500 Received: from greenhill.hpalace.com ([192.155.80.58]:44302) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jared@HIDDEN>) id 1tO8tW-0000T8-5x for 74833 <at> debbugs.gnu.org; Thu, 19 Dec 2024 00:16:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=finder.org; s=2018; t=1734585377; bh=hAIR1bfCfYSvcngGshn1j+TqySnWem00sKlpqI8FHSA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=paG3e6waV7zaYDt2Ri+LxfEAkhRr9/ebA6BMjTFmEdpfyiIsJKOazUnHwvxGu9wBx +XgRzQgwJz7ut9GhuH8H2RHTILnOGgyrztb8JnnYJkQMkuvUU2Corjsk7HjJnmURs7 +TXMbWeEgzAkeCgbAPYqn6GsQT/1Q1kq4Ws4cwMH+7AQMLY2xCE0TMxiGD8EwRc1hN SzhaplCj79HIDB8vaCfeQmiT16Vh4n2baL3F1p7g/JX+Ck2UPyLVTWw9AEnrlSY6Hz Wua/KW0Zt7fGLDNSgT936HK1oVcS6q0aInouIYfmpAE+tHGrw4Dz7xvp2dNpoEGdv+ kmihicnHURwvA== Received: from mail.finder.org (unknown [192.155.80.58]) by greenhill.hpalace.com (Postfix) with ESMTPSA id 0FA031CA7; Thu, 19 Dec 2024 05:16:17 +0000 (UTC) MIME-Version: 1.0 Date: Wed, 18 Dec 2024 21:16:16 -0800 From: Jared Finder <jared@HIDDEN> To: Ship Mints <shipmints@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled In-Reply-To: <CAN+1HbqZE9TbEPdvZWK-r__K5y0=S4qJ_DCZaauVM=ioFRaBhQ@HIDDEN> References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> <86y10jwmsb.fsf@HIDDEN> <m1msgznx20.fsf@HIDDEN> <86ldwiwvjc.fsf@HIDDEN> <m2ldwi8uvx.fsf@HIDDEN> <m1pllrtwq1.fsf@HIDDEN> <m2jzbzfscp.fsf@HIDDEN> <m1v7vjsavb.fsf@HIDDEN> <CAN+1Hbo03URNb5dUVgiX8ofzrYiWG9VtB3AF9pjGvRxrMgyYDQ@HIDDEN> <86ed27pfhj.fsf@HIDDEN> <CAN+1HbqqUoa1KK4xNGz1CO7mrmk=NTnFei1Fr8qchccbLqC2Zg@HIDDEN> <86a5cvpeiv.fsf@HIDDEN> <m2seqndlx7.fsf@HIDDEN> <86y10eo5h6.fsf@HIDDEN> <CAN+1HbqZE9TbEPdvZWK-r__K5y0=S4qJ_DCZaauVM=ioFRaBhQ@HIDDEN> Message-ID: <986a3eea465e13c57bcdd7ce8f27f99d@HIDDEN> X-Sender: jared@HIDDEN Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74833 Cc: =?UTF-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, fgunbin@HIDDEN, 74833 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) On 2024-12-18 09:50, Ship Mints wrote: > On Tue, Dec 17, 2024 at 1:32 PM Eli Zaretskii <eliz@HIDDEN> wrote: >> I don't see how this distinction (which I have no doubt is accurate) >> is important to the decision we should make here. Simply put, >> "something" that worked on Terminal.app before we turned on xt-moude >> doesn't work in some cases after we turned it on. That's my bother. > I see your point, Eli, for sure. Since this is on master, and > presumably destined for Emacs 31, there seems to be sufficient time for > people to read NEWS and PROBLEMS and accommodate their configurations > while Emacs is brought one step forward into behaving, by default, like > other terminal apps on macOS. > > I think someone suggested bringing xclip (seems properly licensed) into > the core and now might be a good time to consider that. This seems like a good idea to me too. I think we'd also want a variable to disable auto-enabling xclip-mode (let's call it "xterm-enable-xclip-fallback" and assume it defaults to t). So when Emacs detects it is running in Terminal.app and xterm-enable-xclip-fallback is set, it enables xclip-mode. In all other cases, no change is made. This does still result in a user-facing behavior change: instead of pressing Command-c, a user would have to press Emacs' key binding, M-w (or C-c if cua-mode is enabled). -- MJF
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 18 Dec 2024 17:52:18 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 18 12:52:18 2024 Received: from localhost ([127.0.0.1]:35892 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tNyDZ-0000DA-VN for submit <at> debbugs.gnu.org; Wed, 18 Dec 2024 12:52:18 -0500 Received: from mail-vs1-f41.google.com ([209.85.217.41]:44102) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>) id 1tNyDX-0000Cu-S2 for 74833 <at> debbugs.gnu.org; Wed, 18 Dec 2024 12:52:16 -0500 Received: by mail-vs1-f41.google.com with SMTP id ada2fe7eead31-4aff620b232so1998704137.0 for <74833 <at> debbugs.gnu.org>; Wed, 18 Dec 2024 09:52:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734544270; x=1735149070; 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=2StDQKHrQAGY8x0Ulf6NuPhHWCVrIpc7aSDgexMUGKo=; b=LLMNhtjHyZvYswXEnFPZsme+s/i9qes2eq15MPlQE1mlRG1CkaZCpSA4duH5OBuNbL 0Rx/m01Gjo0CYDGBh1y/AvO0CNGFWmdl2h2nfYOFpH980sX0a4RAgxzz4UVtYXWJ9uos 2sVmq0trRztCgAaP/7bACrOwlgknNe4QyoQeLc6Sk4Glmo35XbX0o0zelUhx0tbwFziB eOyz1MH59bopPC8MjWqm1Ick/hmE3eQ4uwvjjcE+8zBfEU1hKE1KwLmQ57a42UAd3oFK e6nHt/qzjiyS6tZ83ewBVc8H3sob3Wo2yszBMzLxcITEUEea9NOio1tYOFv3XcUBMLS7 sOmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734544270; x=1735149070; 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=2StDQKHrQAGY8x0Ulf6NuPhHWCVrIpc7aSDgexMUGKo=; b=nPM6QbV9nbM7Sy2eNIF5dgIOM247y7R23eDNH1MmApq/acu4GZWAXXZIZ6jtFCN47z XkHEf16Z1RTerb3qmux8Dk9/DeJfihga8Cl81HlVSf1ucqsUJTxKnkom5QoB7ACF5EwF a0Heu2W6Q1FPohMS3RtyTqYO7PX0eD9USnghF0Zx8XsP8BNyaHh7ntjun1d2lLj3XTiE /VkWZ+9q3h199RPQ4uMQQ0DophmLEBKmKyXIXwHc3XH9HnyxGwsqxWnKnO1WZwgRBsg9 0ws7afR9sR18TrObqkfHrpl7czsv7PYmpSV+22aMUoBTjmhe/64+jPsy0mdtziYVvPeZ l4UQ== X-Forwarded-Encrypted: i=1; AJvYcCX3+HVBL0/a0qe93Btu04T2I+bUC1dcDdj3HxV1ea4NuF3RIAyFQZT5X85O3KexyCo0PCd2Jg==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yzh3JsPpO6Kp37bddQUkrbeY0fv0qGr8gEvyu/Gn1L+tdpTiRv+ ke2y4roWu3Adp40CVEAfZLaZ2RKk9hUspK2fRv0AAjQO0OrLydYQSN0BiKIwpN4Kkgi9ATUOUhk +ig2D93FuJpxMXHSmYaII1IDVCdE= X-Gm-Gg: ASbGncvnt1mHsXYPrzMP8NWaGs8CtVyPDMJ/5UKbHTQ9pYdU/SFFeioFkVNp8o5j59Y IuChuorRc/6OY6w9DOndAzYjRqNtAcSU2HhpmXSA= X-Google-Smtp-Source: AGHT+IE5AmP5wR8VDfTwEokbRI8YePqpVoq57DSUFFrQvTrGEvU9uU9168er+N5Wsqu50p4LThi7YxnQsZa06faXEMk= X-Received: by 2002:a05:6102:2b8d:b0:4af:d487:45ef with SMTP id ada2fe7eead31-4b2ae70de4fmr3926083137.5.1734544270180; Wed, 18 Dec 2024 09:51:10 -0800 (PST) MIME-Version: 1.0 References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> <86y10jwmsb.fsf@HIDDEN> <m1msgznx20.fsf@HIDDEN> <86ldwiwvjc.fsf@HIDDEN> <m2ldwi8uvx.fsf@HIDDEN> <m1pllrtwq1.fsf@HIDDEN> <m2jzbzfscp.fsf@HIDDEN> <m1v7vjsavb.fsf@HIDDEN> <CAN+1Hbo03URNb5dUVgiX8ofzrYiWG9VtB3AF9pjGvRxrMgyYDQ@HIDDEN> <86ed27pfhj.fsf@HIDDEN> <CAN+1HbqqUoa1KK4xNGz1CO7mrmk=NTnFei1Fr8qchccbLqC2Zg@HIDDEN> <86a5cvpeiv.fsf@HIDDEN> <m2seqndlx7.fsf@HIDDEN> <86y10eo5h6.fsf@HIDDEN> In-Reply-To: <86y10eo5h6.fsf@HIDDEN> From: Ship Mints <shipmints@HIDDEN> Date: Wed, 18 Dec 2024 18:50:58 +0100 Message-ID: <CAN+1HbqZE9TbEPdvZWK-r__K5y0=S4qJ_DCZaauVM=ioFRaBhQ@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled To: Eli Zaretskii <eliz@HIDDEN> Content-Type: multipart/alternative; boundary="00000000000012486606298f0fd2" X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 74833 Cc: =?UTF-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN>, jared@HIDDEN, 74833 <at> debbugs.gnu.org, fgunbin@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --00000000000012486606298f0fd2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I see your point, Eli, for sure. Since this is on master, and presumably destined for Emacs 31, there seems to be sufficient time for people to read NEWS and PROBLEMS and accommodate their configurations while Emacs is brought one step forward into behaving, by default, like other terminal apps on macOS. I think someone suggested bringing xclip (seems properly licensed) into the core and now might be a good time to consider that. On Tue, Dec 17, 2024 at 1:32=E2=80=AFPM Eli Zaretskii <eliz@HIDDEN> wrote: > > From: Gerd M=C3=B6llmann <gerd.moellmann@HIDDEN> > > Cc: Ship Mints <shipmints@HIDDEN>, fgunbin@HIDDEN, > > jared@HIDDEN, 74833 <at> debbugs.gnu.org > > Date: Tue, 17 Dec 2024 04:32:20 +0100 > > > > Eli Zaretskii <eliz@HIDDEN> writes: > > > > > And second, the issue here, at least for me, is not the user surprise > > > that the mouse works, it's that features which used to work in Emacs > > > when running on Terminal.app before that change cease to work, at > > > least in some situations, now. > > > > I really don't know what you are talking about when you write "feature > > in Emacs". There is no feature _in_ Emacs that is broken. Emacs doesn't > > even get a keyboard event for Command-C, it has no idea what is going > > on. > > > > It's Terminal.app that behaves differently. And Terminal.app has > > previsions for that (Command-R, Fn-mouse). > > I don't see how this distinction (which I have no doubt is accurate) > is important to the decision we should make here. Simply put, > "something" that worked on Terminal.app before we turned on xt-moude > doesn't work in some cases after we turned it on. That's my bother. > --00000000000012486606298f0fd2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:monospac= e">I see your point, Eli, for sure. Since this is on master, and presumably= destined for Emacs 31, there seems to be sufficient time for people to rea= d NEWS and PROBLEMS and accommodate their configurations while Emacs is bro= ught one step forward into behaving, by default, like other terminal apps o= n macOS.</div><div class=3D"gmail_default" style=3D"font-family:monospace">= <br></div><div class=3D"gmail_default" style=3D"font-family:monospace">I th= ink someone suggested bringing xclip (seems properly licensed) into the cor= e and now might be a good time to consider that.</div></div><br><div class= =3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr= ">On Tue, Dec 17, 2024 at 1:32=E2=80=AFPM Eli Zaretskii <<a href=3D"mail= to:eliz@HIDDEN">eliz@HIDDEN</a>> wrote:<br></div><blockquote class=3D"= gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(20= 4,204,204);padding-left:1ex">> From: Gerd M=C3=B6llmann <<a href=3D"m= ailto:gerd.moellmann@HIDDEN" target=3D"_blank">gerd.moellmann@HIDDEN<= /a>><br> > Cc: Ship Mints <<a href=3D"mailto:shipmints@HIDDEN" target=3D"_b= lank">shipmints@HIDDEN</a>>,=C2=A0 <a href=3D"mailto:fgunbin@fastmail= .fm" target=3D"_blank">fgunbin@HIDDEN</a>,<br> >=C2=A0 =C2=A0<a href=3D"mailto:jared@HIDDEN" target=3D"_blank">jare= d@HIDDEN</a>,=C2=A0 <a href=3D"mailto:74833 <at> debbugs.gnu.org" target=3D"= _blank">74833 <at> debbugs.gnu.org</a><br> > Date: Tue, 17 Dec 2024 04:32:20 +0100<br> > <br> > Eli Zaretskii <<a href=3D"mailto:eliz@HIDDEN" target=3D"_blank">el= iz@HIDDEN</a>> writes:<br> > <br> > > And second, the issue here, at least for me, is not the user surp= rise<br> > > that the mouse works, it's that features which used to work i= n Emacs<br> > > when running on Terminal.app before that change cease to work, at= <br> > > least in some situations, now.<br> > <br> > I really don't know what you are talking about when you write &quo= t;feature<br> > in Emacs". There is no feature _in_ Emacs that is broken. Emacs d= oesn't<br> > even get a keyboard event for Command-C, it has no idea what is going<= br> > on.<br> > <br> > It's Terminal.app that behaves differently. And Terminal.app has<b= r> > previsions for that (Command-R, Fn-mouse).<br> <br> I don't see how this distinction (which I have no doubt is accurate)<br= > is important to the decision we should make here.=C2=A0 Simply put,<br> "something" that worked on Terminal.app before we turned on xt-mo= ude<br> doesn't work in some cases after we turned it on.=C2=A0 That's my b= other.<br> </blockquote></div> --00000000000012486606298f0fd2--
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 17 Dec 2024 12:32:36 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 17 07:32:36 2024 Received: from localhost ([127.0.0.1]:57889 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tNWka-0005An-Jx for submit <at> debbugs.gnu.org; Tue, 17 Dec 2024 07:32:36 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36446) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tNWkX-0005AY-3y for 74833 <at> debbugs.gnu.org; Tue, 17 Dec 2024 07:32:29 -0500 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@HIDDEN>) id 1tNWkP-00020R-ST; Tue, 17 Dec 2024 07:32:22 -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=JOoRyl5YfIVmuAR85afNC+nSm3YaOrYucIF/dOAz9+Q=; b=fxeSHjqsoYpwsh9WQMfR vL5Rjy7ipo9plrbx0pH8by9Sg/rtkk7y6Jcix+hCvJqyV20KNrqvsfESn8Kb6e9BfJ6nIQUaJFnvu FybmXiLgIhIN5oHLI4nnFB9dcAlbxcIegcGb/9kgBLwz1EAT813wwgqIbCflgJ1/MVPOvxusTQtuq KGSZng5VoiLvQOeNgWmYMJ/A5bN2EPzn4u37rMvVNDBAEYa/+dCQkhVgaNFUeO2y689/EHVLVoM8d oHFWsyMCiRV6lCog5amw04LDPoROiFfLY/UVJh9PmMiw9fj06fEzTEV50Qmgnb0s1wOrW+9EmhyB/ s1tkiw0WHabzog==; Date: Tue, 17 Dec 2024 14:32:05 +0200 Message-Id: <86y10eo5h6.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Gerd =?iso-8859-1?Q?M=F6llmann?= <gerd.moellmann@HIDDEN> In-Reply-To: <m2seqndlx7.fsf@HIDDEN> (message from Gerd =?iso-8859-1?Q?M=F6llmann?= on Tue, 17 Dec 2024 04:32:20 +0100) Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> <86y10jwmsb.fsf@HIDDEN> <m1msgznx20.fsf@HIDDEN> <86ldwiwvjc.fsf@HIDDEN> <m2ldwi8uvx.fsf@HIDDEN> <m1pllrtwq1.fsf@HIDDEN> <m2jzbzfscp.fsf@HIDDEN> <m1v7vjsavb.fsf@HIDDEN> <CAN+1Hbo03URNb5dUVgiX8ofzrYiWG9VtB3AF9pjGvRxrMgyYDQ@HIDDEN> <86ed27pfhj.fsf@HIDDEN> <CAN+1HbqqUoa1KK4xNGz1CO7mrmk=NTnFei1Fr8qchccbLqC2Zg@HIDDEN> <86a5cvpeiv.fsf@HIDDEN> <m2seqndlx7.fsf@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74833 Cc: jared@HIDDEN, 74833 <at> debbugs.gnu.org, fgunbin@HIDDEN, shipmints@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Gerd Möllmann <gerd.moellmann@HIDDEN> > Cc: Ship Mints <shipmints@HIDDEN>, fgunbin@HIDDEN, > jared@HIDDEN, 74833 <at> debbugs.gnu.org > Date: Tue, 17 Dec 2024 04:32:20 +0100 > > Eli Zaretskii <eliz@HIDDEN> writes: > > > And second, the issue here, at least for me, is not the user surprise > > that the mouse works, it's that features which used to work in Emacs > > when running on Terminal.app before that change cease to work, at > > least in some situations, now. > > I really don't know what you are talking about when you write "feature > in Emacs". There is no feature _in_ Emacs that is broken. Emacs doesn't > even get a keyboard event for Command-C, it has no idea what is going > on. > > It's Terminal.app that behaves differently. And Terminal.app has > previsions for that (Command-R, Fn-mouse). I don't see how this distinction (which I have no doubt is accurate) is important to the decision we should make here. Simply put, "something" that worked on Terminal.app before we turned on xt-moude doesn't work in some cases after we turned it on. That's my bother.
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 17 Dec 2024 03:33:40 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 16 22:33:40 2024 Received: from localhost ([127.0.0.1]:57046 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tNOL5-0004a1-QL for submit <at> debbugs.gnu.org; Mon, 16 Dec 2024 22:33:40 -0500 Received: from [209.85.218.46] (port=49454 helo=mail-ej1-f46.google.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1tNOL3-0004Zh-ED for 74833 <at> debbugs.gnu.org; Mon, 16 Dec 2024 22:33:39 -0500 Received: by mail-ej1-f46.google.com with SMTP id a640c23a62f3a-aa6a618981eso779871066b.3 for <74833 <at> debbugs.gnu.org>; Mon, 16 Dec 2024 19:33:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734406344; x=1735011144; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=5oae+U1i8ekMNHYPhWUMMa3HP0xSC7IhoPOpeofPwhk=; b=WFNV85icQ6J0/zpdz2WwR9AurYeQLshBEiu1amb+H4sZ0JGfQCrIU24+LmnP6Rgl0e AF7xBS0ibLz+N2Bm0CR0b5hud0N9UMHsg95VCV7GO1C5I0VVKEZYgBh2sYgPYPpCbTPs B252p5MvH7rzF0KHW9qhJck91VupWuhTCx8rOl3c+iZ5E9cWnn3y0mdE/4K48Wgipu3I JTkW6dkjaCXiMUSUOH1kjpA6b8pXEfof8Thg4cbO3Nt/wVhUPkTHv2YjOxbqvwXTwqxO p3bz28+M61/6kTsCtea24mO6FCfj5sdOc01K8S/BBYd+pmiwEMEVHX1ESuebOinLrzu6 ktvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734406344; x=1735011144; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=5oae+U1i8ekMNHYPhWUMMa3HP0xSC7IhoPOpeofPwhk=; b=cxIUC1a7sTfmeU7GDLvA8FzFzaBmAfSKpOmtByMfErNE8VESUuL+ILOi1JXeeyEMHQ Gb35GQL4eD/804DpA+QhFGWkYLZADiNosfaRia0zd8NLTg/uFovEh3w3R59+ITGA8WLe LPhRFV4yJR6p63TGz2s1lBBXq+ylRAfBp3fAIGH2gMyfe/shbFXSp4DOktN1F+M3dcts mE8bRmn4/888cbYKME21+trsNa+E1eNkGYi3NDZ5yvY6sPRv7uXTAqIoq/Ljc8yAnFCC HzH89Ph0d5gVdBUii4WVrs6Zvha/CKeN9Au7BXQQjn9gEzKoLr/ZryiuMKNvWJ8FsDvk KKGg== X-Forwarded-Encrypted: i=1; AJvYcCWnHFp9Ixanwwdc3Wd8L70HqfwNdlAOd6PgQzZjlG6e9B+TsuIL3OBlrucgI4ZhVy6cSDOB1w==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzMBIYlDNMoz/230eXJJjPr/ax0dUDh4pSKFqfZlJ3SEhk4TG/k tduCKYQlxOYdJDshJ5iuEYDBLjvopeYlAitjjn+9ckcOMe4+XQwzWbCxFYXc X-Gm-Gg: ASbGncsYDzKGrG1YDV4ebwNfv3K95C/xNp0u4bTVqBVYv5wAQlGerZ5l58GpRKPtYuT 6T75Dn2wF/5lLzJm0AoAtQ8nXki/tzNOfkzi7KTpGA7TCOZb2BWl+mgFwMqIPUwGM+revFKghAU Y/jbIUXDWVoJseobis9Lo/dZWltWhcDWrenbJuCzPM6N/VfFyk+0tYEcpU63YxHpz3bbWVuxjo3 wJDBRQW96xkwuP/nUBxHxBkEKqdHMG2w9DmcX4oyy25ezq5yV/irtcPuh0f/S9bhJHltqB8IYmB ps2Odu1RYuMnQkW74l02B8RZ0l9S7KbB87UdpW0ZztSwdizo2MAOfEf6/i6bKs0= X-Google-Smtp-Source: AGHT+IEDc1WtEyR1tl5yy9f4bkw4CzgqnFOTqmsvCr5E3NTXKE2R70P0wUYtDBB9o/9jSec32Ox/hw== X-Received: by 2002:a17:907:7f29:b0:aa6:7b34:c1a8 with SMTP id a640c23a62f3a-aab77eaf35cmr1507143666b.55.1734406343587; Mon, 16 Dec 2024 19:32:23 -0800 (PST) Received: from pro2 (p200300e0b70d29009cfd954400434498.dip0.t-ipconnect.de. [2003:e0:b70d:2900:9cfd:9544:43:4498]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aab96068d1esm405138466b.67.2024.12.16.19.32.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Dec 2024 19:32:22 -0800 (PST) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled In-Reply-To: <86a5cvpeiv.fsf@HIDDEN> (Eli Zaretskii's message of "Mon, 16 Dec 2024 22:19:04 +0200") References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> <86y10jwmsb.fsf@HIDDEN> <m1msgznx20.fsf@HIDDEN> <86ldwiwvjc.fsf@HIDDEN> <m2ldwi8uvx.fsf@HIDDEN> <m1pllrtwq1.fsf@HIDDEN> <m2jzbzfscp.fsf@HIDDEN> <m1v7vjsavb.fsf@HIDDEN> <CAN+1Hbo03URNb5dUVgiX8ofzrYiWG9VtB3AF9pjGvRxrMgyYDQ@HIDDEN> <86ed27pfhj.fsf@HIDDEN> <CAN+1HbqqUoa1KK4xNGz1CO7mrmk=NTnFei1Fr8qchccbLqC2Zg@HIDDEN> <86a5cvpeiv.fsf@HIDDEN> Date: Tue, 17 Dec 2024 04:32:20 +0100 Message-ID: <m2seqndlx7.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 2.3 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Eli Zaretskii writes: >> From: Ship Mints >> Date: Mon, 16 Dec 2024 15:07:25 -0500 >> Cc: fgunbin@HIDDEN, gerd.moellmann@HIDDEN, jared@HIDDEN, >> 74833 <at> debbugs.gnu.org >> >> Now I see the recent change to mas [...] Content analysis details: (2.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.85.218.46 listed in sa-trusted.bondedsender.org] 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.85.218.46 listed in bl.score.senderscore.com] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (gerd.moellmann[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.218.46 listed in wl.mailspike.net] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS 1.0 FREEMAIL_REPLY From and body contain different freemails X-Debbugs-Envelope-To: 74833 Cc: jared@HIDDEN, 74833 <at> debbugs.gnu.org, fgunbin@HIDDEN, Ship Mints <shipmints@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.3 (/) Eli Zaretskii <eliz@HIDDEN> writes: >> From: Ship Mints <shipmints@HIDDEN> >> Date: Mon, 16 Dec 2024 15:07:25 -0500 >> Cc: fgunbin@HIDDEN, gerd.moellmann@HIDDEN, jared@HIDDEN, >> 74833 <at> debbugs.gnu.org >> >> Now I see the recent change to master (Dec 9). I'd add that pretty much every other "curses" based app >> that supports mouse activity defaults to mouse on, though. Not sure >> why Emacs's recent default to on should >> be surprising. People would be surprised that the mouse doesn't work. That Terminal.app also steals >> command keys from those apps is also not a surprise. > > First, xt-mouse is not about curses, it's about xterm-specific mouse > protocol. Replace "curses" which he put in quotes with terminal application and what Ship Mints says is true. > And second, the issue here, at least for me, is not the user surprise > that the mouse works, it's that features which used to work in Emacs > when running on Terminal.app before that change cease to work, at > least in some situations, now. I really don't know what you are talking about when you write "feature in Emacs". There is no feature _in_ Emacs that is broken. Emacs doesn't even get a keyboard event for Command-C, it has no idea what is going on. It's Terminal.app that behaves differently. And Terminal.app has previsions for that (Command-R, Fn-mouse).
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 16 Dec 2024 20:31:13 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 16 15:31:13 2024 Received: from localhost ([127.0.0.1]:56398 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tNHkG-000884-Ux for submit <at> debbugs.gnu.org; Mon, 16 Dec 2024 15:31:13 -0500 Received: from mail-vk1-f181.google.com ([209.85.221.181]:42340) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>) id 1tNHkD-00087h-Nm for 74833 <at> debbugs.gnu.org; Mon, 16 Dec 2024 15:31:10 -0500 Received: by mail-vk1-f181.google.com with SMTP id 71dfb90a1353d-51873e55d27so2416337e0c.1 for <74833 <at> debbugs.gnu.org>; Mon, 16 Dec 2024 12:31:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734381004; x=1734985804; 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=5A8YmqvSs00JXrYLpXcAUCGfpGi7Z/U8VBTeAI+4xUM=; b=MND54VMIkAoOORMxG0mxLXFjHWu1yOjUXiVJnQ95wRQHxdMuljIt3FUaZNnMx41A3s kklsWnfAkAneyo+CQe8C9UqLBkXHJGZlB0WthFu9XObHpJ2HIiABSSriUd+lw0CwJm6e PFdXoyrzx/5wlKMZKk5acuqYqEpes+OdXKjSdWJKleB9HmdLW4ozuz/6W4xb2ZggRkSx aYLPxeWrN5nGk7NIwQZi1xDdNHlK1Zf0ziHQNz8Md02VMTVmmTd/wiRHE3TUwPdA7CA/ dQJvAXqanPMkjoySp7P0WWEsHqMMAcy3BlX8AMPbGRIrlQ7a8b6S8XFQtiYeAqzEoT2/ jD1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734381004; x=1734985804; 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=5A8YmqvSs00JXrYLpXcAUCGfpGi7Z/U8VBTeAI+4xUM=; b=KGez+l26R2BSmPOofKrP59hgULfY5UVu1jog4Zcn96l2TZ93mXSkgTPy6OiwDGuvB4 fCOzh4/33qEJ/ztiKFL6q7f6OtV/WTcom7+jn65WP94ApBVCvaIPvouIFUQ61pHGMSqE U5bgib/PWKYVEyEmAblGxnDB9eB1uxHz/GK4pGKZitrNiDfyH2J5TkV7GoUoHj+tc2IC 21rKJW7hKthvB/ndtEpnBIW/aGGLLWWakGPwN/MQLpS3mcEfLNyzQn8STUin/TxKN3iL j6rd+O508V8nQL2ZQEl2rFPxJDc26wVMvPly7hZLe1lzS0sAyOsPfuCzXe31HLe9rLoW c9EA== X-Forwarded-Encrypted: i=1; AJvYcCWSGoeNh/uL0wzsBe+1dYSQuMXMUc/KB7C+UjKIcRBfpOxq4ATGUXX3ZG7p+L9HNMVQBLWHcQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzmOlLTMT6RT9vfcW470hRnLdaLvbUEQi+BeNzkSNVbLEd9moT1 nmE8yRP43/tI4s3uHTb5DB+WgqJpY7TIRvHTjgst2joTqkcbwkALBkp/7vkKryL7A8aLGQ5cB8M nhqam81khBanrGmUGCfTMgjdUjbQ= X-Gm-Gg: ASbGncsTEOeUUlI9MhYMJLXtS7ZqoHKQ41XXxEAhV7TigjFCZze+JCaUoz49vPdtwED T3uQOHI0wxRJbPi9SEq/CfifuNK+JlGAwJARzHA== X-Google-Smtp-Source: AGHT+IEbYNFLU1l9byMqKuM1rK5++abPEehed/L0JPerluRBGLlcAOxwQsz6uPYd73/rvPS6o8P5XCGPeevjFcYnaD0= X-Received: by 2002:a05:6122:1d92:b0:518:78c7:9b50 with SMTP id 71dfb90a1353d-51a25d4a34amr1035216e0c.5.1734381003976; Mon, 16 Dec 2024 12:30:03 -0800 (PST) MIME-Version: 1.0 References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> <86y10jwmsb.fsf@HIDDEN> <m1msgznx20.fsf@HIDDEN> <86ldwiwvjc.fsf@HIDDEN> <m2ldwi8uvx.fsf@HIDDEN> <m1pllrtwq1.fsf@HIDDEN> <m2jzbzfscp.fsf@HIDDEN> <m1v7vjsavb.fsf@HIDDEN> <m24j33flqi.fsf@HIDDEN> <m1r067s7d9.fsf@HIDDEN> In-Reply-To: <m1r067s7d9.fsf@HIDDEN> From: Ship Mints <shipmints@HIDDEN> Date: Mon, 16 Dec 2024 15:29:16 -0500 Message-ID: <CAN+1HbqqSM3j7bGWjKhsoTRZzFN6sLPFqP2=LDrGLNs2O5UoVw@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled To: Filipp Gunbin <fgunbin@HIDDEN> Content-Type: multipart/alternative; boundary="000000000000a5b72d0629690b14" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74833 Cc: =?UTF-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, Jared Finder <jared@HIDDEN>, 74833 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --000000000000a5b72d0629690b14 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On mac, mouse reporting defaults to on and I think always has. "By default, each new Terminal window has the Allow Mouse Reporting option selected." Via https://support.apple.com/guide/terminal/turn-on-mouse-reporting-trmlc69728= a5/mac On Mon, Dec 16, 2024 at 3:25=E2=80=AFPM Filipp Gunbin <fgunbin@HIDDEN>= wrote: > On 16/12/2024 20:53 +0100, Gerd M=C3=B6llmann wrote: > > > Filipp Gunbin <fgunbin@HIDDEN> writes: > > > >>> I think it's best if we simply agree to disagree. > >> > >> I don't think we disagree much, I see the value of xterm-mouse-mode > >> (although I like "just text" on tty, no menus etc.), the only thing > >> which concerns me (and is the reason for this bug) are "half-broken" > >> defaults. > > > > I disagree completely :-). I don't see "half-broken" defaults. > > What is the default value of "Allow mouse reporting" if you open a new > Terminal.app tab? If it's ticked, like here, then you see them :-) > Because then you get by default that half-way setup which I'm > complaining about. > > >> We're discussing whether to disable xterm-mouse-mode only in > >> Terminal.app, not everywhere. > > > > I don't think it's proven that only Terminal.app behaves the way it > > does. At least iTerm can be configured in a way that it behaves almost > > the same. And Alacritty as well. > > Terminal.app is the default terminal on macOS, so it's a bit more > important in this context than others, I think. And we're talking about > what Terminal.app does by default. > --000000000000a5b72d0629690b14 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:monospac= e">On mac, mouse reporting defaults to on and I think always has. "By = default, each new Terminal window has the Allow Mouse Reporting option sele= cted." Via=C2=A0<a href=3D"https://support.apple.com/guide/terminal/tu= rn-on-mouse-reporting-trmlc69728a5/mac">https://support.apple.com/guide/ter= minal/turn-on-mouse-reporting-trmlc69728a5/mac</a></div></div><br><div clas= s=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_att= r">On Mon, Dec 16, 2024 at 3:25=E2=80=AFPM Filipp Gunbin <<a href=3D"mai= lto:fgunbin@HIDDEN">fgunbin@HIDDEN</a>> wrote:<br></div><block= quote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1= px solid rgb(204,204,204);padding-left:1ex">On 16/12/2024 20:53 +0100, Gerd= M=C3=B6llmann wrote:<br> <br> > Filipp Gunbin <<a href=3D"mailto:fgunbin@HIDDEN" target=3D"_bl= ank">fgunbin@HIDDEN</a>> writes:<br> ><br> >>> I think it's best if we simply agree to disagree.<br> >><br> >> I don't think we disagree much, I see the value of xterm-mouse= -mode<br> >> (although I like "just text" on tty, no menus etc.), the= only thing<br> >> which concerns me (and is the reason for this bug) are "half-= broken"<br> >> defaults.=C2=A0 <br> >=C2=A0 =C2=A0<br> > I disagree completely :-). I don't see "half-broken" def= aults.<br> <br> What is the default value of "Allow mouse reporting" if you open = a new<br> Terminal.app tab?=C2=A0 If it's ticked, like here, then you see them :-= )<br> Because then you get by default that half-way setup which I'm<br> complaining about.<br> <br> >> We're discussing whether to disable xterm-mouse-mode only in<b= r> >> Terminal.app, not everywhere.<br> ><br> > I don't think it's proven that only Terminal.app behaves the w= ay it<br> > does. At least iTerm can be configured in a way that it behaves almost= <br> > the same. And Alacritty as well.<br> <br> Terminal.app is the default terminal on macOS, so it's a bit more<br> important in this context than others, I think.=C2=A0 And we're talking= about<br> what Terminal.app does by default.<br> </blockquote></div> --000000000000a5b72d0629690b14--
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 16 Dec 2024 20:25:36 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 16 15:25:36 2024 Received: from localhost ([127.0.0.1]:56388 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tNHep-0007p3-Ih for submit <at> debbugs.gnu.org; Mon, 16 Dec 2024 15:25:36 -0500 Received: from fhigh-a8-smtp.messagingengine.com ([103.168.172.159]:55467) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <fgunbin@HIDDEN>) id 1tNHen-0007oq-3Y for 74833 <at> debbugs.gnu.org; Mon, 16 Dec 2024 15:25:33 -0500 Received: from phl-compute-05.internal (phl-compute-05.phl.internal [10.202.2.45]) by mailfhigh.phl.internal (Postfix) with ESMTP id 01ECA114015C; Mon, 16 Dec 2024 15:25:28 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-05.internal (MEProxy); Mon, 16 Dec 2024 15:25:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1734380727; x=1734467127; bh=md6XsoGAeiQq8bG5ao1FkNOyVlCxf71XoLM22KYn4Us=; b= VhzvgMCuHKZ7rX9RYVeJsfWbfs8TnlcaQ56eSde7GgN8EL6uKGyudfZt8u82sBcB JCjktKxyA0Z+fxyYc+C8i71TaW58gu4nL6QybV1OIKUIV6wyUO5Dp3+bT6vX0rcQ 9Dx1qk5XWc5T4JVL0BobPI4DInQAVaO7EMar1fEFhY35IXzxQyvWEZznKxrSUBos 0ZYoLRi6vkKq36eWsaI9qRJUW6Dv8aExpaVXFfe5cyn3BWQ27GpKHxZy7v1yJwmi b8ZaT6bMwgf4zOBTeGGs9tMbkhKqgmqyEDiNxZAPi4ygIfXFEAlR4QgueIS3/Wq9 nU66CsajYJyC/PMFOSQ3BQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1734380727; x= 1734467127; bh=md6XsoGAeiQq8bG5ao1FkNOyVlCxf71XoLM22KYn4Us=; b=v MVmSI+chtmkzA/18bUj50gZwISacALz+CHF2w4E5Wc6RnUm34cmd8sySrhlRb9Fd gw1qhcjt/EhqSsoLOg/Zr1yNQpvErs+HZVP40Qe1LMzSNu3RFj+7X3Z3i09nbp3E OYZaFlU6i1ihBhZBiEpGpkfsm/TiUeHYuvu6mqaVzqlkK3rTZfGCukMBLiNQ00/3 mGXSpqBigaf2Z6w5XLwbv5S/Y54tlUX+QqHpRZc4p85rNUr3gxlyHp8LirotGYqW 2xNIve/PWovubV4YbYr/nb4L0DR2l+hCrwT9LGLwWvTOK2R5vYaRAlzb1x+xlByC U8EnHhukg+CDwFYHXoerA== X-ME-Sender: <xms:t4xgZ0uMUJs9HQ7h8abh8EvXsioJtJ9gGQZedcBPVJhVMy0B5wREdw> <xme:t4xgZxc6cSbjFkn0Z7gKjVFpVQWAizWCfFCCdBQ70W0VG6EzyfN2BsIcgo6pyQbIK h7t3lb2BWEIi2Gx> X-ME-Received: <xmr:t4xgZ_y9-o7zCnDtpULlqbLVjPztKv01NUe-7SqoVHnX9IAMVzFV0xXeOVchokynzLE-NdU> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrleefgddufeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhephffvvefujghffgffkfggtgfgsehtqhertddtreej necuhfhrohhmpefhihhlihhpphcuifhunhgsihhnuceofhhguhhnsghinhesfhgrshhtmh grihhlrdhfmheqnecuggftrfgrthhtvghrnhepfeelfeffteeiteeuvdettdfgheegveet hfeuveejheejleeuiefgvedtiefhueegnecuvehluhhsthgvrhfuihiivgeptdenucfrrg hrrghmpehmrghilhhfrhhomhepfhhguhhnsghinhesfhgrshhtmhgrihhlrdhfmhdpnhgs pghrtghpthhtohephedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepshhhihhpmh hinhhtshesghhmrghilhdrtghomhdprhgtphhtthhopeejgeekfeefseguvggssghughhs rdhgnhhurdhorhhgpdhrtghpthhtohepjhgrrhgvugesfhhinhguvghrrdhorhhgpdhrtg hpthhtohepvghlihiisehgnhhurdhorhhgpdhrtghpthhtohepghgvrhgurdhmohgvlhhl mhgrnhhnsehgmhgrihhlrdgtohhm X-ME-Proxy: <xmx:t4xgZ3O4phhutJ2r8Qm4OXRx-przjC1ahCuqGxyscZQhCfVEllDQlQ> <xmx:t4xgZ0-f-0jyKJnP76DXFWNVzjeM-ttEQ39iZg19zLW0y2p-vqH3pA> <xmx:t4xgZ_Vq_gNH9AmZSZFtfGfGe2TJIY7_47Klcuff6n0MriIjH1Z3ng> <xmx:t4xgZ9c55ck3qm-i2J4ykaPTzsj5BSM8ErI7jHjgcvsnfSBoYN5ILQ> <xmx:t4xgZzkvhqiAyfklok1Z7ndNVO1lhDfc9YA96OPKygbiF2NvOwevwX7c> Feedback-ID: id48c41f1:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 16 Dec 2024 15:25:26 -0500 (EST) From: Filipp Gunbin <fgunbin@HIDDEN> To: Gerd =?utf-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled In-Reply-To: <m24j33flqi.fsf@HIDDEN> ("Gerd =?utf-8?Q?M=C3=B6llmann=22'?= =?utf-8?Q?s?= message of "Mon, 16 Dec 2024 20:53:25 +0100") References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> <86y10jwmsb.fsf@HIDDEN> <m1msgznx20.fsf@HIDDEN> <86ldwiwvjc.fsf@HIDDEN> <m2ldwi8uvx.fsf@HIDDEN> <m1pllrtwq1.fsf@HIDDEN> <m2jzbzfscp.fsf@HIDDEN> <m1v7vjsavb.fsf@HIDDEN> <m24j33flqi.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Date: Mon, 16 Dec 2024 23:25:22 +0300 Message-ID: <m1r067s7d9.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 74833 Cc: Eli Zaretskii <eliz@HIDDEN>, Jared Finder <jared@HIDDEN>, 74833 <at> debbugs.gnu.org, shipmints@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) On 16/12/2024 20:53 +0100, Gerd M=C3=B6llmann wrote: > Filipp Gunbin <fgunbin@HIDDEN> writes: > >>> I think it's best if we simply agree to disagree. >> >> I don't think we disagree much, I see the value of xterm-mouse-mode >> (although I like "just text" on tty, no menus etc.), the only thing >> which concerns me (and is the reason for this bug) are "half-broken" >> defaults.=20=20 >=20=20=20 > I disagree completely :-). I don't see "half-broken" defaults. What is the default value of "Allow mouse reporting" if you open a new Terminal.app tab? If it's ticked, like here, then you see them :-) Because then you get by default that half-way setup which I'm complaining about. >> We're discussing whether to disable xterm-mouse-mode only in >> Terminal.app, not everywhere. > > I don't think it's proven that only Terminal.app behaves the way it > does. At least iTerm can be configured in a way that it behaves almost > the same. And Alacritty as well. Terminal.app is the default terminal on macOS, so it's a bit more important in this context than others, I think. And we're talking about what Terminal.app does by default.
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 16 Dec 2024 20:19:21 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 16 15:19:21 2024 Received: from localhost ([127.0.0.1]:56359 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tNHYn-0007O1-8Z for submit <at> debbugs.gnu.org; Mon, 16 Dec 2024 15:19:21 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51496) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tNHYk-0007Ni-6O for 74833 <at> debbugs.gnu.org; Mon, 16 Dec 2024 15:19:19 -0500 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@HIDDEN>) id 1tNHYe-0002Po-Ki; Mon, 16 Dec 2024 15:19:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=lPGgfrug9eGJsf32tdFTRPGlIloOA35wSpgd0pXdK2g=; b=dpuS/ckh1r3+ F8fS+9lxjvticWH0JK4CbpQBry2U1nFZ6G0ciSg19x5ALp0Tu4gUYhk5P6GZ/xOG9YhWL1/cMpgiJ ObZfxSgbdjAyRGS1ZnYrSW2YpCINnhix8udQOuxi+UqEw815+bPG+xnWn+NKNh1TC3XWnkrGB8PEJ ozC0V1QdADd75ReT269r1PCUvfA7H0/T/pGuzileEv/GPGNd+nMI31VjW67Fa7hutQ8/9dRDke1VZ pLyu4sl/sTMH03Q3n+YWrpbkkngSEbIiwsqy7qXGv0NWTpHT8OvoNcEKT/cK5Mqnwtat6n2Jg8A7e 0SMmN71OzMqAGUSywaCjzg==; Date: Mon, 16 Dec 2024 22:19:04 +0200 Message-Id: <86a5cvpeiv.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Ship Mints <shipmints@HIDDEN> In-Reply-To: <CAN+1HbqqUoa1KK4xNGz1CO7mrmk=NTnFei1Fr8qchccbLqC2Zg@HIDDEN> (message from Ship Mints on Mon, 16 Dec 2024 15:07:25 -0500) Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> <86y10jwmsb.fsf@HIDDEN> <m1msgznx20.fsf@HIDDEN> <86ldwiwvjc.fsf@HIDDEN> <m2ldwi8uvx.fsf@HIDDEN> <m1pllrtwq1.fsf@HIDDEN> <m2jzbzfscp.fsf@HIDDEN> <m1v7vjsavb.fsf@HIDDEN> <CAN+1Hbo03URNb5dUVgiX8ofzrYiWG9VtB3AF9pjGvRxrMgyYDQ@HIDDEN> <86ed27pfhj.fsf@HIDDEN> <CAN+1HbqqUoa1KK4xNGz1CO7mrmk=NTnFei1Fr8qchccbLqC2Zg@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74833 Cc: gerd.moellmann@HIDDEN, jared@HIDDEN, 74833 <at> debbugs.gnu.org, fgunbin@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Ship Mints <shipmints@HIDDEN> > Date: Mon, 16 Dec 2024 15:07:25 -0500 > Cc: fgunbin@HIDDEN, gerd.moellmann@HIDDEN, jared@HIDDEN, > 74833 <at> debbugs.gnu.org > > Now I see the recent change to master (Dec 9). I'd add that pretty much every other "curses" based app > that supports mouse activity defaults to mouse on, though. Not sure why Emacs's recent default to on should > be surprising. People would be surprised that the mouse doesn't work. That Terminal.app also steals > command keys from those apps is also not a surprise. First, xt-mouse is not about curses, it's about xterm-specific mouse protocol. And second, the issue here, at least for me, is not the user surprise that the mouse works, it's that features which used to work in Emacs when running on Terminal.app before that change cease to work, at least in some situations, now.
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 16 Dec 2024 20:09:21 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 16 15:09:21 2024 Received: from localhost ([127.0.0.1]:56346 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tNHP6-0006qq-R4 for submit <at> debbugs.gnu.org; Mon, 16 Dec 2024 15:09:21 -0500 Received: from mail-ua1-f52.google.com ([209.85.222.52]:52504) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>) id 1tNHP4-0006qa-PW for 74833 <at> debbugs.gnu.org; Mon, 16 Dec 2024 15:09:19 -0500 Received: by mail-ua1-f52.google.com with SMTP id a1e0cc1a2514c-84ff43e87cbso1114311241.1 for <74833 <at> debbugs.gnu.org>; Mon, 16 Dec 2024 12:09:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734379693; x=1734984493; 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=pqZVDkftAGuDvFyBGUa0Ft0ulNyCAKWnXfwddXIoAKI=; b=gFMLvR/9JyaBYukBRZ6ZPc9Jav04POu2C4drv3nKabLeUPoAoMCH9geG8rAlYeH1WI UHKTx+pKD/E2kUQfYiEVhUDtoEmylIT7FXxnePo7WLxXxhnlF460CUP0z3ZDki1baVKQ R0S++UmnrzJQ4/5JAPj5Js4Ufj4z/fpGfnVKyLmKmnRrmLJO9OGrt5kl8sdELEKQFuoi V02KofCi/AEzMO45jeYCL/9HS/jqAhc2/WEjdeBVJD/sEHMULqWeOauSMEdENfDwkM8L rSf2tAvxlEb+mkX+7KAFfGHYo58kr0LXSYdgz3tqTWMoNN6B7rxSLTLlhsdo7FgWX+Bf QMUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734379693; x=1734984493; 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=pqZVDkftAGuDvFyBGUa0Ft0ulNyCAKWnXfwddXIoAKI=; b=wDcAVugDggq3bS9nKkbDFrTJQEOBGekGDuRr4DEpE4tEDZoWgxljRfXogrC8uxhZjH gcRh2cMbwXkB2Y6sbEk8OHp0W6yY2uXAcWXPNK+t4179QnYmQWDlold+ashR0DfblOZr RnMu4U5xRO8nTDWoW0N4mmx1va+lN3C+tRVXo5l+6dfaDR3ps6Ldo7SaTiE0TmS7az3O yR1Bmohxj/hpCfFUY1krcJZ5CkFRhAyRH+b0vDYVpn9YUKCyztUQp1/3UHLvZ2MwoY9E l0WYArHhk5PnCiltoEqiMThnEV9RurcxvRojDt8VOQQKeHd+vvj42ThTXh5wtrEPx4Vv pNlg== X-Forwarded-Encrypted: i=1; AJvYcCWw5Zlbq8XfyyM+htQ1ypWINrQkeokR7+24Kc3NVyksFENJffTwexOi5/2jTrQx7V6tTBPg/A==@debbugs.gnu.org X-Gm-Message-State: AOJu0YyKOdDxnKsYS8Wmdp72vSxlDREopDF9sgX+jbCfUnEVUI4NWt4v 2Gi6QhA5ciWuKQ7NXQI90GWpLBKjxfQENCEEng6bz+5EbU7DGkIOhDt7ljMb+c7VtyG42HTbQTA p+hAxRc+5Qy/5Hq3hT1n76CGDUHM= X-Gm-Gg: ASbGncsolnL2S2RxtBTURmagHOuJ4Q+3yUJ99KFPVz4A33rYfY1SglP4JyqlCywGSj0 oYS9ByqxQRrA3Hrl3C8RR3yZNNzKcSNh1lvHXgw== X-Google-Smtp-Source: AGHT+IHFHl87ukNUYgQoZFFx0Rlv8Mp7NgDmkRBeHxhFZROV8Ddi2tCIfb+hW1TnF3zTCU0qP3CZ84Iz05IZW7j+zQ0= X-Received: by 2002:a05:6122:8c27:b0:516:157c:a72e with SMTP id 71dfb90a1353d-518ca2172femr13755995e0c.3.1734379693212; Mon, 16 Dec 2024 12:08:13 -0800 (PST) MIME-Version: 1.0 References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> <86y10jwmsb.fsf@HIDDEN> <m1msgznx20.fsf@HIDDEN> <86ldwiwvjc.fsf@HIDDEN> <m2ldwi8uvx.fsf@HIDDEN> <m1pllrtwq1.fsf@HIDDEN> <m2jzbzfscp.fsf@HIDDEN> <m1v7vjsavb.fsf@HIDDEN> <CAN+1Hbo03URNb5dUVgiX8ofzrYiWG9VtB3AF9pjGvRxrMgyYDQ@HIDDEN> <86ed27pfhj.fsf@HIDDEN> In-Reply-To: <86ed27pfhj.fsf@HIDDEN> From: Ship Mints <shipmints@HIDDEN> Date: Mon, 16 Dec 2024 15:07:25 -0500 Message-ID: <CAN+1HbqqUoa1KK4xNGz1CO7mrmk=NTnFei1Fr8qchccbLqC2Zg@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled To: Eli Zaretskii <eliz@HIDDEN> Content-Type: multipart/alternative; boundary="000000000000850ced062968bd7c" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74833 Cc: gerd.moellmann@HIDDEN, jared@HIDDEN, 74833 <at> debbugs.gnu.org, fgunbin@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --000000000000850ced062968bd7c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Now I see the recent change to master (Dec 9). I'd add that pretty much every other "curses" based app that supports mouse activity defaults to mouse on, though. Not sure why Emacs's recent default to on should be surprising. People would be surprised that the mouse doesn't work. That Terminal.app also steals command keys from those apps is also not a surprise. On Mon, Dec 16, 2024 at 2:58=E2=80=AFPM Eli Zaretskii <eliz@HIDDEN> wrote: > > From: Ship Mints <shipmints@HIDDEN> > > Date: Mon, 16 Dec 2024 14:20:40 -0500 > > Cc: Gerd M=C3=B6llmann <gerd.moellmann@HIDDEN>, > > Eli Zaretskii <eliz@HIDDEN>, Jared Finder <jared@HIDDEN>, > 74833 <at> 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. > --000000000000850ced062968bd7c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:monospac= e">Now I see the recent change to master (Dec 9). I'd add that pretty m= uch every other "curses" based app that supports mouse activity d= efaults to mouse on, though. Not sure why Emacs's=C2=A0recent=C2=A0defa= ult to on should be surprising. People would be surprised that the mouse do= esn't work. That Terminal.app also steals command keys from those apps = is also not a surprise.</div></div><br><div class=3D"gmail_quote gmail_quot= e_container"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Dec 16, 2024 at = 2:58=E2=80=AFPM Eli Zaretskii <<a href=3D"mailto:eliz@HIDDEN">eliz@gnu.= org</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"marg= in:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1e= x">> From: Ship Mints <<a href=3D"mailto:shipmints@HIDDEN" target= =3D"_blank">shipmints@HIDDEN</a>><br> > Date: Mon, 16 Dec 2024 14:20:40 -0500<br> > Cc: Gerd M=C3=B6llmann <<a href=3D"mailto:gerd.moellmann@HIDDEN"= target=3D"_blank">gerd.moellmann@HIDDEN</a>>, <br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0Eli Zaretskii <<a href=3D"mailto:eliz@gnu= .org" target=3D"_blank">eliz@HIDDEN</a>>, Jared Finder <<a href=3D"m= ailto:jared@HIDDEN" target=3D"_blank">jared@HIDDEN</a>>, <a href= =3D"mailto:74833 <at> debbugs.gnu.org" target=3D"_blank">74833 <at> debbugs.gnu.org</= a><br> > <br> > I think about it like this: if Terminal.app successfully passed throug= h all its keys (which it can be configured to<br> > do), Command-C would appear in Emacs as M-c but it doesn't. Does i= t surprise you that Command-P offers<br> > the print dialog when Emacs is running in the terminal? This is no dif= ferent than Command-C. That<br> > Terminal.app supersedes Emacs is not an Emacs problem, it's Termin= al's problem. This feels like<br> > documentation issue not something to cure with default Emacs configura= tion.<br> > <br> > Other terminal applications like iTerm or WezTerm can be programmed si= milarly to pass through all keys<br> > that you want them to with modifiers, but by default, they don't. = These can't be Emacs's problem either.<br> > Same with Emacs run via ssh with tmux on the other side. That's a = "default" set of features offered on many<br> > systems and their configuration is not Emacs's problem.<br> <br> I see your points, but the fact remains that our enabling of<br> xterm-mouse-mode triggered these problems where previously there were<br> none.<br> <br> > This issue sounds like an "impedance mismatch" to my ears, e= ven if it surprises some users and requires<br> > some configuration depending on your specific goals and should perhaps= be better documented.<br> <br> If a default behavior needs documentation to explain it, it is usually<br> a sign of a not-very-good default, IME.<br> </blockquote></div> --000000000000850ced062968bd7c--
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 16 Dec 2024 19:58:32 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 16 14:58:32 2024 Received: from localhost ([127.0.0.1]:56323 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tNHEd-0006Ge-OG for submit <at> debbugs.gnu.org; Mon, 16 Dec 2024 14:58:31 -0500 Received: from mail-ej1-f43.google.com ([209.85.218.43]:50519) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1tNHEa-0006GV-SJ for 74833 <at> debbugs.gnu.org; Mon, 16 Dec 2024 14:58:29 -0500 Received: by mail-ej1-f43.google.com with SMTP id a640c23a62f3a-a9e8522445dso919318766b.1 for <74833 <at> debbugs.gnu.org>; Mon, 16 Dec 2024 11:58:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734379048; x=1734983848; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=kkFI5W3C02zwiAymVR5YglkgC7e5qaLDVa+QFyyV1uY=; b=WS7g8o3+IA0KPXuAv7ijkDMop6fUTIqnthULFSanHyAGXIo+9xGnDqeQFk9t3MVNOl 4hxLtb1iO0ywa1zIoOsgtbDBFN4nB6VeISKcKIlBLtvohYuu+IF2mc2iZMYGm7DuPZ/c 0tv44R7sKtQgsRHgxWOt7oGfpjcQ1chhuYKlS0BdRAwm01L2Xj5ruYOzOVDT9Ni7kpvt hFC+wOG0O1eYFsZIFMgPSTldksvbJj2+bwIw0g6GLLNrMPE/DtUuGS4Vbz9xmPALS77H 2fc37t2/phJuMCj19ko1xpQNHGFxvU2ycgspR4NmD9NUlR7Cm4BoVV2YO14y7acT1x6t g4+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734379048; x=1734983848; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=kkFI5W3C02zwiAymVR5YglkgC7e5qaLDVa+QFyyV1uY=; b=tBLGoE0m2pSup+ZfnHaMBn3wMx1GJEuLXy3ID8Veg60/2AosLTleuKq34FOZ30IiGx xe1/DmP1zU/11cRLAKLruD3pY6lgHJIkjhX6/eP2eM0+RMLZ8pDbLkNal7r3yKfpagTl se+y5nCm0A/iivNmac/epV/26JYnD6WOLGZgHf18X+FhqvwwZnflRmrSqB4EyeE/MneT lm/mRp+Er1w5TH7XpAPRKVyYvTGs0KYxX8oxL1kpN5xztBKV+D/PdXfsP7U0PHfH6z/k iNIW013JmmhqZMEuI7jMsfebZM2cHByEoY3oZ9mtnu3igcriWhhae6NiSZ2yGYsHVPFh hSsw== X-Forwarded-Encrypted: i=1; AJvYcCUvSdyEYC2cxFIVghv+OUI6GCK/FpMYoqFEtGtk2Y8IyWecLfZAlqkjXjtf2gqzjZegCZeLXA==@debbugs.gnu.org X-Gm-Message-State: AOJu0YweCF5A2jksgyn9CU9iaFwijztBSCN6Ck1kPkQLx90D8SRcwjpN IzzBKX25lp2yoM7XpC662/LeeZAtjydElxdYW+g5FgEfmV/hdXn3VZZR7Sj4 X-Gm-Gg: ASbGnctAXyoJN8YykiKIZyrNF7AYx5RQO7X4nAn3YSD9mDDLovwAGe7Dn3m95fS4C7H 9F0Dy7MWsoG/79/Rstj/UrBuBBsM3o1jT53+FPzhxE0M0qRaaHRpV2PssK80keHws973DpLiXeT Vig67NzhLEq3EjyO4Ca9ToLuGnDtpk9J03367VGisUEgBzCK4V9XqfgDgDS0wy89cg++J7VANiu R1wbmjEsaz8T/Hq74vKzQqrJfDyWpYVfSpzgHY9pyA7dCMa+xzUClMlLBwQkHOvEZMOgDlheXSE njd6FgDKgdqjZhtM6ZAepFwke6ZnBlpLdzJVT4tx0mOHU6WnLcgAx87G7diZ5VJC X-Google-Smtp-Source: AGHT+IEh+ikjd1teeORCON8tbgSh0JfgiDLs/AmbAx+pU4Dyk8nEmVy0TnAzS1bITd/SBWHN676eWQ== X-Received: by 2002:a17:907:2d12:b0:aa6:a05c:b068 with SMTP id a640c23a62f3a-aab77ed3314mr1167259066b.56.1734379047827; Mon, 16 Dec 2024 11:57:27 -0800 (PST) Received: from pro2 (p200300e0b72b6c00b173035138bbc769.dip0.t-ipconnect.de. [2003:e0:b72b:6c00:b173:351:38bb:c769]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aab96006514sm361351366b.36.2024.12.16.11.57.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Dec 2024 11:57:27 -0800 (PST) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> To: Ship Mints <shipmints@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled In-Reply-To: <CAN+1Hbo03URNb5dUVgiX8ofzrYiWG9VtB3AF9pjGvRxrMgyYDQ@HIDDEN> (Ship Mints's message of "Mon, 16 Dec 2024 14:20:40 -0500") References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> <86y10jwmsb.fsf@HIDDEN> <m1msgznx20.fsf@HIDDEN> <86ldwiwvjc.fsf@HIDDEN> <m2ldwi8uvx.fsf@HIDDEN> <m1pllrtwq1.fsf@HIDDEN> <m2jzbzfscp.fsf@HIDDEN> <m1v7vjsavb.fsf@HIDDEN> <CAN+1Hbo03URNb5dUVgiX8ofzrYiWG9VtB3AF9pjGvRxrMgyYDQ@HIDDEN> Date: Mon, 16 Dec 2024 20:57:26 +0100 Message-ID: <m2zfkve6zd.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74833 Cc: Jared Finder <jared@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, Filipp Gunbin <fgunbin@HIDDEN>, 74833 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Ship Mints <shipmints@HIDDEN> writes: > 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. Right. It's the support for the Kitty Keyboard Protocol, which allows this. Which Emacs doesn't support OOTB, only through the kkp package.
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 16 Dec 2024 19:58:27 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 16 14:58:27 2024 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 <at> debbugs.gnu.org>) id 1tNHEZ-0006GI-7t for submit <at> debbugs.gnu.org; Mon, 16 Dec 2024 14:58:27 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46070) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tNHEX-0006Fx-Oh for 74833 <at> debbugs.gnu.org; Mon, 16 Dec 2024 14:58:26 -0500 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@HIDDEN>) 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==; Date: Mon, 16 Dec 2024 21:58:16 +0200 Message-Id: <86ed27pfhj.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Ship Mints <shipmints@HIDDEN> In-Reply-To: <CAN+1Hbo03URNb5dUVgiX8ofzrYiWG9VtB3AF9pjGvRxrMgyYDQ@HIDDEN> (message from Ship Mints on Mon, 16 Dec 2024 14:20:40 -0500) Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> <86y10jwmsb.fsf@HIDDEN> <m1msgznx20.fsf@HIDDEN> <86ldwiwvjc.fsf@HIDDEN> <m2ldwi8uvx.fsf@HIDDEN> <m1pllrtwq1.fsf@HIDDEN> <m2jzbzfscp.fsf@HIDDEN> <m1v7vjsavb.fsf@HIDDEN> <CAN+1Hbo03URNb5dUVgiX8ofzrYiWG9VtB3AF9pjGvRxrMgyYDQ@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74833 Cc: gerd.moellmann@HIDDEN, jared@HIDDEN, 74833 <at> debbugs.gnu.org, fgunbin@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Ship Mints <shipmints@HIDDEN> > Date: Mon, 16 Dec 2024 14:20:40 -0500 > Cc: Gerd Möllmann <gerd.moellmann@HIDDEN>, > Eli Zaretskii <eliz@HIDDEN>, Jared Finder <jared@HIDDEN>, 74833 <at> 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.
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 16 Dec 2024 19:54:33 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 16 14:54:32 2024 Received: from localhost ([127.0.0.1]:56312 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tNHAm-00062E-Ho for submit <at> debbugs.gnu.org; Mon, 16 Dec 2024 14:54:32 -0500 Received: from mail-ej1-f53.google.com ([209.85.218.53]:56483) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1tNHAh-00061v-UM for 74833 <at> debbugs.gnu.org; Mon, 16 Dec 2024 14:54:31 -0500 Received: by mail-ej1-f53.google.com with SMTP id a640c23a62f3a-aa69077b93fso671908866b.0 for <74833 <at> debbugs.gnu.org>; Mon, 16 Dec 2024 11:54:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734378807; x=1734983607; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=b6Trw1n2dWMqj3Gwp4138788DLzaYkj/CKxYLlrb0hc=; b=GPabWEmRLCDAJTOyXIUd3o6chRkRcX3aLwRJipIScwzNgUHj1CsJUvCjop1Vk7ImwY LZxaGcicagL0wuai2E3TdeQWajqo0HZNaYJFGuPvVN57y01e/tCfuvEPNP0jrlSviYTA JVh7AlGzR2TJeJukvEV1cwe4WIrpqOLNXqoQWrACi2PLo9LaFws8H73xD+N4Lt6LO2KM VHTrgVpdch4fDmVhRbWtXJgxgp3VzfviH9LAgCRPPndL0YF+JvIiYe3QbGFxZo91gInQ xI7jsRlhAbMr2JanutJYj2uMvZS69xD84Vp0Nw2Mxt6dR7Z2u28dnokAuFNPzzDcs+El AWkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734378807; x=1734983607; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=b6Trw1n2dWMqj3Gwp4138788DLzaYkj/CKxYLlrb0hc=; b=j3CS5wZzdkACsTh2Xd5OumjON47Mhp2v/cRkOddhrW8N4axM+N7uEpiSEpRVn+ZS9L uGjtvCjVYgy6uZYtww0EnBDQGPKdSftEuGAhaneoQ4cQPr4D5ngslrLHvxBsQ5H7JU2V EWi3o1Jdj2KsCf5idMHf7un9j3Z2nDCP5IJviRwLO/ODKaZqnD9naw4tyYKNtyBfgGZ9 x7s8iCNBLT+gFgX5EffUhwa+rvU8qqBfQeHpJh1jV3CVArxBNLHy0QLDHvoZO84neKlP NNLWVKHewyeW8mZ/DRqN+wVT5lj8yyOb1roMEMEGcsAkQMTrij+1Uil85loQSSZ+iWvx YMNQ== X-Forwarded-Encrypted: i=1; AJvYcCUZhLzKMGML8jSrhWaMhSBz6iLEOLRtZAo8+vnCEx9+OByCxg8TsCwTfWbs9S36OzKQqQqG6A==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yx9/4xD1Wqnxs3dr8Z+5p9iGNG8b67Jc0dhvTM1wRNAdYKomJX3 2qZUboE6WynVh/SMNWoX2wsD2N9LJaJYGrQC8mpkXYH7+lT9xSUY X-Gm-Gg: ASbGncsJqv56k9i18ZMih3VntXBdbE/aeMXxtXv9nlnkquio1U8zpNHNn/21vnbFSjH uavJI48PBdFM+xvnBB2xeqdlcMskjTNKapNaN4DGBB1r7MfovuPT3KGpj8A+20JRzngg2zswGoi /acMrBKEkcY27aziMZQzCrlM6m25xaBehFLvuZB8/D++e55EofyruZP1eunCn7ivTAnVc9cUt+S TF5PLSaiJxdUX6BXG4g5EYaR6dPNaC960pmbPJJsjLk2k7tGGRxmFfMneIJhQS0RMHPUiEDNy/q lkRosDjz9PyLj7vvBbMp56/x1svAqq2T0JU4Xz7IelTToZAQ+ic7Bl9X0qhYq0Ka X-Google-Smtp-Source: AGHT+IHljoEyqkZtzFVIecg8nUxTaS42PnHtF8NOb82b1Uwq0AUqnHIZmSy6wQKV0bcnqZT0AOqYXg== X-Received: by 2002:a17:907:3d8f:b0:aa6:3223:19e6 with SMTP id a640c23a62f3a-aab77eda8e7mr1445094766b.60.1734378806655; Mon, 16 Dec 2024 11:53:26 -0800 (PST) Received: from pro2 (p200300e0b72b6c00b173035138bbc769.dip0.t-ipconnect.de. [2003:e0:b72b:6c00:b173:351:38bb:c769]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aab9638a12dsm362587066b.134.2024.12.16.11.53.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Dec 2024 11:53:26 -0800 (PST) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> To: Filipp Gunbin <fgunbin@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled In-Reply-To: <m1v7vjsavb.fsf@HIDDEN> (Filipp Gunbin's message of "Mon, 16 Dec 2024 22:09:44 +0300") References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> <86y10jwmsb.fsf@HIDDEN> <m1msgznx20.fsf@HIDDEN> <86ldwiwvjc.fsf@HIDDEN> <m2ldwi8uvx.fsf@HIDDEN> <m1pllrtwq1.fsf@HIDDEN> <m2jzbzfscp.fsf@HIDDEN> <m1v7vjsavb.fsf@HIDDEN> Date: Mon, 16 Dec 2024 20:53:25 +0100 Message-ID: <m24j33flqi.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74833 Cc: Eli Zaretskii <eliz@HIDDEN>, Jared Finder <jared@HIDDEN>, 74833 <at> debbugs.gnu.org, shipmints@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Filipp Gunbin <fgunbin@HIDDEN> writes: >> I think it's best if we simply agree to disagree. > > I don't think we disagree much, I see the value of xterm-mouse-mode > (although I like "just text" on tty, no menus etc.), the only thing > which concerns me (and is the reason for this bug) are "half-broken" > defaults. I disagree completely :-). I don't see "half-broken" defaults. > We're discussing whether to disable xterm-mouse-mode only in > Terminal.app, not everywhere. I don't think it's proven that only Terminal.app behaves the way it does. At least iTerm can be configured in a way that it behaves almost the same. And Alacritty as well. Without seeing Command-C in Emacs, and then doing something to bring Emacs' selection to the pasteboard, it's pretty difficult for a terminal emulator to know what's going on in the app. It would have to be a clairvoyant.
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 16 Dec 2024 19:22:36 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 16 14:22:36 2024 Received: from localhost ([127.0.0.1]:56264 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tNGfr-0004IT-8w for submit <at> debbugs.gnu.org; Mon, 16 Dec 2024 14:22:35 -0500 Received: from mail-qv1-f52.google.com ([209.85.219.52]:43395) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>) id 1tNGfp-0004IC-Eb for 74833 <at> debbugs.gnu.org; Mon, 16 Dec 2024 14:22:34 -0500 Received: by mail-qv1-f52.google.com with SMTP id 6a1803df08f44-6d92cd1e811so51610526d6.1 for <74833 <at> debbugs.gnu.org>; Mon, 16 Dec 2024 11:22:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734376888; x=1734981688; 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=lvzJxFs+0BT2HwpNuf+pgiaUg/tvCmOYXQV25T8u5Hs=; b=S4ZkUJJxwJ4zbJERa5nleMA2N2s6GrGUYo2ZLem7LwJhOBkkw4Ya0LUJ9pb15UtwKU IpwC5JFWHcuIA/rkTEcw85PAW2mCenswx68L3mH6ylJyXKAKHllaoZqditA9+Fz3j7NS 2iAbp3UY0W83jax9yIunubwZW7/klIatzBlqXWTdUc0MTKuPXLm3ytR2hiupRXF+reP9 0e5Y828JHulEjp62PG6NWTP4snH8wZ/9RxwahN9CfYR7SvB4mS9J8VnvzvjVnRhmBbNO 27R2j7eOOpOltQoTqxThdwEIVV51KSLAz8QGkrzLuAz5DAM2LN08Ri0csFlzSpXBtGMR LWig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734376888; x=1734981688; 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=lvzJxFs+0BT2HwpNuf+pgiaUg/tvCmOYXQV25T8u5Hs=; b=QUXI1sWSftuwkGlkmN83C1m0a5XDrPOG4ijweKfRLMr7Y067yG/eEiTvVgpJRmekf/ L49h7viKDSDuoI1oLsTDU9xMLe3M/5jncNBhLSezeQSshHUA236r/BVBYsnChz15fpdw YH13/+SdyKC8HqtkjIr3r5mEe/LvidivpWxkWyHNGRG3B7knJzqLxUNXeH/GJtXihcur NHoOlJLdF/nzdsJeIjFYwIjE+AADioGXclU5O0wc9OMMnn8DJ3j6yC7xOFGz++fxt4ss u8QASIirLTn0KJJoMJRn01s+JFqHYB3ULryIbZzCKgXBYpDp9aScRXVHqWuyHLn9FzHW ApMA== X-Forwarded-Encrypted: i=1; AJvYcCWQbuxwQnco0+onmye39JmNEBPm35guJQT6IH9a+t825tarwfQiamalsAYoG+BjYSxfywa/AQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwJZtlkqOQjm7z8kWJuPjh+leoV72GtUi5Lg2h9+I0NxO+4XL+W SZFnmvNmIO4c6KrV6Fc+EzKhcU8dBx59ecnOMlRwLnbgmA/SGMW9htaPMkcU+XpLuyxdPUNu1Ce fk9zNsMgxXSJ300WUzFnWSpNbcpc= X-Gm-Gg: ASbGnctxAcNCvB58Orm9YFUXuV9T52v+h8UgEz152Xz/ie+7HsWBFn8wA5VUr0zZGCQ I52Rdc/cbhJjZz0xlg2A5c0/esUlhPhr7bZkO9g== X-Google-Smtp-Source: AGHT+IFimvm5QfLk0s4ofahnGdnwKq3YSMcMY4sM5EIFFJ5gX0kafyYTGK/989ekXNlAodbdogUNpHsOktXnOg+uryU= X-Received: by 2002:ad4:5aea:0:b0:6d8:e838:6cc8 with SMTP id 6a1803df08f44-6dcf4c849f0mr8181636d6.17.1734376887954; Mon, 16 Dec 2024 11:21:27 -0800 (PST) MIME-Version: 1.0 References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> <86y10jwmsb.fsf@HIDDEN> <m1msgznx20.fsf@HIDDEN> <86ldwiwvjc.fsf@HIDDEN> <m2ldwi8uvx.fsf@HIDDEN> <m1pllrtwq1.fsf@HIDDEN> <m2jzbzfscp.fsf@HIDDEN> <m1v7vjsavb.fsf@HIDDEN> In-Reply-To: <m1v7vjsavb.fsf@HIDDEN> From: Ship Mints <shipmints@HIDDEN> Date: Mon, 16 Dec 2024 14:20:40 -0500 Message-ID: <CAN+1Hbo03URNb5dUVgiX8ofzrYiWG9VtB3AF9pjGvRxrMgyYDQ@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled To: Filipp Gunbin <fgunbin@HIDDEN> Content-Type: multipart/alternative; boundary="00000000000050304f0629681667" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74833 Cc: =?UTF-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, Jared Finder <jared@HIDDEN>, 74833 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --00000000000050304f0629681667 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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. 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. On Mon, Dec 16, 2024 at 2:09=E2=80=AFPM Filipp Gunbin <fgunbin@HIDDEN>= wrote: > On 16/12/2024 18:30 +0100, Gerd M=C3=B6llmann wrote: > > > Filipp Gunbin <fgunbin@HIDDEN> writes: > > > >>> Terminal.app's Command-C can only copy a selection that the app knows > >>> about. > >> > >> Not really - with xterm-mouse-mode disabled (and with "Allow mouse > >> reporting" ticked in Terminal.app menu), mouse selection in Terminal.a= pp > >> is not related to Emacs selection, and copy / paste works. > > > > What I meant with my sentence is that the selection Emacs shows and the > > selection Terminal.app shows and uses are not related to each other. > > Maybe that's a cause of confusion, I don't know. > > > >> > >>> If the mouse is used by an app like Emacs (Terminal.app's > >>> Settings/Report ....)) the user tells Terminal to let the app use the > mouse. > >>> I find it little surprising that when Terminal.app does that, it > doesn't > >>> use the mouse itself to make a selection it could then copy. > >> > >> It does, although that's Terminal.app's "own" selection, not Emacs's. > >> > >>> Do Command-A Command-C and see what happens. > >>> > >>> Or use Command-R to toggle the mouse reporting setting on the fly. > >>> > >>> Or use xclip in Emacs. > >>> > >>> Please don't disable xterm-mouse for this. > >> > >> Again, it turns out that the new default leads to copy not working at > >> all, while with previous default you could make selection in > >> Terminal.app (it's not reflected in Emacs) and then copy. Paste works > >> in both cases. It still looks to me that the old default is better. = If > >> you enable xterm-mouse-mode, then perhaps you should also use xclip, n= ot > >> just the mode itself. > > > > Mouse support by default is an important feature, IMO. It makes the men= u > > bar usable, or in a future Emacs containing tty child frames tooltips > > can be shown. Not to mention setting point and what else. > > > > What's the positive effect of turning mouse support off by default? > > Command-C works for users who haven't set up terminal Emacs well enough > > that they could use M-w, plus in addition don't know Terminal.app well > > enough to know about Command-R or Fn + mouse. > > My point is exactly that Command-C _doesn't work_ for them, with current > defaults (xterm-mouse-mode on in Emacs; "Allow mouse reporting" ticked - > which is the default for a new Terminal.app tab, at least here). > > > I think it's best if we simply agree to disagree. > > I don't think we disagree much, I see the value of xterm-mouse-mode > (although I like "just text" on tty, no menus etc.), the only thing > which concerns me (and is the reason for this bug) are "half-broken" > defaults. We're discussing whether to disable xterm-mouse-mode only in > Terminal.app, not everywhere. > --00000000000050304f0629681667 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:monospac= e">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 differe= nt than Command-C. That Terminal.app supersedes Emacs is not an Emacs probl= em, it's Terminal's problem. This feels like documentation issue no= t something to cure with default Emacs configuration.</div><div class=3D"gm= ail_default" style=3D"font-family:monospace"><br></div><div class=3D"gmail_= default" style=3D"font-family:monospace">Other terminal applications like i= Term or WezTerm can be programmed similarly to pass through all keys that y= ou want them to with modifiers, but by default, they don't. These can&#= 39;t be Emacs's problem either. Same with Emacs run via ssh with tmux o= n the other side. That's a "default" set of features offered = on many systems and their configuration is not Emacs's problem.</div><d= iv class=3D"gmail_default" style=3D"font-family:monospace"><br></div><div c= lass=3D"gmail_default" style=3D"font-family:monospace">This issue sounds li= ke 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.</div></div><br><div class=3D"gmail_quo= te gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Dec= 16, 2024 at 2:09=E2=80=AFPM Filipp Gunbin <<a href=3D"mailto:fgunbin@fa= stmail.fm">fgunbin@HIDDEN</a>> wrote:<br></div><blockquote class=3D= "gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(2= 04,204,204);padding-left:1ex">On 16/12/2024 18:30 +0100, Gerd M=C3=B6llmann= wrote:<br> <br> > Filipp Gunbin <<a href=3D"mailto:fgunbin@HIDDEN" target=3D"_bl= ank">fgunbin@HIDDEN</a>> writes:<br> ><br> >>> Terminal.app's Command-C can only copy a selection that th= e app knows<br> >>> about.<br> >><br> >> Not really - with xterm-mouse-mode disabled (and with "Allow = mouse<br> >> reporting" ticked in Terminal.app menu), mouse selection in T= erminal.app<br> >> is not related to Emacs selection, and copy / paste works.<br> ><br> > What I meant with my sentence is that the selection Emacs shows and th= e<br> > selection Terminal.app shows and uses are not related to each other.<b= r> > Maybe that's a cause of confusion, I don't know.<br> ><br> >><br> >>> If the mouse is used by an app like Emacs (Terminal.app's<= br> >>> Settings/Report ....)) the user tells Terminal to let the app = use the mouse.<br> >>> I find it little surprising that when Terminal.app does that, = it doesn't<br> >>> use the mouse itself to make a selection it could then copy.<b= r> >><br> >> It does, although that's Terminal.app's "own" se= lection, not Emacs's.<br> >><br> >>> Do Command-A Command-C and see what happens.<br> >>><br> >>> Or use Command-R to toggle the mouse reporting setting on the = fly.<br> >>><br> >>> Or use xclip in Emacs.<br> >>><br> >>> Please don't disable xterm-mouse for this.<br> >><br> >> Again, it turns out that the new default leads to copy not working= at<br> >> all, while with previous default you could make selection in<br> >> Terminal.app (it's not reflected in Emacs) and then copy.=C2= =A0 Paste works<br> >> in both cases.=C2=A0 It still looks to me that the old default is = better.=C2=A0 If<br> >> you enable xterm-mouse-mode, then perhaps you should also use xcli= p, not<br> >> just the mode itself.<br> ><br> > Mouse support by default is an important feature, IMO. It makes the me= nu<br> > bar usable, or in a future Emacs containing tty child frames tooltips<= br> > can be shown. Not to mention setting point and what else.<br> ><br> > What's the positive effect of turning mouse support off by default= ?<br> > Command-C works for users who haven't set up terminal Emacs well e= nough<br> > that they could use M-w, plus in addition don't know Terminal.app = well<br> > enough to know about Command-R or Fn + mouse.<br> <br> My point is exactly that Command-C _doesn't work_ for them, with curren= t<br> defaults (xterm-mouse-mode on in Emacs; "Allow mouse reporting" t= icked -<br> which is the default for a new Terminal.app tab, at least here).<br> <br> > I think it's best if we simply agree to disagree.<br> <br> I don't think we disagree much, I see the value of xterm-mouse-mode<br> (although I like "just text" on tty, no menus etc.), the only thi= ng<br> which concerns me (and is the reason for this bug) are "half-broken&qu= ot;<br> defaults.=C2=A0 We're discussing whether to disable xterm-mouse-mode on= ly in<br> Terminal.app, not everywhere.<br> </blockquote></div> --00000000000050304f0629681667--
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 16 Dec 2024 19:10:00 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 16 14:10:00 2024 Received: from localhost ([127.0.0.1]:56206 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tNGTg-0003Wb-9T for submit <at> debbugs.gnu.org; Mon, 16 Dec 2024 14:10:00 -0500 Received: from fhigh-a7-smtp.messagingengine.com ([103.168.172.158]:43885) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <fgunbin@HIDDEN>) id 1tNGTb-0003WH-B4 for 74833 <at> debbugs.gnu.org; Mon, 16 Dec 2024 14:09:58 -0500 Received: from phl-compute-06.internal (phl-compute-06.phl.internal [10.202.2.46]) by mailfhigh.phl.internal (Postfix) with ESMTP id 2060211400D0; Mon, 16 Dec 2024 14:09:49 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-06.internal (MEProxy); Mon, 16 Dec 2024 14:09:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1734376189; x=1734462589; bh=8zy5EWe/aAOEOPyK4/WSNqzsU0RkwG60h7EB5mI/pBc=; b= GbkMcowjHN+rcmm30p1Dq5aEW0JCr3AeaL+8/4d2jfURWgBv+byvXC1f88F3HJh9 ex/htEmh38dmMorDutz5ozHeDCteis98A9nW925zswKAYqyTJtrvksthXeuS/00o WRCkEjunK+SDNe3th6fdeE8uXoIZiwnHO72+4KlVdwdRDpOJtQgOGZkHBvDs045Z XuyWdWEsNdcfzKZ0TzPhksYGlezDYhs1g19iqnZ0SKSEUQ1iQUmvcRUOmV3ltxud l6qxiQZE5XSLD++GXbsGwKbeRfL819NbcsZwGf3oOl4bTwuHGjg57Mp09sHUgU51 E4h4KIGiO3pMoLqCGiqcOg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1734376189; x= 1734462589; bh=8zy5EWe/aAOEOPyK4/WSNqzsU0RkwG60h7EB5mI/pBc=; b=I 112FPOUbQ6OpsS2IMQF/5sstNsHzEQCDMonbOStCzpMIZhDR+0s5u4JsEz6cHrGk W0RmbcjPRS/s7FqtyBKf2a/dlKPbv4GbzAx5xSahSUI64M2U5UjmxI0ZGjLnPOjN 7PdQKCpaRD1gSAWWviKtMG9wSscxZrSjmpNJv+V6Qq7JFya9lPbktRbX2XjZhq2I iSc4NWgJKwL3qZ368bv/9GnaZ5qzzW9zkoLwgo9UY9NWY0jHW19hwx80a2B3F+Iu F27w1ds15ke9A/wmqDwUjvEpgdkdISZf2EOi7x1neyMqFd8vofR6Z1hA3AFviS6Y txXd+wntzrkcUo+qXUZLQ== X-ME-Sender: <xms:_HpgZz3uVroqC-IPRjEjAoqUVH0i7qocx_7a6nmMRC5a0E3IpoYAhQ> <xme:_HpgZyFaQD_-k8Qt49kHRMnOG8JTw6R5qty02aCuywoDB3Gsz2ZmFj21Kd7O2q5h1 F7xgKxpirZBR38e> X-ME-Received: <xmr:_HpgZz5eLGtLMxFKEnb5HiTie253jxAWyvRm29fJMKTd9IH6PdCTDBL9IpSS6bTgwgPi4Dk> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrleefgdduvddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhephffvvefujghffgffkfggtgfgsehtqhertddtreej necuhfhrohhmpefhihhlihhpphcuifhunhgsihhnuceofhhguhhnsghinhesfhgrshhtmh grihhlrdhfmheqnecuggftrfgrthhtvghrnhepfeelfeffteeiteeuvdettdfgheegveet hfeuveejheejleeuiefgvedtiefhueegnecuvehluhhsthgvrhfuihiivgeptdenucfrrg hrrghmpehmrghilhhfrhhomhepfhhguhhnsghinhesfhgrshhtmhgrihhlrdhfmhdpnhgs pghrtghpthhtohephedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepshhhihhpmh hinhhtshesghhmrghilhdrtghomhdprhgtphhtthhopeejgeekfeefseguvggssghughhs rdhgnhhurdhorhhgpdhrtghpthhtohepjhgrrhgvugesfhhinhguvghrrdhorhhgpdhrtg hpthhtohepvghlihiisehgnhhurdhorhhgpdhrtghpthhtohepghgvrhgurdhmohgvlhhl mhgrnhhnsehgmhgrihhlrdgtohhm X-ME-Proxy: <xmx:_HpgZ41Am2heAJueaWJzQGn9-9WW50QAusnZed0q492xYEwg9tImpQ> <xmx:_HpgZ2HuWAqh6ayEsU8DKJivqfqcE0_P4Q5R6JwfpZRfVRTBoGF7_A> <xmx:_HpgZ59BW662v4KFhsJV8599JyX1rrv-j4iVwYvy_mVB_WKJbkZyTg> <xmx:_HpgZzlcAQ1Su6_zCPeqbDaou7w5JQPib6TcbK_VF9rh68OBIqUvHg> <xmx:_XpgZzNcmRoWWt-cxCwUeDAF8-cD_DSNhog1GzCcZ61amWs7i0EB-Fbw> Feedback-ID: id48c41f1:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 16 Dec 2024 14:09:47 -0500 (EST) From: Filipp Gunbin <fgunbin@HIDDEN> To: Gerd =?utf-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled In-Reply-To: <m2jzbzfscp.fsf@HIDDEN> ("Gerd =?utf-8?Q?M=C3=B6llmann=22'?= =?utf-8?Q?s?= message of "Mon, 16 Dec 2024 18:30:30 +0100") References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> <86y10jwmsb.fsf@HIDDEN> <m1msgznx20.fsf@HIDDEN> <86ldwiwvjc.fsf@HIDDEN> <m2ldwi8uvx.fsf@HIDDEN> <m1pllrtwq1.fsf@HIDDEN> <m2jzbzfscp.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Date: Mon, 16 Dec 2024 22:09:44 +0300 Message-ID: <m1v7vjsavb.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 74833 Cc: Eli Zaretskii <eliz@HIDDEN>, Jared Finder <jared@HIDDEN>, 74833 <at> debbugs.gnu.org, shipmints@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) On 16/12/2024 18:30 +0100, Gerd M=C3=B6llmann wrote: > Filipp Gunbin <fgunbin@HIDDEN> writes: > >>> Terminal.app's Command-C can only copy a selection that the app knows >>> about. >> >> Not really - with xterm-mouse-mode disabled (and with "Allow mouse >> reporting" ticked in Terminal.app menu), mouse selection in Terminal.app >> is not related to Emacs selection, and copy / paste works. > > What I meant with my sentence is that the selection Emacs shows and the > selection Terminal.app shows and uses are not related to each other. > Maybe that's a cause of confusion, I don't know. > >> >>> If the mouse is used by an app like Emacs (Terminal.app's >>> Settings/Report ....)) the user tells Terminal to let the app use the m= ouse. >>> I find it little surprising that when Terminal.app does that, it doesn't >>> use the mouse itself to make a selection it could then copy. >> >> It does, although that's Terminal.app's "own" selection, not Emacs's. >> >>> Do Command-A Command-C and see what happens. >>> >>> Or use Command-R to toggle the mouse reporting setting on the fly. >>> >>> Or use xclip in Emacs. >>> >>> Please don't disable xterm-mouse for this. >> >> Again, it turns out that the new default leads to copy not working at >> all, while with previous default you could make selection in >> Terminal.app (it's not reflected in Emacs) and then copy. Paste works >> in both cases. It still looks to me that the old default is better. If >> you enable xterm-mouse-mode, then perhaps you should also use xclip, not >> just the mode itself. > > Mouse support by default is an important feature, IMO. It makes the menu > bar usable, or in a future Emacs containing tty child frames tooltips > can be shown. Not to mention setting point and what else. > > What's the positive effect of turning mouse support off by default? > Command-C works for users who haven't set up terminal Emacs well enough > that they could use M-w, plus in addition don't know Terminal.app well > enough to know about Command-R or Fn + mouse. My point is exactly that Command-C _doesn't work_ for them, with current defaults (xterm-mouse-mode on in Emacs; "Allow mouse reporting" ticked - which is the default for a new Terminal.app tab, at least here). > I think it's best if we simply agree to disagree. I don't think we disagree much, I see the value of xterm-mouse-mode (although I like "just text" on tty, no menus etc.), the only thing which concerns me (and is the reason for this bug) are "half-broken" defaults. We're discussing whether to disable xterm-mouse-mode only in Terminal.app, not everywhere.
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 16 Dec 2024 17:54:21 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 16 12:54:21 2024 Received: from localhost ([127.0.0.1]:55972 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tNFIS-0007pj-In for submit <at> debbugs.gnu.org; Mon, 16 Dec 2024 12:54:20 -0500 Received: from mail-ej1-f54.google.com ([209.85.218.54]:53733) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1tNFIP-0007pU-V7 for 74833 <at> debbugs.gnu.org; Mon, 16 Dec 2024 12:54:19 -0500 Received: by mail-ej1-f54.google.com with SMTP id a640c23a62f3a-a9a977d6cc7so592825366b.3 for <74833 <at> debbugs.gnu.org>; Mon, 16 Dec 2024 09:54:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734371597; x=1734976397; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=c1tMMe13lxsaejrR6NDQxxjXzY2PRdNfgMqx3a52fyw=; b=WrvdMIcOQEYb0msEQOSIEWFuAqT9jYD8sD0SSpEGn8+MujVK2Iyj19Iu66tUeJTZCR 8GLgoau5bOBIX99Yznm0p8Zsdwy4Z3UEzkB5nsKdo1rYCehhxer04mTW14BAzcLPm9fR NvLj5n7HEKdUyiU2GkVvXQ5+hVMhNPyPKAKjX+PPC2FwNaYL6Phx3lzwjhuZft5r89Ln 54hQSIW2rRLBBYSYdr/ArKMObj1KN2sPzGcL8+74vVTVWYLct9AYpsVxSJYMsO19apn9 NCYyOxp/8owiF1U759pqk1LDQQp0y3jvHTguqdQJCsdVglh//2jR3SacWkwgAwx1bKYL ylJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734371597; x=1734976397; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=c1tMMe13lxsaejrR6NDQxxjXzY2PRdNfgMqx3a52fyw=; b=M3ijocAGGe4reWj//Xmv51kWLOprR7zo00RTH+fisIraV6i3gHSPcsyQKmzgBuPP0e DNpwY0Pa97mXYuRbEjWNv5HFp+Oa+8W6xZmPuXS+nwFJPIlCHGJ5GNiwfYTXqUmoFnph NoFJjSdzAfGXKgfB9EoEJ4cALH/6zQ/+Id8vAKoQNJ+rpW2Ma/izSiQMt4R3IAe0mbHh uvbGhrk1M29CGhzjRv141jU03DAoTX+5rN9TSMu/pTjFOldKK/8dFMmxIh2LbA0+RFXT jkEIYcIZGUdQXdligEmtxIiVWeYi79+p9i7Bp+PA1XF/1vrvRPKIbhIlwLLRW+IxBQDn HJ7w== X-Forwarded-Encrypted: i=1; AJvYcCWEDoaU84CYXV28zaaKoT+waRbwjDduhr4+8BmE7PBfqObY4rJDJs2JTmIgj9sf4Q44NmO1dQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yxnc/VUzuEXOFP9bk6lJ8MXArHmXfzIAD4Q9nxlb7WLsDWnKBmD kmUNRSn7nYQC31fP2aNTiZiIdPV//Ox9fBiP6Kv/CmvAHg9+FjXu X-Gm-Gg: ASbGncvAXGvN0WNwCdosMWaU4WACZE8AIoqO1KBvFWN/1PGGIn+3J8VprtTmJ4Uhwio 5CUkKE2Sc2dcEHpcYtGPcL2r/k1qvy8aJgIvAaf0ANaE3jWdQs1Vm3yFChZeImwG33eKUxN9HYr EjAqsr7vCs/wt7SSiAKNbhRv1eMVrl8C/3F5ZAPN8iEYoj8JjInyYdei8swpcxr6zBBqm/Sx0Ws m2kK8AcDkszc77TwcR+eOO6PN5qVxqqEGjwYujpASN+Q/BrIIXi/+5BZVtOKCJizt3wIM/A4fIW Sz4LHqrcRK+G5MFbs1oOHVtaRV6/Lp3/QkWcnw5z75xN0WWgbFrNxI4h+RoI4Prq X-Google-Smtp-Source: AGHT+IEA5HOkBoOWlDdyU/TgpRnFXcNiEVBRBfK0gt58m9Vl0ONqPBa6ECG3kb8pggBSgymJY11XGw== X-Received: by 2002:a05:6402:2786:b0:5d3:ff93:f5f9 with SMTP id 4fb4d7f45d1cf-5d63c3432f6mr29775102a12.20.1734371596967; Mon, 16 Dec 2024 09:53:16 -0800 (PST) Received: from pro2 (p200300e0b72b6c00b173035138bbc769.dip0.t-ipconnect.de. [2003:e0:b72b:6c00:b173:351:38bb:c769]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aab96391301sm353654666b.170.2024.12.16.09.53.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Dec 2024 09:53:16 -0800 (PST) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled In-Reply-To: <86ldwfplro.fsf@HIDDEN> (Eli Zaretskii's message of "Mon, 16 Dec 2024 19:42:35 +0200") References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> <86y10jwmsb.fsf@HIDDEN> <m1msgznx20.fsf@HIDDEN> <86ldwiwvjc.fsf@HIDDEN> <m2ldwi8uvx.fsf@HIDDEN> <m1pllrtwq1.fsf@HIDDEN> <m2jzbzfscp.fsf@HIDDEN> <86ldwfplro.fsf@HIDDEN> Date: Mon, 16 Dec 2024 18:53:15 +0100 Message-ID: <m28qsffras.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 74833 Cc: jared@HIDDEN, 74833 <at> debbugs.gnu.org, fgunbin@HIDDEN, shipmints@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eli Zaretskii <eliz@HIDDEN> writes: >> From: Gerd M=C3=B6llmann <gerd.moellmann@HIDDEN> >> Cc: Eli Zaretskii <eliz@HIDDEN>, Jared Finder <jared@HIDDEN>, >> 74833 <at> debbugs.gnu.org, shipmints@HIDDEN >> Date: Mon, 16 Dec 2024 18:30:30 +0100 >>=20 >> Mouse support by default is an important feature, IMO. It makes the menu >> bar usable, or in a future Emacs containing tty child frames tooltips >> can be shown. Not to mention setting point and what else. > > I agree that mouse support is an important feature -- if it works well > and doesn't cause regressions. Here it seems like at least some > people could see some breakage. > > It is easy to turn on xterm-mouse-mode for those who want it and don't > get anything broken due to it. Turning it on by default is only TRT > if there are no significant downsides. IOW, we shouldn't force users > to turn off some feature that is turned on by default because the > default doesn't work or breaks something. You left out the part where I said for whom it breaks something :-).
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 16 Dec 2024 17:42:49 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 16 12:42:49 2024 Received: from localhost ([127.0.0.1]:55948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tNF7J-0007D9-54 for submit <at> debbugs.gnu.org; Mon, 16 Dec 2024 12:42:49 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36096) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tNF7F-0007Cl-Ib for 74833 <at> debbugs.gnu.org; Mon, 16 Dec 2024 12:42:46 -0500 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@HIDDEN>) id 1tNF79-0004SW-7x; Mon, 16 Dec 2024 12:42:39 -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=OqorTIQJUZjehhkVBaLVB3Zrvaf9ivpLrMT09X5Fm08=; b=A1lYyprSxgPSkHcaJNg7 VVrs1IGWWfjvHAXUqdF77WKDJ/1g4qLl9M9Gbb8oGlYxNK5+KgfhoYHAoMqKYq3ixWcxZCfmhB4k/ pmzcJhm2bTLeKRZRrLiwPe6qK5B5l+Nb7jv2EdGImYXQF76Q/4WbpMTDZKL8IjrDHtytoYZahRMFu TXB4ipvwJ2UYZr/IagTomldWmFqmJ7HUrN8Jt5M0c+NVDvvgtm6VDs0EXSsbpaPK/6GO7/i2PWQJo 4W9KAyquHZc1ZIUUZh0pxm2QEd3eKlSFHNuwka/ndvgiJrGR1PDYS9riahtZfv04JXI+PqfGhOY0x pDY8c6Jby7aIIQ==; Date: Mon, 16 Dec 2024 19:42:35 +0200 Message-Id: <86ldwfplro.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Gerd =?iso-8859-1?Q?M=F6llmann?= <gerd.moellmann@HIDDEN> In-Reply-To: <m2jzbzfscp.fsf@HIDDEN> (message from Gerd =?iso-8859-1?Q?M=F6llmann?= on Mon, 16 Dec 2024 18:30:30 +0100) Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> <86y10jwmsb.fsf@HIDDEN> <m1msgznx20.fsf@HIDDEN> <86ldwiwvjc.fsf@HIDDEN> <m2ldwi8uvx.fsf@HIDDEN> <m1pllrtwq1.fsf@HIDDEN> <m2jzbzfscp.fsf@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74833 Cc: jared@HIDDEN, 74833 <at> debbugs.gnu.org, fgunbin@HIDDEN, shipmints@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Gerd Möllmann <gerd.moellmann@HIDDEN> > Cc: Eli Zaretskii <eliz@HIDDEN>, Jared Finder <jared@HIDDEN>, > 74833 <at> debbugs.gnu.org, shipmints@HIDDEN > Date: Mon, 16 Dec 2024 18:30:30 +0100 > > Mouse support by default is an important feature, IMO. It makes the menu > bar usable, or in a future Emacs containing tty child frames tooltips > can be shown. Not to mention setting point and what else. I agree that mouse support is an important feature -- if it works well and doesn't cause regressions. Here it seems like at least some people could see some breakage. It is easy to turn on xterm-mouse-mode for those who want it and don't get anything broken due to it. Turning it on by default is only TRT if there are no significant downsides. IOW, we shouldn't force users to turn off some feature that is turned on by default because the default doesn't work or breaks something. So I still think it is safer to turn this off on Terminal.app, if we can detect it.
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 16 Dec 2024 17:37:08 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 16 12:37:08 2024 Received: from localhost ([127.0.0.1]:55939 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tNF1m-0006v0-G1 for submit <at> debbugs.gnu.org; Mon, 16 Dec 2024 12:37:07 -0500 Received: from mail-ej1-f52.google.com ([209.85.218.52]:44299) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1tNF1j-0006uh-UF for 74833 <at> debbugs.gnu.org; Mon, 16 Dec 2024 12:37:04 -0500 Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-aa6c0d1833eso763794466b.1 for <74833 <at> debbugs.gnu.org>; Mon, 16 Dec 2024 09:37:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734370563; x=1734975363; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=8auVn9lduezFCD/l4L9WfmBW2X0q3bWJu2gUBQpTBEg=; b=OIH8rENkpcULKZDKTJ5RVrUJi72l5R369y6YSOP+B/gbRqBH33FTxJU0UD08z8URvm j2bgqw+Se7AAycmoG5kJlRdSxmWiJrUFUGXoNCk8Ad3JWxq4BW/nKnMmIFP5O5jDQI4N 8uMJkrJZOMlqqx0/zHSx09yjRlsyBV26DWHb+yaapqHKOjOkwLiFKf9z9FwJ5CUOu1pU GZCxz8ENRNdIKr215hPtWkwtscwU506AfKslIx/Kkw7hGbMEAWDwdP64M46DHQfsnESM GA9F3ViMZeEs9/q4OGsdGAasVI5b1uT4/ItxusO/No9p1esFx9G6U0tRSxjPm4K7VM04 5Ylg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734370563; x=1734975363; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=8auVn9lduezFCD/l4L9WfmBW2X0q3bWJu2gUBQpTBEg=; b=XDDE1XSOu5BnBJAVJdvDbmvO0OFKLQsCbQGjGcAUzwxIMFKaLFKLQAsKf6d7SOygPN gfGN9STCUBwruEQN0GGSvQ5f3KWBknyOLnLPxyLZMzUl70zpeZG7gmqt73IFP0VKeLcN 862nllpwVAoclPUI9e2epeQLIZ/VEHAusIpT9p7t1pd6Zo6rT1xW++th+bG3vniu5eT3 MZOPI8TQBaHHcXymn0THOs6i1oYF4QeRa2n8wCHfa80pgdLddt39KM4KxyGw9wDA8Mvy uiNkP/n7Yt8KErx7pgb9YkJhPi90L81WKBTusEB9zb0Ot++gdT6U5AgbXD1JrLCvUwFG q4Ng== X-Forwarded-Encrypted: i=1; AJvYcCX/ppqDZhOq6gZOYtiGYEvgRBd/hucUBLNT6+mn5mejrwXosaNPPtz4COMOk0LC8aAzIkpbLw==@debbugs.gnu.org X-Gm-Message-State: AOJu0YxGE7SS4l7YqYZvGNMi1lMyVYs4L/fvvgW9WMnJfHNfCbUVvo4n SeCJjc0VWQpGdmwd/c3MkDim0Rn1DhHf6A0mY2b6scJGdXduOkekmJ9nHg== X-Gm-Gg: ASbGncv/CggLNkUp0OtA7qcHuX8UDVA9i5KWf9SW9o3KAvauAGdRzCeG8UdUDHbWxr4 QK0qHdH4idc08LtXu2Vgd3DNU5yCw4vybm+/WPHLdhOyNqWd88L7/cZXDiS/Pk940bz5J4dR7In CXO9F5h+krttR9a/JfiK79qikdrZ9xh+ZzLKTUbis5rbwD76XmjPBp2v59kglvrTzHxgMhW91cZ cg5LItcUBptOEtvRW+ZhB7ThupotVj1rpaSdmdxF1sEPGE1rKu6GTyBbfKyHjhx8WbRA8Mtuw8G 8SwY3hkQ6Mc1obelPYR4oN7Px45TkwOB3Zs650eRZoCGIeO+g1iDvIKbfVRATVrg X-Google-Smtp-Source: AGHT+IEPXOm57LsFGNDMEBrpqee1zrDr4diZMjBQBwRGea6q57CNTeAINp3ry9MTi27ImTlXQFA4/Q== X-Received: by 2002:a17:907:7250:b0:aa6:63e2:535c with SMTP id a640c23a62f3a-aabdb3bf4eemr51858366b.28.1734370562358; Mon, 16 Dec 2024 09:36:02 -0800 (PST) Received: from pro2 (p200300e0b72b6c00b173035138bbc769.dip0.t-ipconnect.de. [2003:e0:b72b:6c00:b173:351:38bb:c769]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aab963598c2sm351739466b.96.2024.12.16.09.36.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Dec 2024 09:36:01 -0800 (PST) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled In-Reply-To: <86ttb3pos2.fsf@HIDDEN> (Eli Zaretskii's message of "Mon, 16 Dec 2024 18:37:33 +0200") References: <f60142c9c903bf4e29776c6ede21f7d0@HIDDEN> <m2msgwfg8c.fsf@HIDDEN> <535228fe493971e918ee22faeb58c433@HIDDEN> <86ttb3pos2.fsf@HIDDEN> Date: Mon, 16 Dec 2024 18:36:01 +0100 Message-ID: <m2frmnfs3i.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 74833 Cc: fgunbin@HIDDEN, 74833 <at> debbugs.gnu.org, Jared Finder <jared@HIDDEN>, shipmints@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eli Zaretskii <eliz@HIDDEN> writes: >> Date: Sun, 15 Dec 2024 21:16:16 -0800 >> From: Jared Finder <jared@HIDDEN> >> Cc: Eli Zaretskii <eliz@HIDDEN>, Filipp Gunbin <fgunbin@HIDDEN>, >> 74833 <at> debbugs.gnu.org, shipmints@HIDDEN >>=20 >> On 2024-12-15 19:40, Gerd M=C3=B6llmann wrote: >> > Jared Finder <jared@HIDDEN> writes: >> >=20 >> >> What about adding a workaround that uses the command line tool pbcopy >> >> (Mac version of xclip)? The pbcopy program is distributed with MacOS >> >> by default. >> >=20 >> > The Elpa package xclip uses that. >> >=20 >> > ;; This package allows Emacs to copy to and paste from the GUI=20 >> > clipboard >> > ;; when running in text terminal. >> > ;; >> > ;; It can use external command-line tools for that, which you may=20 >> > need >> > ;; to install in order for the package to work. >>=20 >> Thanks. I just tested xclip-mode from Elpa and it indeed works to get=20 >> copy operations work with Terminal.app. I think the best path forward=20 >> would be to just mention this package in the NEWS update as a workaround= =20 >> for folks using Terminal.app. We could also recommend using iTerm2 as a= =20 >> GPL'd alternative that properly supports copy. (Paste works fine because= =20 >> Terminal.app supports xterm bracketed pastes.) >>=20 >> Eli, does this sound good to you? > > It does (I think it should also be in PROBLEMS), but I wonder whether > we should disable xterm-mouse on Terminal.app (assuming we can detect > it). It sounds like more people could bump into this tricky issue, > and relying on all of them read NEWS is too optimistic. > > What are the downsides of turning this off for Terminal.app? That's > what Emacs before 31 had, so it cannot be too bad. In my last reply to the OP I wrote=20 Mouse support by default is an important feature, IMO. It makes the menu bar usable, or in a future Emacs containing tty child frames tooltips can be shown. Not to mention setting point and what else. What's the positive effect of turning mouse support off by default? Command-C works for users who haven't set up terminal Emacs well enough that they could use M-w, plus in addition don't know Terminal.app well enough to know about Command-R or Fn + mouse.
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 16 Dec 2024 17:31:38 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 16 12:31:38 2024 Received: from localhost ([127.0.0.1]:55921 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tNEwS-0006aT-RV for submit <at> debbugs.gnu.org; Mon, 16 Dec 2024 12:31:37 -0500 Received: from mail-ej1-f54.google.com ([209.85.218.54]:48271) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1tNEwP-0006aI-7R for 74833 <at> debbugs.gnu.org; Mon, 16 Dec 2024 12:31:34 -0500 Received: by mail-ej1-f54.google.com with SMTP id a640c23a62f3a-aa66ead88b3so792451266b.0 for <74833 <at> debbugs.gnu.org>; Mon, 16 Dec 2024 09:31:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734370232; x=1734975032; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=z7YMfZv6tSXE/iHWBdHjkLjC6cJPzDLA9+Wxqjf03PM=; b=et3JH3YEKrJp5Ibz+lLsoK7NcL+FLYIsgM8l92liIJW0EuaBs8vzC+5JfAx5TlwH3P Q4DIo8oCOV4GE/LaGgYEIaZavyyXv+3TOvKA0zptLh0Ob9MdnfBsAVloBbOX3rHGGOys 1l0ZZC3Liqvdw9nJNhpQw8qL573QpKlSDnfG2J4fIxPHJppRbnqSaecRXHDlAAjk4pFa k7Pl+JnKCRnugLshHwxuwO0dMzfAu6U3iIDAdAfNJBCdoPmaIxHED2qAT7mkxdfWfZfX JC3SbRTbcuZlBtVRoaCknxLAjjFjuj6kfbb3mi0QOt+MO7h9aOr5sRURAOItKaTR2yJH DOtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734370232; x=1734975032; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=z7YMfZv6tSXE/iHWBdHjkLjC6cJPzDLA9+Wxqjf03PM=; b=J1UGGnV9oYzIkcSVsANpbMyIrSRM5q3DBLVn8kvA8UmhVjShtHEMsKpuruSnNi5axe /wJNQPfdw8bjLqnjAgOvfnJjCN266sVUVEppbng3YJOrLrcOitKC+fzqR9f28eAEkv1b 7ZXX3g2p3RS8JDJ3nYcIFk/CNkfSQGodhjYELtT3EPvnp36sONGSv6fruXctYLXUJFx1 cqsL6RGsW+RTMK0GK+PhZe056f0T5PXtPxPXrm9CSlj/MWa1RGIai/qxBZLZEnm8xPXV yJBu3bLMCMabZfVZLkl7rn7oOhIJ2M43YkVnLvqI64myazB7Gu5aFxr0VblsmtRMCnCh 2lvQ== X-Forwarded-Encrypted: i=1; AJvYcCVhrp19aUrQxCKvVP6+pfcdwgKaI1/kI+Kz+Os4+bQ9rqlzbpmzMM2nWU8fFT4GoJUiCcn0wg==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yzqx1t3oc5sHg1hj9a8UOXug5AbB9Y4pKiZ+ZYZRfiITr2/Q943 UpazcHN6TChA33Szogm7WvvIOnePdZUwHTKqx6GCFNHrgSuvg+12 X-Gm-Gg: ASbGnct8T06J3S2wGrhnOBG6SS6wBp4u13jx6jU9IIZ0IVmnNZqfwE31RfFbxFoQUvS SnxIwyRBsvq7NBu49VJztwJ1xkErhTo0W2V5JZlGmcH3vGWd4qCu+G1qEqF/TsxsZHTcf0wUVbG BFSME1f78XR79+pIio1b3NlI5Wyh8H+fPcWZv6R8UE8ZbleX64P3dIKrUWiKIXyU+fcTiYbtHcd 2PyrxU8QMWZvHbILcCovBUak8uYN1b5uezQFNRZjfO/lqoej11iy9uUCZdr+d0WXn1QwzoX6Smm p+wfWZL0+U+WcA/Wp7eGLMD9F3GXoFDEYb6pL1rzOBgGWs7YzEGJj3i/s//e40m1 X-Google-Smtp-Source: AGHT+IG2hD4zElkmYq4Rg61vUJf7BaesWzJgLOrErFuBmpH/cdKDX+opXHh1xX5QH/q5/JN6y2lHVQ== X-Received: by 2002:a17:906:6a1a:b0:aa6:834b:d136 with SMTP id a640c23a62f3a-aab779b3411mr1411881566b.33.1734370232099; Mon, 16 Dec 2024 09:30:32 -0800 (PST) Received: from pro2 (p200300e0b72b6c00b173035138bbc769.dip0.t-ipconnect.de. [2003:e0:b72b:6c00:b173:351:38bb:c769]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aab963594c9sm350699266b.112.2024.12.16.09.30.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Dec 2024 09:30:31 -0800 (PST) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> To: Filipp Gunbin <fgunbin@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled In-Reply-To: <m1pllrtwq1.fsf@HIDDEN> (Filipp Gunbin's message of "Mon, 16 Dec 2024 19:32:22 +0300") References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> <86y10jwmsb.fsf@HIDDEN> <m1msgznx20.fsf@HIDDEN> <86ldwiwvjc.fsf@HIDDEN> <m2ldwi8uvx.fsf@HIDDEN> <m1pllrtwq1.fsf@HIDDEN> Date: Mon, 16 Dec 2024 18:30:30 +0100 Message-ID: <m2jzbzfscp.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74833 Cc: Eli Zaretskii <eliz@HIDDEN>, Jared Finder <jared@HIDDEN>, 74833 <at> debbugs.gnu.org, shipmints@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Filipp Gunbin <fgunbin@HIDDEN> writes: >> Terminal.app's Command-C can only copy a selection that the app knows >> about. > > Not really - with xterm-mouse-mode disabled (and with "Allow mouse > reporting" ticked in Terminal.app menu), mouse selection in Terminal.app > is not related to Emacs selection, and copy / paste works. What I meant with my sentence is that the selection Emacs shows and the selection Terminal.app shows and uses are not related to each other. Maybe that's a cause of confusion, I don't know. > >> If the mouse is used by an app like Emacs (Terminal.app's >> Settings/Report ....)) the user tells Terminal to let the app use the mouse. >> I find it little surprising that when Terminal.app does that, it doesn't >> use the mouse itself to make a selection it could then copy. > > It does, although that's Terminal.app's "own" selection, not Emacs's. > >> Do Command-A Command-C and see what happens. >> >> Or use Command-R to toggle the mouse reporting setting on the fly. >> >> Or use xclip in Emacs. >> >> Please don't disable xterm-mouse for this. > > Again, it turns out that the new default leads to copy not working at > all, while with previous default you could make selection in > Terminal.app (it's not reflected in Emacs) and then copy. Paste works > in both cases. It still looks to me that the old default is better. If > you enable xterm-mouse-mode, then perhaps you should also use xclip, not > just the mode itself. Mouse support by default is an important feature, IMO. It makes the menu bar usable, or in a future Emacs containing tty child frames tooltips can be shown. Not to mention setting point and what else. What's the positive effect of turning mouse support off by default? Command-C works for users who haven't set up terminal Emacs well enough that they could use M-w, plus in addition don't know Terminal.app well enough to know about Command-R or Fn + mouse. I think it's best if we simply agree to disagree.
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 16 Dec 2024 16:49:22 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 16 11:49:22 2024 Received: from localhost ([127.0.0.1]:55770 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tNEHZ-0003xy-LC for submit <at> debbugs.gnu.org; Mon, 16 Dec 2024 11:49:22 -0500 Received: from mail-vk1-f178.google.com ([209.85.221.178]:53408) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>) id 1tNEHX-0003xS-Jc for 74833 <at> debbugs.gnu.org; Mon, 16 Dec 2024 11:49:20 -0500 Received: by mail-vk1-f178.google.com with SMTP id 71dfb90a1353d-51640f7bbd3so1090570e0c.2 for <74833 <at> debbugs.gnu.org>; Mon, 16 Dec 2024 08:49:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734367694; x=1734972494; 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=rbijqIfnVdIvZzGKEkJ8De2AuyHJ4hd4nycKTviaNqo=; b=KvBiehW9PVN3wjZ+6Xynx+lMLDoTbrdM70cMR0cpGGOli4L8SNlvtIkNsC3+h+WH/J 9gscKW6zzKBTVVmt0BXzUeMoh3clElK7fep4dRiKjpz2XY2b/3AA2b5JTy0B6XjniI0M niyRZyltIaDHNOm9hKmkW1pC+eVgP6VOmXrIps0vXK4SVDOP6CEPHIuGuIs1Ko3/WeQJ 0aIp07RMWSHGom6BlXUmoYfO/U34gyXzeTs2JZLP0AW6oYl/aItZLu2igh8FfEmnuZi/ nn/5Lh4c3GuYfAsW8tjoQzAsIeiXSY6Neo2KChEd5I5reUJTQayfBSUlk+FY555WLzYd eAtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734367694; x=1734972494; 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=rbijqIfnVdIvZzGKEkJ8De2AuyHJ4hd4nycKTviaNqo=; b=k5/mPuyyF43K4Yd/HhsBFNcOmdGz+d844qv4FD8l87SkGBbvrA+pSaRSSAN4udWdye eljqnMDyQS5nHb3zKz/SeM2vrERf+Ppl2BoFgruDSllSgswDZ/f255zQ75dE08g3oEIQ EUXmT7trdK1jJzrHow9zSmMnEqvty9lAes8qeJCYrjDNNwt8boHcDV4DC9d7duaXd8fs KHUIiZpMFFTs3arJScaaJ70i1gJ4xULQ9UI5gf642+Ed0sEEfSz3vDq80vfm5kX3Ly9K 8oh+c8vD4naCifAtMi88UEjvgLS/rksAQgDgBbQkvYqO9dE4qOKZHS8ycx9xaPNTK7mY IX2A== X-Forwarded-Encrypted: i=1; AJvYcCUtJchtP/qbSzrFYNAiYaOfmyxvLP8feMzOe+aMWd8UTZzHIBx+QQZE9oiwySwS64Af88fDYw==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yx0mAhpDJAtlsOATMhAo44SFapojiIIkKuUY/NjSMUrHllU3Hdy gNSYkZW+bt+z2a0nzcCOuMbGhKTgqoX5P99kv540qqf+rWAaZgSUqGsTDXvtMmOeVmrbiaZmqFM 66brnHBdeqe5yyDwqb2tgwTz5QVM= X-Gm-Gg: ASbGncuYYpdMGFJGuNpMDT/KDtdrCcWf/ZmK+A+wMZ3BCEMAaYzlRiMkV1HO/6tNucb eAZCamePZaNSRX5FRaP6xyB/SOHR0sFnv6SPWbQ== X-Google-Smtp-Source: AGHT+IEBd8e6dbbjITu1aq8rFLA6N49Hp+XZQzjd9+YB5gCB+avElbAbUp+Tw1MtXMEXE5KMF99Cu3LnUpJcT9OLbIA= X-Received: by 2002:a05:6122:8c27:b0:516:157c:a72e with SMTP id 71dfb90a1353d-518ca2172femr12619462e0c.3.1734367694189; Mon, 16 Dec 2024 08:48:14 -0800 (PST) MIME-Version: 1.0 References: <f60142c9c903bf4e29776c6ede21f7d0@HIDDEN> <m2msgwfg8c.fsf@HIDDEN> <535228fe493971e918ee22faeb58c433@HIDDEN> <86ttb3pos2.fsf@HIDDEN> In-Reply-To: <86ttb3pos2.fsf@HIDDEN> From: Ship Mints <shipmints@HIDDEN> Date: Mon, 16 Dec 2024 11:47:27 -0500 Message-ID: <CAN+1Hbq8-N2AERkFTp8kQAe8U1kT8NC+hFhn3C6-OOoDOV2yRw@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled To: Eli Zaretskii <eliz@HIDDEN> Content-Type: multipart/alternative; boundary="000000000000527aa6062965f29a" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74833 Cc: gerd.moellmann@HIDDEN, fgunbin@HIDDEN, 74833 <at> debbugs.gnu.org, Jared Finder <jared@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --000000000000527aa6062965f29a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I use xterm-mouse under Terminal.app just fine as I rely only on Emacs pasteboard integration via xclip. (I use clipetty when terminals support osc52--there's no easy programmatic test for that which I'm aware of so I set that up "by hand.") I don't think it is a good idea to blanket disable xterm-mouse for macOS users. FWIW, one can detect it via getenv "TERM_PROGRAM" when set to "Apple_Termin= al". I'd suggest this is an exercise for the user. In my configuration, I have various things I configure based on if macOS and the terminal program; one being Apple's Terminal.app, another being WezTerm, etc. On Mon, Dec 16, 2024 at 11:37=E2=80=AFAM Eli Zaretskii <eliz@HIDDEN> wrote= : > > Date: Sun, 15 Dec 2024 21:16:16 -0800 > > From: Jared Finder <jared@HIDDEN> > > Cc: Eli Zaretskii <eliz@HIDDEN>, Filipp Gunbin <fgunbin@HIDDEN>, > > 74833 <at> debbugs.gnu.org, shipmints@HIDDEN > > > > On 2024-12-15 19:40, Gerd M=C3=B6llmann wrote: > > > Jared Finder <jared@HIDDEN> writes: > > > > > >> What about adding a workaround that uses the command line tool pbcop= y > > >> (Mac version of xclip)? The pbcopy program is distributed with MacOS > > >> by default. > > > > > > The Elpa package xclip uses that. > > > > > > ;; This package allows Emacs to copy to and paste from the GUI > > > clipboard > > > ;; when running in text terminal. > > > ;; > > > ;; It can use external command-line tools for that, which you may > > > need > > > ;; to install in order for the package to work. > > > > Thanks. I just tested xclip-mode from Elpa and it indeed works to get > > copy operations work with Terminal.app. I think the best path forward > > would be to just mention this package in the NEWS update as a workaroun= d > > for folks using Terminal.app. We could also recommend using iTerm2 as a > > GPL'd alternative that properly supports copy. (Paste works fine becaus= e > > Terminal.app supports xterm bracketed pastes.) > > > > Eli, does this sound good to you? > > It does (I think it should also be in PROBLEMS), but I wonder whether > we should disable xterm-mouse on Terminal.app (assuming we can detect > it). It sounds like more people could bump into this tricky issue, > and relying on all of them read NEWS is too optimistic. > > What are the downsides of turning this off for Terminal.app? That's > what Emacs before 31 had, so it cannot be too bad. > --000000000000527aa6062965f29a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_default" style=3D""><font face=3D"mono= space">I use xterm-mouse under Terminal.app just fine as I rely only=C2=A0o= n=C2=A0Emacs pasteboard integration via xclip. (I use=C2=A0clipetty when te= rminals support osc52--there's no easy programmatic test for that which= I'm aware of so I set=C2=A0that up "by hand.") I don't t= hink it is a good idea to blanket=C2=A0disable xterm-mouse for macOS users.= </font></div><div class=3D"gmail_default" style=3D""><font face=3D"monospac= e"><br></font></div><div class=3D"gmail_default" style=3D""><font face=3D"m= onospace">FWIW, one can detect it via getenv "TERM_PROGRAM" when = set to=C2=A0</font><span style=3D"font-family:monospace">"Apple_Termin= al". I'd suggest this=C2=A0is an exercise for the user. In my conf= iguration, I have various things I configure based on if macOS and the term= inal program; one being Apple's Terminal.app, another being WezTerm, et= c.</span></div></div><br><div class=3D"gmail_quote gmail_quote_container"><= div dir=3D"ltr" class=3D"gmail_attr">On Mon, Dec 16, 2024 at 11:37=E2=80=AF= AM Eli Zaretskii <<a href=3D"mailto:eliz@HIDDEN">eliz@HIDDEN</a>> w= rote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0p= x 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> Date:= Sun, 15 Dec 2024 21:16:16 -0800<br> > From: Jared Finder <<a href=3D"mailto:jared@HIDDEN" target=3D"_= blank">jared@HIDDEN</a>><br> > Cc: Eli Zaretskii <<a href=3D"mailto:eliz@HIDDEN" target=3D"_blank= ">eliz@HIDDEN</a>>, Filipp Gunbin <<a href=3D"mailto:fgunbin@fastmai= l.fm" target=3D"_blank">fgunbin@HIDDEN</a>>,<br> >=C2=A0 <a href=3D"mailto:74833 <at> debbugs.gnu.org" target=3D"_blank">74833= @debbugs.gnu.org</a>, <a href=3D"mailto:shipmints@HIDDEN" target=3D"_bla= nk">shipmints@HIDDEN</a><br> > <br> > On 2024-12-15 19:40, Gerd M=C3=B6llmann wrote:<br> > > Jared Finder <<a href=3D"mailto:jared@HIDDEN" target=3D"_b= lank">jared@HIDDEN</a>> writes:<br> > > <br> > >> What about adding a workaround that uses the command line too= l pbcopy<br> > >> (Mac version of xclip)? The pbcopy program is distributed wit= h MacOS<br> > >> by default.<br> > > <br> > > The Elpa package xclip uses that.<br> > > <br> > >=C2=A0 =C2=A0;; This package allows Emacs to copy to and paste fro= m the GUI <br> > > clipboard<br> > >=C2=A0 =C2=A0;; when running in text terminal.<br> > >=C2=A0 =C2=A0;;<br> > >=C2=A0 =C2=A0;; It can use external command-line tools for that, w= hich you may <br> > > need<br> > >=C2=A0 =C2=A0;; to install in order for the package to work.<br> > <br> > Thanks. I just tested xclip-mode from Elpa and it indeed works to get = <br> > copy operations work with Terminal.app. I think the best path forward = <br> > would be to just mention this package in the NEWS update as a workarou= nd <br> > for folks using Terminal.app. We could also recommend using iTerm2 as = a <br> > GPL'd alternative that properly supports copy. (Paste works fine b= ecause <br> > Terminal.app supports xterm bracketed pastes.)<br> > <br> > Eli, does this sound good to you?<br> <br> It does (I think it should also be in PROBLEMS), but I wonder whether<br> we should disable xterm-mouse on Terminal.app (assuming we can detect<br> it).=C2=A0 It sounds like more people could bump into this tricky issue,<br= > and relying on all of them read NEWS is too optimistic.<br> <br> What are the downsides of turning this off for Terminal.app?=C2=A0 That'= ;s<br> what Emacs before 31 had, so it cannot be too bad.<br> </blockquote></div> --000000000000527aa6062965f29a--
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 16 Dec 2024 16:49:17 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 16 11:49:17 2024 Received: from localhost ([127.0.0.1]:55767 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tNEHV-0003xd-3w for submit <at> debbugs.gnu.org; Mon, 16 Dec 2024 11:49:17 -0500 Received: from fhigh-b7-smtp.messagingengine.com ([202.12.124.158]:35149) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <fgunbin@HIDDEN>) id 1tNEHR-0003xE-Ug for 74833 <at> debbugs.gnu.org; Mon, 16 Dec 2024 11:49:15 -0500 Received: from phl-compute-03.internal (phl-compute-03.phl.internal [10.202.2.43]) by mailfhigh.stl.internal (Postfix) with ESMTP id 35CCF2540113; Mon, 16 Dec 2024 11:49:07 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-03.internal (MEProxy); Mon, 16 Dec 2024 11:49:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1734367747; x=1734454147; bh=qWiuKf/Pn+vzBSG+LFnYYExHrKBtI1FMqGoK5CqCNZY=; b= mK8VdQlAqVvRoeB05BnZyStqociyZiHA49Lby398NAtUKQr82afI98Sf8x+YYBcs p0MPkTw0wqC12iwNTmIVYFIvsFltc+E6yTijm0FDtvEg1+q438Q/NOzMzB25u7n9 9LVr0bCRk9L2I+q1feb08r2/cXO8s9hmgN8LqgGGOJrLiQ9YllHORRWROxCO5WRE LbZuJrgMseo12havwpVU2ZKWuF27WVKTwFmFkjlBJSFlMPG6GH/pdDDeS5ETTA7T ci4Lcv/uU3LSRVbxDlCnjk3oiBH1WgVay064kiNyI6BpAOM4KLXnmvPk8raaMAvr eQvH4AjgQ2cCuzyzaWWi6g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1734367747; x= 1734454147; bh=qWiuKf/Pn+vzBSG+LFnYYExHrKBtI1FMqGoK5CqCNZY=; b=F /chYcjkxR57DdR9DI/csEQM4BdJU5Nuv/xG/shZjDglVE/5yChw9jT6Xh7L0O2QD wGU0kuidbhQMScfj1zFdpjAe35r28tjQA9KT8GAMa8jq0BH/KToA40oP1BUd/TuI zjeckZzGkj4wIb4bro0SdhFVohmGCw3+IrXVjHV/gpkdodZ40JpwDSTbfqxJZM34 zebsWiXdij42tjc3yVnRMpb5nVyQ91JEjs5BmA94RQSaOkXFXT2jM4nO/NsSy7de DvCb2HyCzsnmWqhzCdRitnOZjAwJfoAmP8ID7kH72fjLda6TuvXOdZbltSUfNbRe E3gA7+YutrMrFtJ7CbBVw== X-ME-Sender: <xms:AlpgZ4eH44mm8R-BcUKw1v9MowinieltixDVL5Aa1oCp_GYrBrrQ7w> <xme:AlpgZ6MaDmwLGNVCnVfh897_TfF4474Ay4M1SBzeH3zAYU3jgzFBNLuatwYyj6zys x7IzO5pBzb6Q7OL> X-ME-Received: <xmr:AlpgZ5ghlI3fWCOwVNZVOfcMMsu1xbP_npXibt_3Xue4KaQS68OsLPkxkE4WG_osONQiDH0> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrleefgdelfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnth hsucdlqddutddtmdenucfjughrpefhvfevufgjfhgffffkgggtgfesthhqredttderjeen ucfhrhhomhephfhilhhiphhpucfiuhhnsghinhcuoehfghhunhgsihhnsehfrghsthhmrg hilhdrfhhmqeenucggtffrrghtthgvrhhnpeefleefffetieetuedvtedtgfehgeevtefh ueevjeehjeelueeigfevtdeihfeugeenucevlhhushhtvghrufhiiigvpedtnecurfgrrh grmhepmhgrihhlfhhrohhmpehfghhunhgsihhnsehfrghsthhmrghilhdrfhhmpdhnsggp rhgtphhtthhopeehpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehshhhiphhmih hnthhssehgmhgrihhlrdgtohhmpdhrtghpthhtohepjeegkeeffeesuggvsggsuhhgshdr ghhnuhdrohhrghdprhgtphhtthhopegvlhhiiiesghhnuhdrohhrghdprhgtphhtthhope hgvghrugdrmhhovghllhhmrghnnhesghhmrghilhdrtghomhdprhgtphhtthhopehjrghr vggusehfihhnuggvrhdrohhrgh X-ME-Proxy: <xmx:AlpgZ99JRGu53ZlJ6UsfAI5veOaVZK5Zngef0PdDYdOLT2I7LFwWew> <xmx:AlpgZ0uSSb5XESuV_7e8f1WzpNfl6e2Y9Ts8Jcwz_CoVQ7oOdKSxow> <xmx:AlpgZ0FIzYa-roF5tqcx9nNVQtsdUYYU7hRbWtFliWKgNMVwG-cRCA> <xmx:AlpgZzO720DbtN6DspxYkcXGbgSuP1pjMPg4nd6Hmx_Ehvj2xWBU-Q> <xmx:A1pgZ-XEdu5shYIG5Ps-9jEdDKKBsAqFSIbldddo1EjtneGYXo7ATf9N> Feedback-ID: id48c41f1:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 16 Dec 2024 11:49:05 -0500 (EST) From: Filipp Gunbin <fgunbin@HIDDEN> To: Jared Finder <jared@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled In-Reply-To: <f60142c9c903bf4e29776c6ede21f7d0@HIDDEN> (Jared Finder's message of "Sun, 15 Dec 2024 17:41:01 -0800") References: <f60142c9c903bf4e29776c6ede21f7d0@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Date: Mon, 16 Dec 2024 19:49:03 +0300 Message-ID: <m1ldwftvy8.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 74833 Cc: Gerd =?utf-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, 74833 <at> debbugs.gnu.org, shipmints@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) On 15/12/2024 17:41 -0800, Jared Finder wrote: > On 2024-12-14 04:40, Gerd M=C3=B6llmann wrote: >> Eli Zaretskii <eliz@HIDDEN> writes: >>=20 >>>> From: Filipp Gunbin <fgunbin@HIDDEN> >>>> Cc: shipmints@HIDDEN, 74833 <at> debbugs.gnu.org >>>> Date: Fri, 13 Dec 2024 23:32:39 +0300 >>>> On 13/12/2024 18:49 +0200, Eli Zaretskii wrote: >>>> >> From: Filipp Gunbin <fgunbin@HIDDEN> >>>> >> Cc: Ship Mints <shipmints@HIDDEN>, 74833 <at> debbugs.gnu.org >>>> >> Date: Fri, 13 Dec 2024 19:35:15 +0300 >>>> >> >>>> >> On 13/12/2024 09:21 +0200, Eli Zaretskii wrote: >>>> >> >>>> >> > So why is this an Emacs bug? It sounds like the OP expects somet= hing >>>> >> > to happen which shouldn't, because the xterm protocol for selecti= ons >>>> >> > and the clipboard are not supported by Terminal.app? In that cas= e, >>>> >> > this could be at best a feature request, not a bug. >>>> >> >>>> >> I'll try to explain differently. >>>> >> >>>> >> Without xterm-mouse-mode you can copy/paste from/into Terminal.app >>>> >> window, looks like Terminal.app gives this ability on its own. Thi= s is >>>> >> not integration with Emacs kill ring, no. Emacs cursor does not re= act >>>> >> to mouse clicks, and selection happens with OS mouse pointer. Paste >>>> >> works rather slow (bad idea to paste large chunks of text), but >>>> >> tolerable. >>>> >> >>>> >> Now, yesterday my daily master build got me xterm-mouse-mode enable= d, so >>>> >> I did some testing just out of curiosity. Most of the things work, >>>> >> including clicking and selection. However, Command-C now just does= n't >>>> >> copy text to OS clipboard. And it's non-obvious that you should di= sable >>>> >> xterm-mouse-mode to be able to copy. >>>> > >>>> > xterm-mouse-mode is supposed to be enabled only on terminals that lo= ad >>>> > xterm.el, which means they are xterm-compatible. Does Terminal.app >>>> > load xterm.el on startup? >>>> Terminal.app sets TERM=3Dxterm-256color (this is configurable in >>>> "Settings >>>> -> Profiles -> Advanced -> Declare terminal as", I doubt I ever >>>> changed >>>> it), so xterm.el should be loaded, yes. >>>> Other term-related vars are: >>>> TERM_PROGRAM=3DApple_Terminal >>>> TERM_PROGRAM_VERSION=3D453 >>>> TERM_SESSION_ID=3D1251C872-8246-4380-A2AE-ED1F8B649878 >>> Then we should amend xterm.el to not allow xterm-mouse on this >>> terminal. Jared, could you please add such a condition? >>> And I think the Terminal.app developers should be told that >>> pretending >>> to be xterm without full support for all the xterm features is not >>> TRT, and they should stop. Would someone please file an issue with >>> their issue tracker? >> I still think that this is a cockpit error. > > I agree. While in Emacs, with Emacs managing the selection, one should > expect to use Emacs commands to manage the clipboard like C-w and > M-w. Sadly, Terminal.app does not support OSC52 therefore the > clipboard is shared only within Emacs. Terminal.app provides fn+mouse > drag to select things that Command-C notices as well as Command-R to > disable mouse reporting already for exactly this reason. I didn't know about fn + mouse drag, thanks! > However, I'm sensitive that someone using Terminal.app is just using > the MacOS default configuration for terminal and will think Emacs is > broken here. Terminal.app is MacOS's default terminal emulator after > all. That's my point, yes. > Other popular MacOS terminal emulators like iTerm2 work fine > because they support OSC52 (copy protocol). > > What about adding a workaround that uses the command line tool pbcopy > (Mac version of xclip)? The pbcopy program is distributed with MacOS > by default. This won't work over SSH, but at that point I don't think > there's anything that can be done. TERM_PROGRAM isn't sent to the > server by default. Having thing like that in Emacs, without a need for installing a package, would be best from my POV. > I also think I could make the news entry more detailed. > > > Paste works just fine in MacOS under Terminal.app for me. For me too.
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 16 Dec 2024 16:37:47 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 16 11:37:46 2024 Received: from localhost ([127.0.0.1]:55740 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tNE6M-0003M2-Cx for submit <at> debbugs.gnu.org; Mon, 16 Dec 2024 11:37:46 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36774) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tNE6J-0003Lk-JU for 74833 <at> debbugs.gnu.org; Mon, 16 Dec 2024 11:37:44 -0500 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@HIDDEN>) id 1tNE6D-00020f-DX; Mon, 16 Dec 2024 11:37:37 -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=AIa7mk41eNe+cQSirEQ9/qgHjqf+ILNtR9GggRc3gAc=; b=PhtpFZqqio4DBP9TLFyA LKZffkXo972LPOmYlchuU22F6iirHY7UdwHWDXmQlImFVeSHiMB3Mo3J19t7O7FlPvalxsd0YWzri f69TUjShKfHaXMIG0WD6Jix6K4svjyw9dDtVYRkKiY1x/bOe3SObBvqE/TbfmRfvGbCXLdF7rnCu5 HJ1f3AzwIzm0+yuusDX5TbDtnmFNbpvrEiAI3hgUSRSyjN1/DBtG5vacpOUCB5AJtdvlBqGfFhkLh fujOQj5YEvWmf+ZdeIiQzlyISNvq3p5gfxVLUiYvy27Twqm+S52VSxPxsDmMhcYHfye604vS2ZN43 /jLEJNQ4PVvvAA==; Date: Mon, 16 Dec 2024 18:37:33 +0200 Message-Id: <86ttb3pos2.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Jared Finder <jared@HIDDEN> In-Reply-To: <535228fe493971e918ee22faeb58c433@HIDDEN> (message from Jared Finder on Sun, 15 Dec 2024 21:16:16 -0800) Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled References: <f60142c9c903bf4e29776c6ede21f7d0@HIDDEN> <m2msgwfg8c.fsf@HIDDEN> <535228fe493971e918ee22faeb58c433@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74833 Cc: gerd.moellmann@HIDDEN, 74833 <at> debbugs.gnu.org, fgunbin@HIDDEN, shipmints@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Date: Sun, 15 Dec 2024 21:16:16 -0800 > From: Jared Finder <jared@HIDDEN> > Cc: Eli Zaretskii <eliz@HIDDEN>, Filipp Gunbin <fgunbin@HIDDEN>, > 74833 <at> debbugs.gnu.org, shipmints@HIDDEN > > On 2024-12-15 19:40, Gerd Möllmann wrote: > > Jared Finder <jared@HIDDEN> writes: > > > >> What about adding a workaround that uses the command line tool pbcopy > >> (Mac version of xclip)? The pbcopy program is distributed with MacOS > >> by default. > > > > The Elpa package xclip uses that. > > > > ;; This package allows Emacs to copy to and paste from the GUI > > clipboard > > ;; when running in text terminal. > > ;; > > ;; It can use external command-line tools for that, which you may > > need > > ;; to install in order for the package to work. > > Thanks. I just tested xclip-mode from Elpa and it indeed works to get > copy operations work with Terminal.app. I think the best path forward > would be to just mention this package in the NEWS update as a workaround > for folks using Terminal.app. We could also recommend using iTerm2 as a > GPL'd alternative that properly supports copy. (Paste works fine because > Terminal.app supports xterm bracketed pastes.) > > Eli, does this sound good to you? It does (I think it should also be in PROBLEMS), but I wonder whether we should disable xterm-mouse on Terminal.app (assuming we can detect it). It sounds like more people could bump into this tricky issue, and relying on all of them read NEWS is too optimistic. What are the downsides of turning this off for Terminal.app? That's what Emacs before 31 had, so it cannot be too bad.
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 16 Dec 2024 16:32:38 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 16 11:32:38 2024 Received: from localhost ([127.0.0.1]:55732 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tNE1N-00036C-EQ for submit <at> debbugs.gnu.org; Mon, 16 Dec 2024 11:32:37 -0500 Received: from fhigh-b7-smtp.messagingengine.com ([202.12.124.158]:47009) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <fgunbin@HIDDEN>) id 1tNE1L-00035n-JV for 74833 <at> debbugs.gnu.org; Mon, 16 Dec 2024 11:32:37 -0500 Received: from phl-compute-06.internal (phl-compute-06.phl.internal [10.202.2.46]) by mailfhigh.stl.internal (Postfix) with ESMTP id 488CD254011C; Mon, 16 Dec 2024 11:32:30 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-06.internal (MEProxy); Mon, 16 Dec 2024 11:32:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1734366750; x=1734453150; bh=RVHbFVEyut8rLyzT0WLlXn4ykkU6SykHa8aW9S27fp8=; b= Pj1BoT/x9SdatAmET5Hlo0H8KakME9Iq5dlyiuQXUQfvo+VppvFRSLGtKsxFFOj8 3+VPJ3uCswZ1f+FauajXFNz5yUNUE82ghzsN9Z+7Xdm5XDe3vPS6MmVTff+n7KvY UTeeu4rV5wtGTXKQUx7gfvxoZBh/WZ+lVPzwfQxWgIpoUaDmuz+Iz9yS0B/4HSh3 Mzi7GLAs4+gzMZ7Sl0vdvoScIOlpw9itdMf6a1Tn4d4IVr2i9xrrf2l8msvY1CCO jjBqyXGTksfQjmcS2nDf9f6Q68tKVjWsPFlaVvXXkSQ/6GLH4qnx7pkiSv3t0MUA UxxN7gMYRanCKkWEXLlbxg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1734366750; x= 1734453150; bh=RVHbFVEyut8rLyzT0WLlXn4ykkU6SykHa8aW9S27fp8=; b=m +RzNRc9ZJh2oQVp8Sicxj6md9KeyXuYOJO2hfPGtogM4NYVk2aRVCJ8xLDe7wD1h hp0RWBrQBqe+7g1Y7rT8WJhSmdwQr3sZbUwg45BA0YT3bVyM3z6j+XRyhCcaolzO oSsZkoYw2GtAQVxG97NAaIxMVyQOU1FXzFzpPQuxtEr7Se5ZB1m5PB0oF3xcVEau aLwttj96ptO9yVrwA2Dww4nCRV1hNbeVSMqnuIhBzTWjF7vcacgjuZPjE4ixSJf2 32K8/qQwu1mt2yGe/ZD+yszjfySn0826MDmHABNyMrSKxVsDsSk3ziWYqnPngdmM xoiGLHYP6XB6YVS8QgChQ== X-ME-Sender: <xms:HVZgZ0qlCmq5G1vniMcrbym54SsFya0_BnjoTYUOpLxiFM-sO3QIyA> <xme:HVZgZ6r4NosN4eQJx1MN2hPYyfkxeCIIPqCJjB-Q5xoNAXjNdSBChb4p_3c4JAHHP 3JvqbS6i_M9pYJ4> X-ME-Received: <xmr:HVZgZ5P06ElY6BbFqFfCQXtQxr3QNZ5FxuFdKNLMVj1r51mK5sLS3dgWqnvpiUzkC-fqgRM> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrleefgdeklecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnth hsucdlqddutddtmdenucfjughrpefhvfevufgjfhgffffkgggtgfesthhqredttderjeen ucfhrhhomhephfhilhhiphhpucfiuhhnsghinhcuoehfghhunhgsihhnsehfrghsthhmrg hilhdrfhhmqeenucggtffrrghtthgvrhhnpeefleefffetieetuedvtedtgfehgeevtefh ueevjeehjeelueeigfevtdeihfeugeenucevlhhushhtvghrufhiiigvpedtnecurfgrrh grmhepmhgrihhlfhhrohhmpehfghhunhgsihhnsehfrghsthhmrghilhdrfhhmpdhnsggp rhgtphhtthhopeehpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehshhhiphhmih hnthhssehgmhgrihhlrdgtohhmpdhrtghpthhtohepjeegkeeffeesuggvsggsuhhgshdr ghhnuhdrohhrghdprhgtphhtthhopehjrghrvggusehfihhnuggvrhdrohhrghdprhgtph htthhopegvlhhiiiesghhnuhdrohhrghdprhgtphhtthhopehgvghrugdrmhhovghllhhm rghnnhesghhmrghilhdrtghomh X-ME-Proxy: <xmx:HVZgZ76gU_rjE7PwST9ugVFssttK6fqIFIwq5LQAAKFTP_a4Lmw38A> <xmx:HVZgZz7pcefhLMjaMTD_4b_aO0q7KU4zlM6yCODc7invDHmesf8FyQ> <xmx:HVZgZ7ifHC0J-l9MoAKUSqA4UayEnX3SNfMyuJbsy5a3roZQNPyODQ> <xmx:HVZgZ97i7Cy_vxZP62lFvtq4G4U5pXol8T8OH5oxg1QDkj5iQjpoLQ> <xmx:HlZgZ5SVw4_C3Y16hMivneKGvIo1ZL86mHdajbxORhAJI_OhH6xIKCPY> Feedback-ID: id48c41f1:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 16 Dec 2024 11:32:26 -0500 (EST) From: Filipp Gunbin <fgunbin@HIDDEN> To: Gerd =?utf-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled In-Reply-To: <m2ldwi8uvx.fsf@HIDDEN> ("Gerd =?utf-8?Q?M=C3=B6llmann=22'?= =?utf-8?Q?s?= message of "Sat, 14 Dec 2024 10:40:50 +0100") References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> <86y10jwmsb.fsf@HIDDEN> <m1msgznx20.fsf@HIDDEN> <86ldwiwvjc.fsf@HIDDEN> <m2ldwi8uvx.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Date: Mon, 16 Dec 2024 19:32:22 +0300 Message-ID: <m1pllrtwq1.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 74833 Cc: Eli Zaretskii <eliz@HIDDEN>, Jared Finder <jared@HIDDEN>, 74833 <at> debbugs.gnu.org, shipmints@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) On 14/12/2024 10:40 +0100, Gerd M=C3=B6llmann wrote: > Eli Zaretskii <eliz@HIDDEN> writes: > >>> From: Filipp Gunbin <fgunbin@HIDDEN> >>> Cc: shipmints@HIDDEN, 74833 <at> debbugs.gnu.org >>> Date: Fri, 13 Dec 2024 23:32:39 +0300 >>>=20 >>> On 13/12/2024 18:49 +0200, Eli Zaretskii wrote: >>>=20 >>> >> From: Filipp Gunbin <fgunbin@HIDDEN> >>> >> Cc: Ship Mints <shipmints@HIDDEN>, 74833 <at> debbugs.gnu.org >>> >> Date: Fri, 13 Dec 2024 19:35:15 +0300 >>> >> >>> >> On 13/12/2024 09:21 +0200, Eli Zaretskii wrote: >>> >> >>> >> > So why is this an Emacs bug? It sounds like the OP expects someth= ing >>> >> > to happen which shouldn't, because the xterm protocol for selectio= ns >>> >> > and the clipboard are not supported by Terminal.app? In that case, >>> >> > this could be at best a feature request, not a bug. >>> >> >>> >> I'll try to explain differently. >>> >> >>> >> Without xterm-mouse-mode you can copy/paste from/into Terminal.app >>> >> window, looks like Terminal.app gives this ability on its own. This= is >>> >> not integration with Emacs kill ring, no. Emacs cursor does not rea= ct >>> >> to mouse clicks, and selection happens with OS mouse pointer. Paste >>> >> works rather slow (bad idea to paste large chunks of text), but >>> >> tolerable. >>> >> >>> >> Now, yesterday my daily master build got me xterm-mouse-mode enabled= , so >>> >> I did some testing just out of curiosity. Most of the things work, >>> >> including clicking and selection. However, Command-C now just doesn= 't >>> >> copy text to OS clipboard. And it's non-obvious that you should dis= able >>> >> xterm-mouse-mode to be able to copy. >>> > >>> > xterm-mouse-mode is supposed to be enabled only on terminals that load >>> > xterm.el, which means they are xterm-compatible. Does Terminal.app >>> > load xterm.el on startup? >>>=20 >>> Terminal.app sets TERM=3Dxterm-256color (this is configurable in "Setti= ngs >>> -> Profiles -> Advanced -> Declare terminal as", I doubt I ever changed >>> it), so xterm.el should be loaded, yes. >>>=20 >>> Other term-related vars are: >>>=20 >>> TERM_PROGRAM=3DApple_Terminal >>> TERM_PROGRAM_VERSION=3D453 >>> TERM_SESSION_ID=3D1251C872-8246-4380-A2AE-ED1F8B649878 >> >> Then we should amend xterm.el to not allow xterm-mouse on this >> terminal. Jared, could you please add such a condition? >> >> And I think the Terminal.app developers should be told that pretending >> to be xterm without full support for all the xterm features is not >> TRT, and they should stop. Would someone please file an issue with >> their issue tracker? > > I still think that this is a cockpit error. > > Terminal.app's Command-C can only copy a selection that the app knows > about. Not really - with xterm-mouse-mode disabled (and with "Allow mouse reporting" ticked in Terminal.app menu), mouse selection in Terminal.app is not related to Emacs selection, and copy / paste works. > If the mouse is used by an app like Emacs (Terminal.app's > Settings/Report ....)) the user tells Terminal to let the app use the mou= se. > I find it little surprising that when Terminal.app does that, it doesn't > use the mouse itself to make a selection it could then copy. It does, although that's Terminal.app's "own" selection, not Emacs's. > Do Command-A Command-C and see what happens. > > Or use Command-R to toggle the mouse reporting setting on the fly. > > Or use xclip in Emacs. > > Please don't disable xterm-mouse for this. Again, it turns out that the new default leads to copy not working at all, while with previous default you could make selection in Terminal.app (it's not reflected in Emacs) and then copy. Paste works in both cases. It still looks to me that the old default is better. If you enable xterm-mouse-mode, then perhaps you should also use xclip, not just the mode itself.
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 16 Dec 2024 16:31:10 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 16 11:31:10 2024 Received: from localhost ([127.0.0.1]:55726 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tNDzx-000336-QU for submit <at> debbugs.gnu.org; Mon, 16 Dec 2024 11:31:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41234) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tNDzv-00032p-K3 for 74833 <at> debbugs.gnu.org; Mon, 16 Dec 2024 11:31:08 -0500 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@HIDDEN>) id 1tNDzp-0001Ej-PG; Mon, 16 Dec 2024 11:31:01 -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=142n+h/PIc9Yy871fu8QZxnMmNgdanOiTp6TWZA0gPc=; b=EeYCRAxLY6lONvgIOATk q7aIQHiiihCMYkd9m7ly4s2uo0iQCsA5S1pgwfMGaBQQAoLH6QQyuDKJ+/dTFKvgm3dE9dbtaN+a9 RxexRQSmeXVj5VLLM0OGXD41Txl08I1edyoHdwb2JotsBrUNTS76RkIlbFtTk5d/ZDj4bq3kuYhIa R+PfwZyKMRU9XWDpDsa4Ab3wtLM3txzotq8w/+Z5zlyUVbhEqnxf5JzwacxDES0wdR/UIoeMhPtCr YQzAnnxH4GT4LNU9jBRY+DraTcUEGKMEXYLhBRKSsK09F0jhw2SUdokSxVH4gHEKLhrANPBUFiaLR tP1GiHf0n61xDg==; Date: Mon, 16 Dec 2024 18:30:53 +0200 Message-Id: <86v7vjpp36.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Gerd =?iso-8859-1?Q?M=F6llmann?= <gerd.moellmann@HIDDEN> In-Reply-To: <m2msgwfg8c.fsf@HIDDEN> (message from Gerd =?iso-8859-1?Q?M=F6llmann?= on Mon, 16 Dec 2024 04:40:03 +0100) Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled References: <f60142c9c903bf4e29776c6ede21f7d0@HIDDEN> <m2msgwfg8c.fsf@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74833 Cc: fgunbin@HIDDEN, 74833 <at> debbugs.gnu.org, jared@HIDDEN, shipmints@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Gerd Möllmann <gerd.moellmann@HIDDEN> > Cc: Eli Zaretskii <eliz@HIDDEN>, Filipp Gunbin <fgunbin@HIDDEN>, > 74833 <at> debbugs.gnu.org, shipmints@HIDDEN > Date: Mon, 16 Dec 2024 04:40:03 +0100 > > Jared Finder <jared@HIDDEN> writes: > > > What about adding a workaround that uses the command line tool pbcopy > > (Mac version of xclip)? The pbcopy program is distributed with MacOS > > by default. > > The Elpa package xclip uses that. > > ;; This package allows Emacs to copy to and paste from the GUI clipboard > ;; when running in text terminal. > ;; > ;; It can use external command-line tools for that, which you may need > ;; to install in order for the package to work. > ;; More specifically, it can use the following tools: > ;; - Under X11: `xclip' or `xsel' (https://xclip.sourceforge.net and > ;; https://www.vergenet.net/~conrad/software/xsel/ respectively). > ;; - MacOS: `pbpaste/pbcopy' > ;; - Cygwin: `getclip/putclip' > ;; - Under Wayland: `wl-clipboard' (https://github.com/bugaevc/wl-clipboard) > ;; - Termux: `termux-clipboard-get/set' > ;; - Emacs: It can also use Emacs's built-in GUI support to talk to the GUI. > ;; This requires an Emacs built with GUI support. > ;; It uses `make-frame-on-display' which has been tested to work under X11, > ;; but it's not known whether it works under MacOS or Windows. It is not needed on Windows (at least the latest versions of it).
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 16 Dec 2024 05:16:27 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 16 00:16:27 2024 Received: from localhost ([127.0.0.1]:53074 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tN3T0-0001TB-RT for submit <at> debbugs.gnu.org; Mon, 16 Dec 2024 00:16:27 -0500 Received: from greenhill.hpalace.com ([192.155.80.58]:46504) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jared@HIDDEN>) id 1tN3Su-0001Sw-5w for 74833 <at> debbugs.gnu.org; Mon, 16 Dec 2024 00:16:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=finder.org; s=2018; t=1734326177; bh=4c6F9DWV+WfkECvC6OojvGovl8rnCzgu6ESpBukSLUk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=LrTT/N5PzdvK+DcxanShAUnj4V/8BpVTHLO3p8uZsLy98FaArnWFRREYk93mypGG7 zSL7dWUVPOr7T58KuZfE6wwGx80XP89CEPzEPFoM2iLnBmU1AV2epsdMQ7Io84wdK0 GMn55ZsyhewlZwX/RCwzehAjL9FfXdjoAN49WpdS+sOS8Hla8b6wsGTokTkX4zUj9v G3Uoz4RCw/XPSviP4lU80AlZNx39QqByfODTi45g2i0QotLB6g2eV3pA7fGPuYFPqb 3UuHesjvPmDphix7eBRJ3gV42rm3nqwRT/QxdyVElung6diii4gkH2bu3/qPokAg0p UlGQVfnbGuabw== Received: from mail.finder.org (unknown [192.155.80.58]) by greenhill.hpalace.com (Postfix) with ESMTPSA id 300A060A; Mon, 16 Dec 2024 05:16:17 +0000 (UTC) MIME-Version: 1.0 Date: Sun, 15 Dec 2024 21:16:16 -0800 From: Jared Finder <jared@HIDDEN> To: =?UTF-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled In-Reply-To: <m2msgwfg8c.fsf@HIDDEN> References: <f60142c9c903bf4e29776c6ede21f7d0@HIDDEN> <m2msgwfg8c.fsf@HIDDEN> Message-ID: <535228fe493971e918ee22faeb58c433@HIDDEN> X-Sender: jared@HIDDEN Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74833 Cc: Eli Zaretskii <eliz@HIDDEN>, Filipp Gunbin <fgunbin@HIDDEN>, 74833 <at> debbugs.gnu.org, shipmints@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) On 2024-12-15 19:40, Gerd Möllmann wrote: > Jared Finder <jared@HIDDEN> writes: > >> What about adding a workaround that uses the command line tool pbcopy >> (Mac version of xclip)? The pbcopy program is distributed with MacOS >> by default. > > The Elpa package xclip uses that. > > ;; This package allows Emacs to copy to and paste from the GUI > clipboard > ;; when running in text terminal. > ;; > ;; It can use external command-line tools for that, which you may > need > ;; to install in order for the package to work. Thanks. I just tested xclip-mode from Elpa and it indeed works to get copy operations work with Terminal.app. I think the best path forward would be to just mention this package in the NEWS update as a workaround for folks using Terminal.app. We could also recommend using iTerm2 as a GPL'd alternative that properly supports copy. (Paste works fine because Terminal.app supports xterm bracketed pastes.) Eli, does this sound good to you? -- MJF
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 16 Dec 2024 03:41:14 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 15 22:41:14 2024 Received: from localhost ([127.0.0.1]:52976 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tN1ys-0005Uy-Bz for submit <at> debbugs.gnu.org; Sun, 15 Dec 2024 22:41:14 -0500 Received: from mail-ed1-f45.google.com ([209.85.208.45]:61756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1tN1yq-0005Ui-JF for 74833 <at> debbugs.gnu.org; Sun, 15 Dec 2024 22:41:13 -0500 Received: by mail-ed1-f45.google.com with SMTP id 4fb4d7f45d1cf-5d3d0205bd5so5067384a12.3 for <74833 <at> debbugs.gnu.org>; Sun, 15 Dec 2024 19:41:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734320406; x=1734925206; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=uhYXJUNyUtcTpCw7jB5svOvjoTWhRNnCwhEX/BEohHA=; b=ftzB5wqQmN3HZl8t1cke/svd8r/0xzE9CvQDuju3IFLttOLMnYvFx16XplWl8gyIgM CEBFJbCMX1WqN3vcZ+DKX5Kv+ZKHCPHiTDH9Q6tJ7YZJK3VrW1ykNH1vDMjkQ6Iq98BI o9Uqntdy36NyyHAAhgO1k7mo2RFyFQQV65MjxdbldXEv18Z63H3AsCiUz6CRNJBBnla2 K4YexP0si05zDhIBSI8aNvC9BGcnQfCMZ6irhWz+opjSSe9UpKwny7IwgS3Fd7MIT/Kh I2fMJnrf7xKW/IsehyPGWtZcwFN3XQsHR5GIQsTpRe2cvOpR9udflMRn1lZJYSzYEnCu e4FQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734320406; x=1734925206; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=uhYXJUNyUtcTpCw7jB5svOvjoTWhRNnCwhEX/BEohHA=; b=HLVUJrvV063jZEeeipI5sdd1xneM6Al4SSUpSb6NW38+y7S3XRBVXxh0wivU8ckkx1 SSPlRUjOAvar7njyg7p0jthGKXP9KtbeNb0wFGBQBlr2mZFyQD6JlZvznkodDFP+GSlr Qs+gggKVKTyMF02HRKlsPc48q3AbU8oCI4dO8pHeuCc7sDGunsPQdZ+stnIUgbCBdTwI dE59PZTBnRkcCu/LkO2F4iNLda/ydtO9lLS7MVFnEIPKo8pG8jaeKNQY5CfDsHa7BDXD aq996Zl0uNfBIWD8OGJePdVwA4zDr/WoBp08t7QHl9fHi+mSznDkuKXkVRH/+oTbCIRU AecQ== X-Forwarded-Encrypted: i=1; AJvYcCVTGUeA0riIhGG8YE00U50z/PNy4Ac8YluAdFl5LOAAA6G0WwfbjLVHAhjaMv00EoHaHg4SFw==@debbugs.gnu.org X-Gm-Message-State: AOJu0YyHkQBNqzc2y85WIPSZsfaHnlPdpsSzCkrKvedlHnSH5UaDv7mT MR8e5/iIk67QXmjVfz2y6X1HoAWbd7FS2m6h6SYV3XjQbOp2oSjI X-Gm-Gg: ASbGnctVBq1gG78Ck54/ZHJeeCvjRZwtlO1tifiuBxOUcvtMuZCJ1AQ1xg3SB8oSYc2 qcET6VLlzaCsrhShc6Rq6DPyM0ONR1wfPDS0+fZlErCLg0Q9Z5uu+r/J7yR2dkwj2o4vcJmU1Gv cezTXvSKxZNqXKbw7w9s+uLRIKaaZAm6VoAnneDF/YPMn2ns8BcuOKsd7WQtmhuS5E9g8cujY7L OwW/d5OhKbfKEnFCcXgqJ2qXpuJR85COSoTh1j4mbpHFFM4F/m7k5WRl7w0IP0XT1juCjB7qiKK 50puEVtXR9S+duhXuy1m6bhtcp0xl5XdTG7y4v4wtzMU1lpLytSoHGLtRqTBl9eb X-Google-Smtp-Source: AGHT+IFiYZpr/huL7vlDml0XwVNfeO/0koxh+yBmwnvtLVc4YSXmaIqMJff30Yo0UJGa3R1SI9y+Ww== X-Received: by 2002:a17:906:3112:b0:aa6:82ea:69d6 with SMTP id a640c23a62f3a-aab77907a5fmr1031005966b.18.1734320406378; Sun, 15 Dec 2024 19:40:06 -0800 (PST) Received: from pro2 (p200300e0b72b6c00b173035138bbc769.dip0.t-ipconnect.de. [2003:e0:b72b:6c00:b173:351:38bb:c769]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aab9606893esm276425466b.71.2024.12.15.19.40.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Dec 2024 19:40:05 -0800 (PST) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> To: Jared Finder <jared@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled In-Reply-To: <f60142c9c903bf4e29776c6ede21f7d0@HIDDEN> (Jared Finder's message of "Sun, 15 Dec 2024 17:41:01 -0800") References: <f60142c9c903bf4e29776c6ede21f7d0@HIDDEN> Date: Mon, 16 Dec 2024 04:40:03 +0100 Message-ID: <m2msgwfg8c.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74833 Cc: Eli Zaretskii <eliz@HIDDEN>, Filipp Gunbin <fgunbin@HIDDEN>, 74833 <at> debbugs.gnu.org, shipmints@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Jared Finder <jared@HIDDEN> writes: > What about adding a workaround that uses the command line tool pbcopy > (Mac version of xclip)? The pbcopy program is distributed with MacOS > by default. The Elpa package xclip uses that. ;; This package allows Emacs to copy to and paste from the GUI clipboard ;; when running in text terminal. ;; ;; It can use external command-line tools for that, which you may need ;; to install in order for the package to work. ;; More specifically, it can use the following tools: ;; - Under X11: `xclip' or `xsel' (https://xclip.sourceforge.net and ;; https://www.vergenet.net/~conrad/software/xsel/ respectively). ;; - MacOS: `pbpaste/pbcopy' ;; - Cygwin: `getclip/putclip' ;; - Under Wayland: `wl-clipboard' (https://github.com/bugaevc/wl-clipboard) ;; - Termux: `termux-clipboard-get/set' ;; - Emacs: It can also use Emacs's built-in GUI support to talk to the GUI. ;; This requires an Emacs built with GUI support. ;; It uses `make-frame-on-display' which has been tested to work under X11, ;; but it's not known whether it works under MacOS or Windows.
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 16 Dec 2024 01:41:14 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 15 20:41:14 2024 Received: from localhost ([127.0.0.1]:52806 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tN06j-00085B-Rw for submit <at> debbugs.gnu.org; Sun, 15 Dec 2024 20:41:14 -0500 Received: from greenhill.hpalace.com ([192.155.80.58]:54778) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jared@HIDDEN>) id 1tN06e-00084x-4z for 74833 <at> debbugs.gnu.org; Sun, 15 Dec 2024 20:41:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=finder.org; s=2018; t=1734313261; bh=NJ5D25FMQn+Xpl1RsiOugMmzO4qG/MgCPJoeKkyMSns=; h=Date:From:To:Cc:Subject:From; b=T/p446wBexOsY5Wa9zpoD1dFuY47YbcL3Go88js/lCPqV4PsOH0PD1XPcqNDzR1sq 5RWu7/JlUuKXwhLz3CkEmBnQSS4DYStrizxTuKXuwHtECm+V+KtsNcw+g2AZF3e2AS FjHBzCRaGIHk/EQt126KITiReMkTiWjqOs1MRt9eHe37GQZPtJVThs/qNmnZfoNBLJ 3rTEvf6PuJnHUl2csb+7l7BjLOpaxdsMn+mzD5E4cJAa5GeR0co0nEbydbXEfxtcKf mahFRYS7DU69V5RttInUWmrTvzzOmNBdMMOreMPLIh5uaWDkug3EUYLdlZ3381/ecj 3opX8I2evaxMg== Received: from mail.finder.org (unknown [192.155.80.58]) by greenhill.hpalace.com (Postfix) with ESMTPSA id 9E610531; Mon, 16 Dec 2024 01:41:01 +0000 (UTC) MIME-Version: 1.0 Date: Sun, 15 Dec 2024 17:41:01 -0800 From: Jared Finder <jared@HIDDEN> To: =?UTF-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled Message-ID: <f60142c9c903bf4e29776c6ede21f7d0@HIDDEN> X-Sender: jared@HIDDEN Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74833 Cc: Eli Zaretskii <eliz@HIDDEN>, Filipp Gunbin <fgunbin@HIDDEN>, 74833 <at> debbugs.gnu.org, shipmints@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) On 2024-12-14 04:40, Gerd Möllmann wrote: > Eli Zaretskii <eliz@HIDDEN> writes: > >>> From: Filipp Gunbin <fgunbin@HIDDEN> >>> Cc: shipmints@HIDDEN, 74833 <at> debbugs.gnu.org >>> Date: Fri, 13 Dec 2024 23:32:39 +0300 >>> >>> On 13/12/2024 18:49 +0200, Eli Zaretskii wrote: >>> >>> >> From: Filipp Gunbin <fgunbin@HIDDEN> >>> >> Cc: Ship Mints <shipmints@HIDDEN>, 74833 <at> debbugs.gnu.org >>> >> Date: Fri, 13 Dec 2024 19:35:15 +0300 >>> >> >>> >> On 13/12/2024 09:21 +0200, Eli Zaretskii wrote: >>> >> >>> >> > So why is this an Emacs bug? It sounds like the OP expects something >>> >> > to happen which shouldn't, because the xterm protocol for selections >>> >> > and the clipboard are not supported by Terminal.app? In that case, >>> >> > this could be at best a feature request, not a bug. >>> >> >>> >> I'll try to explain differently. >>> >> >>> >> Without xterm-mouse-mode you can copy/paste from/into Terminal.app >>> >> window, looks like Terminal.app gives this ability on its own. This is >>> >> not integration with Emacs kill ring, no. Emacs cursor does not react >>> >> to mouse clicks, and selection happens with OS mouse pointer. Paste >>> >> works rather slow (bad idea to paste large chunks of text), but >>> >> tolerable. >>> >> >>> >> Now, yesterday my daily master build got me xterm-mouse-mode enabled, so >>> >> I did some testing just out of curiosity. Most of the things work, >>> >> including clicking and selection. However, Command-C now just doesn't >>> >> copy text to OS clipboard. And it's non-obvious that you should disable >>> >> xterm-mouse-mode to be able to copy. >>> > >>> > xterm-mouse-mode is supposed to be enabled only on terminals that load >>> > xterm.el, which means they are xterm-compatible. Does Terminal.app >>> > load xterm.el on startup? >>> >>> Terminal.app sets TERM=xterm-256color (this is configurable in >>> "Settings >>> -> Profiles -> Advanced -> Declare terminal as", I doubt I ever >>> changed >>> it), so xterm.el should be loaded, yes. >>> >>> Other term-related vars are: >>> >>> TERM_PROGRAM=Apple_Terminal >>> TERM_PROGRAM_VERSION=453 >>> TERM_SESSION_ID=1251C872-8246-4380-A2AE-ED1F8B649878 >> >> Then we should amend xterm.el to not allow xterm-mouse on this >> terminal. Jared, could you please add such a condition? >> >> And I think the Terminal.app developers should be told that pretending >> to be xterm without full support for all the xterm features is not >> TRT, and they should stop. Would someone please file an issue with >> their issue tracker? > > I still think that this is a cockpit error. I agree. While in Emacs, with Emacs managing the selection, one should expect to use Emacs commands to manage the clipboard like C-w and M-w. Sadly, Terminal.app does not support OSC52 therefore the clipboard is shared only within Emacs. Terminal.app provides fn+mouse drag to select things that Command-C notices as well as Command-R to disable mouse reporting already for exactly this reason. However, I'm sensitive that someone using Terminal.app is just using the MacOS default configuration for terminal and will think Emacs is broken here. Terminal.app is MacOS's default terminal emulator after all. Other popular MacOS terminal emulators like iTerm2 work fine because they support OSC52 (copy protocol). What about adding a workaround that uses the command line tool pbcopy (Mac version of xclip)? The pbcopy program is distributed with MacOS by default. This won't work over SSH, but at that point I don't think there's anything that can be done. TERM_PROGRAM isn't sent to the server by default. I also think I could make the news entry more detailed. Paste works just fine in MacOS under Terminal.app for me. -- MJF
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 14 Dec 2024 09:42:01 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 14 04:42:00 2024 Received: from localhost ([127.0.0.1]:45487 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tMOeu-0006yr-EK for submit <at> debbugs.gnu.org; Sat, 14 Dec 2024 04:42:00 -0500 Received: from mail-ed1-f54.google.com ([209.85.208.54]:52571) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1tMOes-0006yZ-50 for 74833 <at> debbugs.gnu.org; Sat, 14 Dec 2024 04:41:59 -0500 Received: by mail-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-5d3f28881d6so3157992a12.1 for <74833 <at> debbugs.gnu.org>; Sat, 14 Dec 2024 01:41:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734169252; x=1734774052; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=Ky/lsHyxDtaJBLnsGxaQirNC1F6jE5/Aucqhl+jlpfA=; b=cGvmRscM4o0xb371aW+H6lMFCQ5E+5jWIctgXdXzaE6CIQql6M6kxA1uFm5SwsNL3v LJWJvCIV/+fh2CE55scRne4gGBj9oTJekWJI/kEhkMfMghhC85UE1O6Dwh2ND0DR2ntx FRVcserNQ9MDq36yX2BvuPVA6zwqMXvli9NPYCeHei7JlFS71yvIHL0A0dCf7ZHPNV4V Y8T7RDaBjcGultyQhr/KWzFbiDQeHpVNdJqQ9GM4Rzba16EUp2TsqhblNdjuvLLrrYal Aexpjgn8nrqvB2VcAHoQA6Gt0RmIsEuS+uLmbjlyK7JzDRYE3cpuIaChzX/j5Pjn0ugp 7WAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734169252; x=1734774052; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Ky/lsHyxDtaJBLnsGxaQirNC1F6jE5/Aucqhl+jlpfA=; b=CDgCHDkv7pxefKArqyKFlYj95yaLOOU1Fx7V/4jUpKYIajN3Zvztjc24mx3cN2gqer 7z+hSjh5x6MizfrzJsKZK2E5EWEEkFnr+k35AM4bDTPielurOXYt27DKZZQyzukdjYuq vqzfpr30HBeF8a/keXtZdsw8jLaksOWinga17e72S8NkIhOqsaGi2QsEOTSm7lij4lBL CnfZpDEAb3hUEwO5M9NBK0ywn72jbK/MCbp/1jGTicsxwuOIghHFzsUIj2MmiWZbUQD8 VecNQAlNy5rl80Dldeh8eVOsuptpYkUcDeC5ZhL1apI+prEjlnasy4UqVpbuCCZHThhn DPkA== X-Forwarded-Encrypted: i=1; AJvYcCWwkwYOewd1quIBkjI1bS9mTxftb25oAdTDbWw2bk1vnyaHTliYmwrlB8VSUYWv8oI4YoqAKQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0YyjHU8+ME5GtbxXnvR66VCuz5RxB6a2voGlyWcLlUIR1XRCT5Lr WZzqxfrR1Ng+yrXOlCe8eSQmMGQuYksiSOAI3R6oubM5fzmm25Ca X-Gm-Gg: ASbGncuM1kZp8gzT1Brxs4ilq1XRDWhpE79tS2NNE0JvLrY0lBaBrdX5hUVcGvGT3lX CgZ8eQMjkvV0bjEiWnZrmYSqa2giX8x9v+NvMNeVRxTkKmbT7KA5lk0VdXXP+W2BxCOtjJ4nNmr 7JVn7Qz/NIS6p3eZ5P+D/iMv/QLVX9d3k6yUdsQxTXjRA52qW9HwbGPQyXI5vA9hHcfXgZqjyYe 4K1qDepCAw4eYFFMrhQf7tte/F0Ktlz/bgito1o1DcRxhbIPFvymtsdbwcF7IMYQtn7jf9Bngsk aYM0D2j6eBIMp950AbYAtpGlJpxXKNw3IrP36TDhDLMeDWQ6V8pZ8rSpyf+n9FleSA== X-Google-Smtp-Source: AGHT+IF+nuQijMMwBgZ/yM0NU+9vKH8I7v5T3PmeIj0D2ZTj7zdkYm4yR4TtX8p6c3YScfQQ60YqYw== X-Received: by 2002:a05:6402:3884:b0:5d3:cff5:635e with SMTP id 4fb4d7f45d1cf-5d63c3dbba0mr13048925a12.26.1734169252144; Sat, 14 Dec 2024 01:40:52 -0800 (PST) Received: from pro2 (p200300e0b713730071139a278fc518ee.dip0.t-ipconnect.de. [2003:e0:b713:7300:7113:9a27:8fc5:18ee]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aab9638ec3dsm72977166b.150.2024.12.14.01.40.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Dec 2024 01:40:51 -0800 (PST) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled In-Reply-To: <86ldwiwvjc.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 14 Dec 2024 09:52:55 +0200") References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> <86y10jwmsb.fsf@HIDDEN> <m1msgznx20.fsf@HIDDEN> <86ldwiwvjc.fsf@HIDDEN> Date: Sat, 14 Dec 2024 10:40:50 +0100 Message-ID: <m2ldwi8uvx.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 74833 Cc: Jared Finder <jared@HIDDEN>, 74833 <at> debbugs.gnu.org, Filipp Gunbin <fgunbin@HIDDEN>, shipmints@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eli Zaretskii <eliz@HIDDEN> writes: >> From: Filipp Gunbin <fgunbin@HIDDEN> >> Cc: shipmints@HIDDEN, 74833 <at> debbugs.gnu.org >> Date: Fri, 13 Dec 2024 23:32:39 +0300 >> >> On 13/12/2024 18:49 +0200, Eli Zaretskii wrote: >> >> >> From: Filipp Gunbin <fgunbin@HIDDEN> >> >> Cc: Ship Mints <shipmints@HIDDEN>, 74833 <at> debbugs.gnu.org >> >> Date: Fri, 13 Dec 2024 19:35:15 +0300 >> >> >> >> On 13/12/2024 09:21 +0200, Eli Zaretskii wrote: >> >> >> >> > So why is this an Emacs bug? It sounds like the OP expects something >> >> > to happen which shouldn't, because the xterm protocol for selections >> >> > and the clipboard are not supported by Terminal.app? In that case, >> >> > this could be at best a feature request, not a bug. >> >> >> >> I'll try to explain differently. >> >> >> >> Without xterm-mouse-mode you can copy/paste from/into Terminal.app >> >> window, looks like Terminal.app gives this ability on its own. This is >> >> not integration with Emacs kill ring, no. Emacs cursor does not react >> >> to mouse clicks, and selection happens with OS mouse pointer. Paste >> >> works rather slow (bad idea to paste large chunks of text), but >> >> tolerable. >> >> >> >> Now, yesterday my daily master build got me xterm-mouse-mode enabled, so >> >> I did some testing just out of curiosity. Most of the things work, >> >> including clicking and selection. However, Command-C now just doesn't >> >> copy text to OS clipboard. And it's non-obvious that you should disable >> >> xterm-mouse-mode to be able to copy. >> > >> > xterm-mouse-mode is supposed to be enabled only on terminals that load >> > xterm.el, which means they are xterm-compatible. Does Terminal.app >> > load xterm.el on startup? >> >> Terminal.app sets TERM=xterm-256color (this is configurable in "Settings >> -> Profiles -> Advanced -> Declare terminal as", I doubt I ever changed >> it), so xterm.el should be loaded, yes. >> >> Other term-related vars are: >> >> TERM_PROGRAM=Apple_Terminal >> TERM_PROGRAM_VERSION=453 >> TERM_SESSION_ID=1251C872-8246-4380-A2AE-ED1F8B649878 > > Then we should amend xterm.el to not allow xterm-mouse on this > terminal. Jared, could you please add such a condition? > > And I think the Terminal.app developers should be told that pretending > to be xterm without full support for all the xterm features is not > TRT, and they should stop. Would someone please file an issue with > their issue tracker? I still think that this is a cockpit error. Terminal.app's Command-C can only copy a selection that the app knows about. If the mouse is used by an app like Emacs (Terminal.app's Settings/Report ....)) the user tells Terminal to let the app use the mouse. I find it little surprising that when Terminal.app does that, it doesn't use the mouse itself to make a selection it could then copy. Do Command-A Command-C and see what happens. Or use Command-R to toggle the mouse reporting setting on the fly. Or use xclip in Emacs. Please don't disable xterm-mouse for this.
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 14 Dec 2024 07:53:08 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 14 02:53:08 2024 Received: from localhost ([127.0.0.1]:45264 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tMMxT-0001ka-UQ for submit <at> debbugs.gnu.org; Sat, 14 Dec 2024 02:53:07 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46452) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tMMxS-0001k3-KJ for 74833 <at> debbugs.gnu.org; Sat, 14 Dec 2024 02:53:03 -0500 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@HIDDEN>) id 1tMMxM-0005Q0-Tn; Sat, 14 Dec 2024 02:52:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=/1AlTmxgMQRJToujxLjQueaU9rXwkENSZUWUQy8W9Os=; b=oOrhXjZ3JIdj I/hqg7Wlacsni+ufXMWwLja7AjuWhIDx2pNSC+9ocBdocnaqQbOpuz8YYqTJEyHw73DNqlwY2V69y 8NLYQsg1RNEBUH5B1tkHQrvXabfRNzt4ENSgRaLx12jWjSfu/F4FlVc+3lwBH9lWhNFCTE4vkicRE UKj2pasTnrVhoUNkVluOeTGkc7h9ZxXsF7nOtNbFS0Q0huZRUR67Q8zgzCQ5d4Bkd/6/sgbc97zZR v2qlaAOS9XVvzGjplIDKS86hvd4JHky5sP4yQyth3851XYEQ6Tr+CZowi1AbllR7wY5ZGsvSwpyUb vBJtWqH7jlqvj2hgXfF4Cw==; Date: Sat, 14 Dec 2024 09:52:55 +0200 Message-Id: <86ldwiwvjc.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Filipp Gunbin <fgunbin@HIDDEN>, Jared Finder <jared@HIDDEN> In-Reply-To: <m1msgznx20.fsf@HIDDEN> (message from Filipp Gunbin on Fri, 13 Dec 2024 23:32:39 +0300) Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> <86y10jwmsb.fsf@HIDDEN> <m1msgznx20.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74833 Cc: 74833 <at> debbugs.gnu.org, shipmints@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Filipp Gunbin <fgunbin@HIDDEN> > Cc: shipmints@HIDDEN, 74833 <at> debbugs.gnu.org > Date: Fri, 13 Dec 2024 23:32:39 +0300 > > On 13/12/2024 18:49 +0200, Eli Zaretskii wrote: > > >> From: Filipp Gunbin <fgunbin@HIDDEN> > >> Cc: Ship Mints <shipmints@HIDDEN>, 74833 <at> debbugs.gnu.org > >> Date: Fri, 13 Dec 2024 19:35:15 +0300 > >> > >> On 13/12/2024 09:21 +0200, Eli Zaretskii wrote: > >> > >> > So why is this an Emacs bug? It sounds like the OP expects something > >> > to happen which shouldn't, because the xterm protocol for selections > >> > and the clipboard are not supported by Terminal.app? In that case, > >> > this could be at best a feature request, not a bug. > >> > >> I'll try to explain differently. > >> > >> Without xterm-mouse-mode you can copy/paste from/into Terminal.app > >> window, looks like Terminal.app gives this ability on its own. This is > >> not integration with Emacs kill ring, no. Emacs cursor does not react > >> to mouse clicks, and selection happens with OS mouse pointer. Paste > >> works rather slow (bad idea to paste large chunks of text), but > >> tolerable. > >> > >> Now, yesterday my daily master build got me xterm-mouse-mode enabled, so > >> I did some testing just out of curiosity. Most of the things work, > >> including clicking and selection. However, Command-C now just doesn't > >> copy text to OS clipboard. And it's non-obvious that you should disable > >> xterm-mouse-mode to be able to copy. > > > > xterm-mouse-mode is supposed to be enabled only on terminals that load > > xterm.el, which means they are xterm-compatible. Does Terminal.app > > load xterm.el on startup? > > Terminal.app sets TERM=xterm-256color (this is configurable in "Settings > -> Profiles -> Advanced -> Declare terminal as", I doubt I ever changed > it), so xterm.el should be loaded, yes. > > Other term-related vars are: > > TERM_PROGRAM=Apple_Terminal > TERM_PROGRAM_VERSION=453 > TERM_SESSION_ID=1251C872-8246-4380-A2AE-ED1F8B649878 Then we should amend xterm.el to not allow xterm-mouse on this terminal. Jared, could you please add such a condition? And I think the Terminal.app developers should be told that pretending to be xterm without full support for all the xterm features is not TRT, and they should stop. Would someone please file an issue with their issue tracker?
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 13 Dec 2024 20:56:35 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 13 15:56:35 2024 Received: from localhost ([127.0.0.1]:44320 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tMCi7-0003b1-0Q for submit <at> debbugs.gnu.org; Fri, 13 Dec 2024 15:56:35 -0500 Received: from mail-vs1-f53.google.com ([209.85.217.53]:60802) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>) id 1tMCi1-0003aZ-1S for 74833 <at> debbugs.gnu.org; Fri, 13 Dec 2024 15:56:29 -0500 Received: by mail-vs1-f53.google.com with SMTP id ada2fe7eead31-4affab62589so450562137.1 for <74833 <at> debbugs.gnu.org>; Fri, 13 Dec 2024 12:56:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734123308; x=1734728108; 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=FyUH3mVwAvv028v1U2VMcVhAH5eCp5hyZ0IeLJtRAxs=; b=kQypuVtHiinKMsNjSu/kLBsB3cQQSGIhD+vykY+qKGV++apehs+MTzP50MSUBItsnC 0AoyP2QNoL8c8UY+13Qlk9I39zgZIzmZniY8DhVSj2LOCpyO3LjXQppidUTwWb3pygTc BnsNlSXrzEKdrH9fnIdGrJjauHj+0A4UXqAWWjtv3PzArf0E8ShOR30h9vvQclHJDJMH 5j/IR6Iwl9487cg9UR4ZYzH6YpSzqW7nHASiWq4xxnXRrgfARGvYGwjxuwNS2nQGZfwQ 1mVu+QCfHI4dFzgAAcliqv4QG17a4qrtjuVK1dAo2OPYjbAIZL3YTrwRW1cbahnoz989 BqZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734123308; x=1734728108; 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=FyUH3mVwAvv028v1U2VMcVhAH5eCp5hyZ0IeLJtRAxs=; b=DtA+jcqI5EDwNMPAKgM/NaHvt+655qGiM9TEV5V2vjDAAtgemsQnkKhddQ54EI03yt LZejAriNEt5zAcRDAyHVtHY7iLoiYe1oMScA0jhSeNaUOjI2X653YBYrCzhxJZ1rahv/ WCJ6vpg/kGhwl3UoeJWuGy8iCFzvWNGhTq9evmEl4OQ+xY06x/Utf08x3dh7vkFPQt0y gWTlbloMBLasBaUAF7E6zX0oenZPv1U2vdvwRz0iXgTgYKqlEcQ6M8Md6QJ/aFVxr4Na jTPBKZQMFOJDp7eE+HAIDGBwDwn4dYK5rxlIu083bcWVVIq97TNCrTJvMZf9Xjj7f5B7 u1GQ== X-Forwarded-Encrypted: i=1; AJvYcCW61Ydi4ZqDo0PTz9KOPaGVW3z/Nlyj4flcAbMBBVoJ1NRF17x2wuvQAxwFiCjasW79TRC6bA==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yx2E42E9XQbWQsQBQQvDHf/kaVzalUVlq7f+k8LUJs1ZQTKsVQn u3Fpz7y2EoeqjW9B2Mf/G8gFCP5K4pQks9v5mu5cKp3DWChSmjt59BZpp5Ob3jbau3UzmUaoZZn vMzxa/cIrW3PQqvxhbwzzw5itFNI= X-Gm-Gg: ASbGncsPGz7aBIreozPYNIu+/yS+YLdPQ7w9SBXLB8BPlkJcZxDBP6/Yu2jZtJR9Ra2 uf4d1fz1BMAMuNzvKSOcRX+zDYZPNAd0P3bw2EQ== X-Google-Smtp-Source: AGHT+IGCVCdAfgoFYXY4nZ6xS2fCuPcZ/CEsU3yk6lYVYCJ/9eTDyCmxGwOLuhMt/svNGjrFFte6U64niRkAKBixMLE= X-Received: by 2002:a05:6102:32c3:b0:4b2:484e:88b8 with SMTP id ada2fe7eead31-4b25dc4ea49mr4977524137.1.1734123308169; Fri, 13 Dec 2024 12:55:08 -0800 (PST) MIME-Version: 1.0 References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> <86y10jwmsb.fsf@HIDDEN> <m1msgznx20.fsf@HIDDEN> In-Reply-To: <m1msgznx20.fsf@HIDDEN> From: Ship Mints <shipmints@HIDDEN> Date: Fri, 13 Dec 2024 15:54:24 -0500 Message-ID: <CAN+1HbrgLReWJu7riTfqzzXPHUHrZBc9sMpm86pgkxzTOHisQw@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled To: Filipp Gunbin <fgunbin@HIDDEN> Content-Type: multipart/alternative; boundary="000000000000c7c25a06292d0b2d" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74833 Cc: Eli Zaretskii <eliz@HIDDEN>, 74833 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --000000000000c7c25a06292d0b2d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I'm afraid to say that TERM indicates terminfo support, not whether terminal.app provides full xterm compatibility which I believe it doesn't, at least not without manual modifications to the key maps and I can't speak to other xterm features. This will require some experimentation. Give xterm.el a try and see how it goes. I would not load that by default without conformance testing of some kind. I suppose it would already have been by now if it was known to work. Take a look at this page https://dotat.at/@/2020-12-12-terminal-app-xterm-compatibiity.html someone did some work in this regard. I might give some of this a try myself one day. On Fri, Dec 13, 2024 at 3:32=E2=80=AFPM Filipp Gunbin <fgunbin@HIDDEN>= wrote: > On 13/12/2024 18:49 +0200, Eli Zaretskii wrote: > > >> From: Filipp Gunbin <fgunbin@HIDDEN> > >> Cc: Ship Mints <shipmints@HIDDEN>, 74833 <at> debbugs.gnu.org > >> Date: Fri, 13 Dec 2024 19:35:15 +0300 > >> > >> On 13/12/2024 09:21 +0200, Eli Zaretskii wrote: > >> > >> > So why is this an Emacs bug? It sounds like the OP expects somethin= g > >> > to happen which shouldn't, because the xterm protocol for selections > >> > and the clipboard are not supported by Terminal.app? In that case, > >> > this could be at best a feature request, not a bug. > >> > >> I'll try to explain differently. > >> > >> Without xterm-mouse-mode you can copy/paste from/into Terminal.app > >> window, looks like Terminal.app gives this ability on its own. This i= s > >> not integration with Emacs kill ring, no. Emacs cursor does not react > >> to mouse clicks, and selection happens with OS mouse pointer. Paste > >> works rather slow (bad idea to paste large chunks of text), but > >> tolerable. > >> > >> Now, yesterday my daily master build got me xterm-mouse-mode enabled, = so > >> I did some testing just out of curiosity. Most of the things work, > >> including clicking and selection. However, Command-C now just doesn't > >> copy text to OS clipboard. And it's non-obvious that you should disab= le > >> xterm-mouse-mode to be able to copy. > > > > xterm-mouse-mode is supposed to be enabled only on terminals that load > > xterm.el, which means they are xterm-compatible. Does Terminal.app > > load xterm.el on startup? > > Terminal.app sets TERM=3Dxterm-256color (this is configurable in "Setting= s > -> Profiles -> Advanced -> Declare terminal as", I doubt I ever changed > it), so xterm.el should be loaded, yes. > > Other term-related vars are: > > TERM_PROGRAM=3DApple_Terminal > TERM_PROGRAM_VERSION=3D453 > TERM_SESSION_ID=3D1251C872-8246-4380-A2AE-ED1F8B649878 > --000000000000c7c25a06292d0b2d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:monospac= e">I'm afraid to say that TERM indicates terminfo support, not whether = <a href=3D"http://terminal.app">terminal.app</a> provides full xterm compat= ibility which I believe it doesn't, at least not without manual modific= ations to the key maps and I can't speak to other=C2=A0xterm features. = This will require some experimentation. Give xterm.el a try and see how it = goes. I would not load that by default without conformance testing of some = kind. I suppose it would already have been by now if it was known to work.<= /div><div class=3D"gmail_default" style=3D"font-family:monospace"><br></div= ><div class=3D"gmail_default" style=3D"font-family:monospace">Take a look a= t this page=C2=A0<a href=3D"https://dotat.at/@/2020-12-12-terminal-app-xter= m-compatibiity.html">https://dotat.at/@/2020-12-12-terminal-app-xterm-compa= tibiity.html</a> someone did some work in this regard. I might give some of= this a try myself one day.</div></div><br><div class=3D"gmail_quote gmail_= quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, Dec 13, 2024= at 3:32=E2=80=AFPM Filipp Gunbin <<a href=3D"mailto:fgunbin@HIDDEN= ">fgunbin@HIDDEN</a>> wrote:<br></div><blockquote class=3D"gmail_qu= ote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,20= 4);padding-left:1ex">On 13/12/2024 18:49 +0200, Eli Zaretskii wrote:<br> <br> >> From: Filipp Gunbin <<a href=3D"mailto:fgunbin@HIDDEN" tar= get=3D"_blank">fgunbin@HIDDEN</a>><br> >> Cc: Ship Mints <<a href=3D"mailto:shipmints@HIDDEN" target= =3D"_blank">shipmints@HIDDEN</a>>,=C2=A0 <a href=3D"mailto:74833@debb= ugs.gnu.org" target=3D"_blank">74833 <at> debbugs.gnu.org</a><br> >> Date: Fri, 13 Dec 2024 19:35:15 +0300<br> >><br> >> On 13/12/2024 09:21 +0200, Eli Zaretskii wrote:<br> >><br> >> > So why is this an Emacs bug?=C2=A0 It sounds like the OP expe= cts something<br> >> > to happen which shouldn't, because the xterm protocol for= selections<br> >> > and the clipboard are not supported by Terminal.app?=C2=A0 In= that case,<br> >> > this could be at best a feature request, not a bug.<br> >><br> >> I'll try to explain differently.<br> >><br> >> Without xterm-mouse-mode you can copy/paste from/into Terminal.app= <br> >> window, looks like Terminal.app gives this ability on its own.=C2= =A0 This is<br> >> not integration with Emacs kill ring, no.=C2=A0 Emacs cursor does = not react<br> >> to mouse clicks, and selection happens with OS mouse pointer.=C2= =A0 Paste<br> >> works rather slow (bad idea to paste large chunks of text), but<br= > >> tolerable.<br> >><br> >> Now, yesterday my daily master build got me xterm-mouse-mode enabl= ed, so<br> >> I did some testing just out of curiosity.=C2=A0 Most of the things= work,<br> >> including clicking and selection.=C2=A0 However, Command-C now jus= t doesn't<br> >> copy text to OS clipboard.=C2=A0 And it's non-obvious that you= should disable<br> >> xterm-mouse-mode to be able to copy.<br> ><br> > xterm-mouse-mode is supposed to be enabled only on terminals that load= <br> > xterm.el, which means they are xterm-compatible.=C2=A0 Does Terminal.a= pp<br> > load xterm.el on startup?<br> <br> Terminal.app sets TERM=3Dxterm-256color (this is configurable in "Sett= ings<br> -> Profiles -> Advanced -> Declare terminal as", I doubt I ev= er changed<br> it), so xterm.el should be loaded, yes.<br> <br> Other term-related vars are:<br> <br> TERM_PROGRAM=3DApple_Terminal<br> TERM_PROGRAM_VERSION=3D453<br> TERM_SESSION_ID=3D1251C872-8246-4380-A2AE-ED1F8B649878<br> </blockquote></div> --000000000000c7c25a06292d0b2d--
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 13 Dec 2024 20:46:43 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 13 15:46:43 2024 Received: from localhost ([127.0.0.1]:44297 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tMCYd-00036j-BE for submit <at> debbugs.gnu.org; Fri, 13 Dec 2024 15:46:43 -0500 Received: from fout-a1-smtp.messagingengine.com ([103.168.172.144]:44977) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <fgunbin@HIDDEN>) id 1tMCYX-00036I-3H for 74833 <at> debbugs.gnu.org; Fri, 13 Dec 2024 15:46:41 -0500 Received: from phl-compute-04.internal (phl-compute-04.phl.internal [10.202.2.44]) by mailfout.phl.internal (Postfix) with ESMTP id BF2931383E5E; Fri, 13 Dec 2024 15:46:31 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-04.internal (MEProxy); Fri, 13 Dec 2024 15:46:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1734122791; x=1734209191; bh=iShhf3Mldh llrW8lkxozeVsXv8dTCQ7arWPxrBsazag=; b=suEG0SHT05ckzwiOL+64+yorEs I/KU+YY62g6Un/mlS7VhwxZg/cw8ILabjgLzTiCRQPD00zWvkICu+wtze0pESXYr sLDRYwxipcfi0YCHzgDdHVDpAB4vTVhxFaEy35dbH1jLee2+vGhlezpGequ2e7B3 tk4YslKYhDTdId9ORq6UpFvy6AR8N4uriBEO2GlXzVbakXcYVsx/Ez6q4fOu0WNy XV1oG/cXu61rVss7ojH0uGA/Te/A+PG/8W5RocAj9XBSm07mz/jzJdO4qifjzeDr a01W96yDiXyhfz5p+GXNrgnivzrUICvzUtq06W9ZcsqBvRp60Rtd+1LrQF3A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1734122791; x=1734209191; bh=iShhf3MldhllrW8lkxozeVsXv8dTCQ7arWP xrBsazag=; b=O6LfT16IARU3ByvRtk3oTdhFKZ8Lklj8gCvTXaJDiYkm5LepUh6 XklY6/Q0Il6Yi97ari5tQfoB7k1xwoSd2qDkuM4Sf2bcYMgLeabSD2jFYC4jBveZ 1mQD0hjKYkx9UrNLhxRvULDhGHcvffG3+H6kS8XuQjzoKDd/LM5dpAibd5PfkcQo runLcpsuQpUjx3kkKYaa2Ia2ZH1TDsBAKVWjnQEXCL/bko1MCQypcVVelWWpU7xx 7pb4JuiN7QsEDdV4V4t6Sfvz5wcCjj49xl+QK22PKJoutd83le+KrjjCA/dsb08E x1l/vly6ToSlGBsqPm3ppYyZpFEXEvfZJgw== X-ME-Sender: <xms:J51cZ0SI606hzYZUMXa8RauanXkwprn5yTZ5htI-2J1jui6hFGo6jw> <xme:J51cZxw5XBUuvVTgCIRHL_b9tsXtHMJWFcWVkr6CpML5lyKynbQ2q5W4cAeMeF-8f KdX7ptu7jzcLeYc> X-ME-Received: <xmr:J51cZx3Rw9iVfO2u1NjqqqTQlFpCcOySNyQoBcLpj25TSHxlrFZ0-LmcvV_6YLxXwzEbyVE> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrkeejgddufeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhephffvvefujghffgffkfggtgesthdtredttdertden ucfhrhhomhephfhilhhiphhpucfiuhhnsghinhcuoehfghhunhgsihhnsehfrghsthhmrg hilhdrfhhmqeenucggtffrrghtthgvrhhnpeefleefhfehleelkeejgfehvefgveeuvddu teefffdvheevueethedthefgudeikeenucffohhmrghinhepfigviihfuhhrlhhonhhgrd horhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhep fhhguhhnsghinhesfhgrshhtmhgrihhlrdhfmhdpnhgspghrtghpthhtohepfedpmhhoug gvpehsmhhtphhouhhtpdhrtghpthhtohepjeegkeeffeesuggvsggsuhhgshdrghhnuhdr ohhrghdprhgtphhtthhopegvlhhiiiesghhnuhdrohhrghdprhgtphhtthhopehshhhiph hmihhnthhssehgmhgrihhlrdgtohhm X-ME-Proxy: <xmx:J51cZ4CD32rew9Ppsm8YkrXGJJahic1O8mEKur1gsTWkyGI50xc3vA> <xmx:J51cZ9jBk8c0DbE310TMNUG4DWkW-L9tbixVve8C9OEfH2lW68qQ3A> <xmx:J51cZ0o1GD7ozWW0DD72uIyKD8S2OLE8rxpsPmzm23aaqTE11xko-g> <xmx:J51cZwi-BO_jZ6htLKoj67t5oQKpAhG9Lj7_GWvq1oc2Ix7ecURMng> <xmx:J51cZys6kploVQPbBs4RZ6obVd1zAvWbsmGddVpJlWRuNpupw_ZGPF_o> Feedback-ID: id48c41f1:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 13 Dec 2024 15:46:30 -0500 (EST) From: Filipp Gunbin <fgunbin@HIDDEN> To: Ship Mints <shipmints@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled In-Reply-To: <CAN+1Hbp8wuKb2PoLzLohOrWgs5pYJs3i+xTGaj+AaNwRZQG_pQ@HIDDEN> (Ship Mints's message of "Fri, 13 Dec 2024 11:52:37 -0500") References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> <CAN+1Hbp52JGbEqJx9ogTeaJUWN_LoA_j+JNYg7oYGa1DWg9SkQ@HIDDEN> <CAN+1Hbp8wuKb2PoLzLohOrWgs5pYJs3i+xTGaj+AaNwRZQG_pQ@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Date: Fri, 13 Dec 2024 23:46:27 +0300 Message-ID: <m1frmrnwf0.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74833 Cc: Eli Zaretskii <eliz@HIDDEN>, 74833 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) On 13/12/2024 11:52 -0500, Ship Mints wrote: > Try experimenting with alternative terminals such as > https://wezfurlong.org/wezterm/ which I've used and where I remap all of > the keys to pass through to Emacs vs. letting the terminal application > abscond with functions like Command-C. I can share my wezterm configuration > off line if you're interested. I still remain mostly GUI on macOS but > occasionally use the terminal, and especially useful for running Emacs via > ssh on a remote computer (vs. tramp). Thank you for the tips! I'm certainly fine with xterm-mouse-mode off, this bug is rather to let people know that the _default_ behavior worsened, in default macOS terminal.
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 13 Dec 2024 20:33:05 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 13 15:33:05 2024 Received: from localhost ([127.0.0.1]:44266 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tMCLN-0002OY-0G for submit <at> debbugs.gnu.org; Fri, 13 Dec 2024 15:33:05 -0500 Received: from fhigh-a3-smtp.messagingengine.com ([103.168.172.154]:60365) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <fgunbin@HIDDEN>) id 1tMCLF-0002O1-FD for 74833 <at> debbugs.gnu.org; Fri, 13 Dec 2024 15:32:57 -0500 Received: from phl-compute-12.internal (phl-compute-12.phl.internal [10.202.2.52]) by mailfhigh.phl.internal (Postfix) with ESMTP id 6693511400F8; Fri, 13 Dec 2024 15:32:48 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-12.internal (MEProxy); Fri, 13 Dec 2024 15:32:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1734121968; x=1734208368; bh=R3m/uTC8Zp wxapgMt0baLoQHYBBKpPs+oWVDfwxXgIE=; b=jrKLWnGq+NLZmhE6jSFqHnBBtJ e+DTZQJW8FTCFe5KUnRLHnHlfQS4f47IX5t8ISM5qP20PFcOJ9bjnH0672J2hS3V lMYm6rfIjz5N0JbCJDGaZdrPvkqEVKiXkHUkEKbRTZWET8fGu0xzWecZXkqariE4 7JIRKOiPRfqmrslYREz/CDGmBtf8LphprnyPAnn0Ko17S55/UUk7RoGx2IHdQ6HM dSgpaRsi64yQ6OU+cyDRugy1yL3WlWtUjCLYfDr9OeHEqf1TYeTvDKkhBW2YcvAf SYBBviBVHTt8wNArWLSgTVlMatuRqP75FRgvv5pb7hvkYvHVslbRTyfa17pQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1734121968; x=1734208368; bh=R3m/uTC8ZpwxapgMt0baLoQHYBBKpPs+oWV DfwxXgIE=; b=4+Ctnb8cuOXT3qDaK+9dNhzCvKx3Oo9SwbZtj7a07HA5Y6yzbVf +tKG+ZzMEyagy1iePmrBnGmmRxuKY76kKE7WvrBL/kmIBVaGuxJzjknZVov/qQNb B4hEKH0EUOiGmTNUfv1UWLo39ql4r63zMGhlXje/pcAWn5z55Dldue/StzOJ6SWu Gc9kkecsPExPZCDzohi26cIB94T0cJyW0YHBAw6K+njoXMOFAwLUq0q14IkAyXdW pFohZnJtVEzUKIuByJIjci3iqaRTvAyvsTnGvmtNpIteZ8nWQlYJ+ka+yZh6+9vV cnaUlDsBR5CD1vWWWqfKiK/kM5rIh6kxHig== X-ME-Sender: <xms:75lcZ1Wg-Q_jgMxqncO1MTz8xyEweTa-s9RoGyr0AsSq5ALXMZYHKg> <xme:75lcZ1m-p980clP7UzleheY3jKpc0Wo0ZsBCmIaV_WAhhHh4IRlICdTmU5YBzL4s7 3IHlXqycAbeSnLf> X-ME-Received: <xmr:75lcZxZa3I7bzLLnp-AGZMekV5-2Z9vEo1jdh_xR-14jxhErGLUT0eAfWaprDJN4b7W31k0> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrkeejgddufeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhephffvvefujghffgffkfggtgesthdtredttdertden ucfhrhhomhephfhilhhiphhpucfiuhhnsghinhcuoehfghhunhgsihhnsehfrghsthhmrg hilhdrfhhmqeenucggtffrrghtthgvrhhnpeffhfejveeiieeiudetgfehffelieevfeef fedtkeelheeludefueeuudehveeiffenucevlhhushhtvghrufhiiigvpedtnecurfgrrh grmhepmhgrihhlfhhrohhmpehfghhunhgsihhnsehfrghsthhmrghilhdrfhhmpdhnsggp rhgtphhtthhopeefpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopeejgeekfeefse guvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepshhhihhpmhhinhhtshesghhm rghilhdrtghomhdprhgtphhtthhopegvlhhiiiesghhnuhdrohhrgh X-ME-Proxy: <xmx:8JlcZ4WL7THVOuakVDeSguJN9_--EHk44uKWaqXh8hrSfhE5BRdOTg> <xmx:8JlcZ_mpXd5bSJC-ik7tJSNqxoDcDOIaZv_Yk6-kq2FuuEKkyCLiDA> <xmx:8JlcZ1exCfWPnVZkcHwdX0I_jmjq_3tKfr_-WRubwJQI87wy3Lk2IA> <xmx:8JlcZ5E9Rmu1hf_TGTWuMY0zFQy37ppV3M4YwXI26NDHo0xBi6uKMQ> <xmx:8JlcZ9hKoCtuYudrA3Rh8Ga6SHbbAsOEGo2droKXYYIhlMTcysNLKZx3> Feedback-ID: id48c41f1:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 13 Dec 2024 15:32:46 -0500 (EST) From: Filipp Gunbin <fgunbin@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled In-Reply-To: <86y10jwmsb.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 13 Dec 2024 18:49:40 +0200") References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> <86y10jwmsb.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Date: Fri, 13 Dec 2024 23:32:39 +0300 Message-ID: <m1msgznx20.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 74833 Cc: 74833 <at> debbugs.gnu.org, shipmints@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) On 13/12/2024 18:49 +0200, Eli Zaretskii wrote: >> From: Filipp Gunbin <fgunbin@HIDDEN> >> Cc: Ship Mints <shipmints@HIDDEN>, 74833 <at> debbugs.gnu.org >> Date: Fri, 13 Dec 2024 19:35:15 +0300 >> >> On 13/12/2024 09:21 +0200, Eli Zaretskii wrote: >> >> > So why is this an Emacs bug? It sounds like the OP expects something >> > to happen which shouldn't, because the xterm protocol for selections >> > and the clipboard are not supported by Terminal.app? In that case, >> > this could be at best a feature request, not a bug. >> >> I'll try to explain differently. >> >> Without xterm-mouse-mode you can copy/paste from/into Terminal.app >> window, looks like Terminal.app gives this ability on its own. This is >> not integration with Emacs kill ring, no. Emacs cursor does not react >> to mouse clicks, and selection happens with OS mouse pointer. Paste >> works rather slow (bad idea to paste large chunks of text), but >> tolerable. >> >> Now, yesterday my daily master build got me xterm-mouse-mode enabled, so >> I did some testing just out of curiosity. Most of the things work, >> including clicking and selection. However, Command-C now just doesn't >> copy text to OS clipboard. And it's non-obvious that you should disable >> xterm-mouse-mode to be able to copy. > > xterm-mouse-mode is supposed to be enabled only on terminals that load > xterm.el, which means they are xterm-compatible. Does Terminal.app > load xterm.el on startup? Terminal.app sets TERM=xterm-256color (this is configurable in "Settings -> Profiles -> Advanced -> Declare terminal as", I doubt I ever changed it), so xterm.el should be loaded, yes. Other term-related vars are: TERM_PROGRAM=Apple_Terminal TERM_PROGRAM_VERSION=453 TERM_SESSION_ID=1251C872-8246-4380-A2AE-ED1F8B649878
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 13 Dec 2024 16:54:30 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 13 11:54:30 2024 Received: from localhost ([127.0.0.1]:43958 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tM8vt-000051-Vq for submit <at> debbugs.gnu.org; Fri, 13 Dec 2024 11:54:30 -0500 Received: from mail-vk1-f170.google.com ([209.85.221.170]:51647) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>) id 1tM8vq-0008WR-BL for 74833 <at> debbugs.gnu.org; Fri, 13 Dec 2024 11:54:28 -0500 Received: by mail-vk1-f170.google.com with SMTP id 71dfb90a1353d-5188b485988so518965e0c.3 for <74833 <at> debbugs.gnu.org>; Fri, 13 Dec 2024 08:54:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734108801; x=1734713601; 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=AfiMrH6yqgyyd/y1GnVtikPnV3TAqHVQ4B1iglPCf5Y=; b=NNkOTvAUn4HDstA0CVnDscPJDKmyYDJAfonkhhIpAxfc0uCPfp/Q9qWnd/dFWRFmBo wtbNseir9FAiDexgBy+C8Lsx65k8oSCXPqM627F+IGoOsWAuXawU7UxuECBeZhRU+Ace Voyl+4KDzLZ/VbokbiFoux7b5bHYLfKH/fkwc2VgnuoI3QeLT2nWXPS2eLPqbVxga8M+ wymfjDgrHn2jDwB1jO3ECrniGxpcFKIt1CYLRikddmJeHZOTXfEQKktxHIdqMZgeRmBu BChVBohxGH/YLGlCD6KycNUkhkVL4J2ZGnsaeXsJKUSygj92B67BWSmMsRr21CPLm55/ 4tRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734108801; x=1734713601; 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=AfiMrH6yqgyyd/y1GnVtikPnV3TAqHVQ4B1iglPCf5Y=; b=ARsJLpLcV/ys0l0IEjUpJGwZqK6I4dQz1rUAqSSx+SsXhRgsC7wZjxmM00bu8PAm4B 9ohEBJFKwDbYjgovNzoFIKiZVaYcdHSrCwpUOj447zZPph7/IYQO8KuJjM4IxHpw+0zg m92sO9dxyxkxeCdHNcm/S7Sk6dU7q59IgPwstdbRO6JTcLt2AaJtW8otW90zPe4Cv6cm SzfqpNKW4U7qV1jnUxVxX7S1nmy/vau7FfgzP9Gfu0vdR8+UuO/CroAnrd5UImRZFwzm FH54DczaA+wLnBOZT2B5ialeF6OisDAZzYNVaVKlBev2ntFNxWx4FeliD11V44uIUI2l UE2g== X-Forwarded-Encrypted: i=1; AJvYcCWiB2vr8J94wVUmKjvWiWSpn5/dw/686hwcO9bZdaveUXcascy5/7/P02cH0hMf+FbDP4NW7w==@debbugs.gnu.org X-Gm-Message-State: AOJu0YxXV1wwA1BhVzxO/OACwbBF9G0sqnKxzz1Rs2ue0EN8wuqfdb8/ TEs6CkRSEBl0BvLtKWjbnYgAFUs4xjXfIXZxdPsgdB26YQFePVneFTLZJgNH2AFezjtzmd5j9AH wWfAfW9gIUA/s9aBAMxqANN7rDpKUrPCX X-Gm-Gg: ASbGncsfySVDgwoPQ39Ivm3rs30QR3eOTnP7wmcYXxYgto6beN2yoFPLTXbSmThRik/ qSMJySHqlmE12nDZU0kWFnt4QNsiSr+hGZ9/pIQ== X-Google-Smtp-Source: AGHT+IHZj5xW5jzK9aVxzlk9D2rOKyYnh6dC4oyl5dTV06B9dClmeLRYbbalUT2buHt6Ip6+lBRhpjV+5F1CBfQiWoY= X-Received: by 2002:a05:6122:2029:b0:50a:b5a3:e00c with SMTP id 71dfb90a1353d-518ca1ab8b5mr3686837e0c.1.1734108800625; Fri, 13 Dec 2024 08:53:20 -0800 (PST) MIME-Version: 1.0 References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> <CAN+1Hbp52JGbEqJx9ogTeaJUWN_LoA_j+JNYg7oYGa1DWg9SkQ@HIDDEN> In-Reply-To: <CAN+1Hbp52JGbEqJx9ogTeaJUWN_LoA_j+JNYg7oYGa1DWg9SkQ@HIDDEN> From: Ship Mints <shipmints@HIDDEN> Date: Fri, 13 Dec 2024 11:52:37 -0500 Message-ID: <CAN+1Hbp8wuKb2PoLzLohOrWgs5pYJs3i+xTGaj+AaNwRZQG_pQ@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled To: Filipp Gunbin <fgunbin@HIDDEN> Content-Type: multipart/alternative; boundary="0000000000001031ac062929ab21" X-Spam-Score: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Try experimenting with alternative terminals such as https://wezfurlong.org/wezterm/ which I've used and where I remap all of the keys to pass through to Emacs vs. letting the terminal application abs [...] Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (shipmints[at]gmail.com) 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.85.221.170 listed in sa-trusted.bondedsender.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 HTML_MESSAGE BODY: HTML included in message 0.1 URIBL_SBL_A Contains URL's A record listed in the Spamhaus SBL blocklist [URIs: wezfurlong.org] 0.6 URIBL_SBL Contains an URL's NS IP listed in the Spamhaus SBL blocklist [URIs: wezfurlong.org] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.221.170 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.221.170 listed in wl.mailspike.net] 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.85.221.170 listed in bl.score.senderscore.com] 1.0 FREEMAIL_REPLY From and body contain different freemails X-Debbugs-Envelope-To: 74833 Cc: Eli Zaretskii <eliz@HIDDEN>, 74833 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.3 (/) --0000000000001031ac062929ab21 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Try experimenting with alternative terminals such as https://wezfurlong.org/wezterm/ which I've used and where I remap all of the keys to pass through to Emacs vs. letting the terminal application abscond with functions like Command-C. I can share my wezterm configuration off line if you're interested. I still remain mostly GUI on macOS but occasionally use the terminal, and especially useful for running Emacs via ssh on a remote computer (vs. tramp). On Fri, Dec 13, 2024 at 11:42=E2=80=AFAM Ship Mints <shipmints@HIDDEN> w= rote: > What you describe is normal behavior, even if it appears confusing. It's > an "impedance mismatch" between terminal.app and being in a "curses" > window. Terminal doesn't "see" selected text and hence Command-C is > disabled. This is the opposite for a basic shell where terminal sees the > text because it controls selection. You can see this by pulling down the > Edit menu and seeing Copy grayed out. As far as how xterm-mouse-mode > interferes with Command-C I'd have to disable it myself and see what's > going on. Not sure how much value that adds, though. If you enable xclip, > you'll get what you want being inside Emacs, after all, using M-w gets yo= ur > selected text copied to the pasteboard. > > On Fri, Dec 13, 2024 at 11:35=E2=80=AFAM Filipp Gunbin <fgunbin@fastmail.= fm> > wrote: > >> On 13/12/2024 09:21 +0200, Eli Zaretskii wrote: >> >> >> From: Ship Mints <shipmints@HIDDEN> >> >> Date: Thu, 12 Dec 2024 15:31:00 -0500 >> >> Cc: fgunbin@HIDDEN, 74833 <at> debbugs.gnu.org >> >> >> >> 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. >> > >> > So why is this an Emacs bug? It sounds like the OP expects something >> > to happen which shouldn't, because the xterm protocol for selections >> > and the clipboard are not supported by Terminal.app? In that case, >> > this could be at best a feature request, not a bug. >> >> I'll try to explain differently. >> >> Without xterm-mouse-mode you can copy/paste from/into Terminal.app >> window, looks like Terminal.app gives this ability on its own. This is >> not integration with Emacs kill ring, no. Emacs cursor does not react >> to mouse clicks, and selection happens with OS mouse pointer. Paste >> works rather slow (bad idea to paste large chunks of text), but >> tolerable. >> >> Now, yesterday my daily master build got me xterm-mouse-mode enabled, so >> I did some testing just out of curiosity. Most of the things work, >> including clicking and selection. However, Command-C now just doesn't >> copy text to OS clipboard. And it's non-obvious that you should disable >> xterm-mouse-mode to be able to copy. >> >> That's why I filed this bug - because previous behavior was not ideal >> but working, and now only paste works. >> >> Maybe we should just avoid enabling xterm-mouse-mode in Terminal.app. >> Maybe functionality of xclip should be in core. >> > --0000000000001031ac062929ab21 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:monospac= e">Try experimenting with alternative terminals such as=C2=A0<a href=3D"htt= ps://wezfurlong.org/wezterm/">https://wezfurlong.org/wezterm/</a> which I&#= 39;ve used and where I remap all of the keys to pass through to Emacs vs. l= etting the terminal application abscond with functions like Command-C. I ca= n share my wezterm=C2=A0configuration off line if you're=C2=A0intereste= d. I still remain mostly GUI on macOS but occasionally use the terminal, an= d especially useful for running Emacs via ssh on a remote computer (vs. tra= mp).</div></div><br><div class=3D"gmail_quote gmail_quote_container"><div d= ir=3D"ltr" class=3D"gmail_attr">On Fri, Dec 13, 2024 at 11:42=E2=80=AFAM Sh= ip Mints <<a href=3D"mailto:shipmints@HIDDEN">shipmints@HIDDEN</a>= > wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px = 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div= dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:monospace">W= hat you describe is normal behavior, even if it appears confusing. It's= an "impedance mismatch" between <a href=3D"http://terminal.app" = target=3D"_blank">terminal.app</a> and being in a "curses" window= . Terminal doesn't "see" selected text and hence Command-C is= disabled. This is the opposite for a basic shell where terminal sees the t= ext because it=C2=A0controls selection. You can see this by pulling down th= e Edit menu and seeing Copy grayed out. As far as how xterm-mouse-mode inte= rferes with Command-C I'd have to disable it myself and see what's = going on. Not sure how much value that adds, though. If you enable xclip, y= ou'll get what you want being inside Emacs, after all,=C2=A0using M-w g= ets your selected text copied to the pasteboard.</div></div><br><div class= =3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, Dec 13, 2024= at 11:35=E2=80=AFAM Filipp Gunbin <<a href=3D"mailto:fgunbin@HIDDEN= m" target=3D"_blank">fgunbin@HIDDEN</a>> wrote:<br></div><blockquot= e class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px s= olid rgb(204,204,204);padding-left:1ex">On 13/12/2024 09:21 +0200, Eli Zare= tskii wrote:<br> <br> >> From: Ship Mints <<a href=3D"mailto:shipmints@HIDDEN" target= =3D"_blank">shipmints@HIDDEN</a>><br> >> Date: Thu, 12 Dec 2024 15:31:00 -0500<br> >> Cc: <a href=3D"mailto:fgunbin@HIDDEN" target=3D"_blank">fgunb= in@HIDDEN</a>, <a href=3D"mailto:74833 <at> debbugs.gnu.org" target=3D"_bla= nk">74833 <at> debbugs.gnu.org</a><br> >> <br> >> I have xterm-mouse-mode enabled when in tty mode on macOS and it d= oes work for clicking/selecting but<br> >> this is independent of integrating the kill ring with the pasteboa= rd. I am unaware of how to test the<br> >> completeness of the xterm mouse protocol support, however.<br> ><br> > So why is this an Emacs bug?=C2=A0 It sounds like the OP expects somet= hing<br> > to happen which shouldn't, because the xterm protocol for selectio= ns<br> > and the clipboard are not supported by Terminal.app?=C2=A0 In that cas= e,<br> > this could be at best a feature request, not a bug.<br> <br> I'll try to explain differently.<br> <br> Without xterm-mouse-mode you can copy/paste from/into Terminal.app<br> window, looks like Terminal.app gives this ability on its own.=C2=A0 This i= s<br> not integration with Emacs kill ring, no.=C2=A0 Emacs cursor does not react= <br> to mouse clicks, and selection happens with OS mouse pointer.=C2=A0 Paste<b= r> works rather slow (bad idea to paste large chunks of text), but<br> tolerable.<br> <br> Now, yesterday my daily master build got me xterm-mouse-mode enabled, so<br= > I did some testing just out of curiosity.=C2=A0 Most of the things work,<br= > including clicking and selection.=C2=A0 However, Command-C now just doesn&#= 39;t<br> copy text to OS clipboard.=C2=A0 And it's non-obvious that you should d= isable<br> xterm-mouse-mode to be able to copy.<br> <br> That's why I filed this bug - because previous behavior was not ideal<b= r> but working, and now only paste works.<br> <br> Maybe we should just avoid enabling xterm-mouse-mode in Terminal.app.<br> Maybe functionality of xclip should be in core.<br> </blockquote></div> </blockquote></div> --0000000000001031ac062929ab21--
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 13 Dec 2024 16:49:54 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 13 11:49:54 2024 Received: from localhost ([127.0.0.1]:43949 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tM8rR-0008IB-9I for submit <at> debbugs.gnu.org; Fri, 13 Dec 2024 11:49:54 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43294) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tM8rP-0008Hw-6M for 74833 <at> debbugs.gnu.org; Fri, 13 Dec 2024 11:49:51 -0500 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@HIDDEN>) id 1tM8rI-0008ED-7F; Fri, 13 Dec 2024 11:49:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=W0YShFlT5/nLmkcqZUjm2UMgGyzaj0Cv5GALjp4cyqY=; b=ZXlf5euXjPIR B8IcGgbzw4yCSwUZeWzqlopJ1OZPdAYeq4kwJ5LOMkOh7it5PmjEP6mJafyBGa9Pa1zBqGLdpMtfx R068B0jGu3J+A+0VYRyyLGDIrRVYwWglQBO95irRtP7dHBz36wx2mYiX6K9/3N6OSbSqDzAKbSdsy QAOnbMGLWTm0eJC/qDJj1kAv3SvwOammp0E7XjYYKe2AO7I3S/9ObBzI1E5+M272m0s4G0WTvcE4D p1LAqOfLpXHiNUL1PdED9s2DlIeLiq7Du2rj/MORCc+hKElv4R3UKILPjD43jFzKPVzj3WX9zoht3 tMcGvnImskzi61qJWO9Zeg==; Date: Fri, 13 Dec 2024 18:49:40 +0200 Message-Id: <86y10jwmsb.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Filipp Gunbin <fgunbin@HIDDEN> In-Reply-To: <m1y10jo81o.fsf@HIDDEN> (message from Filipp Gunbin on Fri, 13 Dec 2024 19:35:15 +0300) Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74833 Cc: 74833 <at> debbugs.gnu.org, shipmints@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Filipp Gunbin <fgunbin@HIDDEN> > Cc: Ship Mints <shipmints@HIDDEN>, 74833 <at> debbugs.gnu.org > Date: Fri, 13 Dec 2024 19:35:15 +0300 > > On 13/12/2024 09:21 +0200, Eli Zaretskii wrote: > > > So why is this an Emacs bug? It sounds like the OP expects something > > to happen which shouldn't, because the xterm protocol for selections > > and the clipboard are not supported by Terminal.app? In that case, > > this could be at best a feature request, not a bug. > > I'll try to explain differently. > > Without xterm-mouse-mode you can copy/paste from/into Terminal.app > window, looks like Terminal.app gives this ability on its own. This is > not integration with Emacs kill ring, no. Emacs cursor does not react > to mouse clicks, and selection happens with OS mouse pointer. Paste > works rather slow (bad idea to paste large chunks of text), but > tolerable. > > Now, yesterday my daily master build got me xterm-mouse-mode enabled, so > I did some testing just out of curiosity. Most of the things work, > including clicking and selection. However, Command-C now just doesn't > copy text to OS clipboard. And it's non-obvious that you should disable > xterm-mouse-mode to be able to copy. xterm-mouse-mode is supposed to be enabled only on terminals that load xterm.el, which means they are xterm-compatible. Does Terminal.app load xterm.el on startup? > Maybe we should just avoid enabling xterm-mouse-mode in Terminal.app. It should already be so, AFAIU. > Maybe functionality of xclip should be in core. Only if its developer submits it for inclusion.
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 13 Dec 2024 16:44:02 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 13 11:44:02 2024 Received: from localhost ([127.0.0.1]:43933 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tM8li-00081F-8R for submit <at> debbugs.gnu.org; Fri, 13 Dec 2024 11:44:02 -0500 Received: from mail-vk1-f181.google.com ([209.85.221.181]:49337) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>) id 1tM8le-00080y-Qb for 74833 <at> debbugs.gnu.org; Fri, 13 Dec 2024 11:43:56 -0500 Received: by mail-vk1-f181.google.com with SMTP id 71dfb90a1353d-5187aa2c97dso552147e0c.2 for <74833 <at> debbugs.gnu.org>; Fri, 13 Dec 2024 08:43:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734108169; x=1734712969; 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=hgLnQ9yP7q/Sy34OZiUdZypUNZTBKb/6x+kc7RRiyIQ=; b=HdrAB3i3Bb1D6XbFQF6TRm881HAaClVoSsib0DgghHfo/B1eVHwmSoJoM40CtGZevj PffYGhcZyTAMHKnRB9gAS+QTrxqe8CRnm51pOysZ9+p42f5zqyiD1THRd5gQIhA3rEo3 VylkpHozCApfakzDojdPsFem6uD0ICHN1GlvNpSH1QNhW2xShNbAwHUwoD55KvUN04q/ c3E35cW9fz+FGE1GhU4wdF6laugFnh1nI25UvRQSLib/6XRTgG3WZMyj4MzHaBnKO96s qWTQY5er1iReLR3I3otfbcL93zfqKRyL2YtVqUezdZDr0wKxlILRFgMI8MEteQYHzNJd aT2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734108169; x=1734712969; 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=hgLnQ9yP7q/Sy34OZiUdZypUNZTBKb/6x+kc7RRiyIQ=; b=C+AOWc3JKsBoDRcFTo9FKMpBhXgh6dd0AHjy8dlmtS7BMOQNunk5hW5VQYzk8xBBwE 0+NX4a6ZrdVkLq48lSLi6VrbPxxb+RXhn/a08/5qBVEdnrfjipAYlC61UJETHU1IYX7U 6tXCG8rbaq6+oW6X1AtAPFPomnviqwJSWJs78iX4fF4SAY0Rs/jiaqJAuOhRJ5pH6EKW eSrUo/Vz14Jh2V5xsp/kdOXp3OQcHNUeH76PA7B3t592GhJd66OmVz4otR7MoGUQK+F5 q/a9LgbSp06B0kOBXGAetJTsubbgf1htjT5H7MTYuNlOMp4LqLDydb8KGajUgbSZ28+N jB6g== X-Forwarded-Encrypted: i=1; AJvYcCXICuRtYxGgXqjQvBFk2kylhwr6sxUkcr/i0Ye/xdP5xefql0j5NsE5N9kEITUCkjAcJWTwSw==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yy9SUi8+J3BzrvqIfOyHUAP6JufUSeZ72IQZ4NnE3Qjh/iUH37+ wLUU1GyafdCy33+8+oJBRa2KFlzkzMpMsSdQvZ1KFWrYlnWZozJt9LD8BcAsWVuroU2vFndGtBi dDrKu6V+dO68+sxZkK3oEqLuoUAs= X-Gm-Gg: ASbGnctKFnf2dzzMpSV14TRhFq8l44wfCiRx9vZRCiMeUbj8m/xCtjjw+s3HZcmSu1m qTqR/6nzOD69IoVKbWQoAipmX2VpYFquSkYDZZg== X-Google-Smtp-Source: AGHT+IGcLTALX33Q7x+BYEE4NpssSY83ldjFJYmdLxzKgamThlJzUieYOXP4zJ/ubTY8PriPWO1tSbSRIcPUIrvMH5k= X-Received: by 2002:a05:6122:91e:b0:515:e446:b9f9 with SMTP id 71dfb90a1353d-518ca48f016mr3477722e0c.12.1734108169169; Fri, 13 Dec 2024 08:42:49 -0800 (PST) MIME-Version: 1.0 References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> <m1y10jo81o.fsf@HIDDEN> In-Reply-To: <m1y10jo81o.fsf@HIDDEN> From: Ship Mints <shipmints@HIDDEN> Date: Fri, 13 Dec 2024 11:42:06 -0500 Message-ID: <CAN+1Hbp52JGbEqJx9ogTeaJUWN_LoA_j+JNYg7oYGa1DWg9SkQ@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled To: Filipp Gunbin <fgunbin@HIDDEN> Content-Type: multipart/alternative; boundary="0000000000006cf1da06292985a2" X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 74833 Cc: Eli Zaretskii <eliz@HIDDEN>, 74833 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --0000000000006cf1da06292985a2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable What you describe is normal behavior, even if it appears confusing. It's an "impedance mismatch" between terminal.app and being in a "curses" window. Terminal doesn't "see" selected text and hence Command-C is disabled. This is the opposite for a basic shell where terminal sees the text because it controls selection. You can see this by pulling down the Edit menu and seeing Copy grayed out. As far as how xterm-mouse-mode interferes with Command-C I'd have to disable it myself and see what's going on. Not sure how much value that adds, though. If you enable xclip, you'll get what you want being inside Emacs, after all, using M-w gets your selected text copied to the pasteboard. On Fri, Dec 13, 2024 at 11:35=E2=80=AFAM Filipp Gunbin <fgunbin@HIDDEN= > wrote: > On 13/12/2024 09:21 +0200, Eli Zaretskii wrote: > > >> From: Ship Mints <shipmints@HIDDEN> > >> Date: Thu, 12 Dec 2024 15:31:00 -0500 > >> Cc: fgunbin@HIDDEN, 74833 <at> debbugs.gnu.org > >> > >> 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. > > > > So why is this an Emacs bug? It sounds like the OP expects something > > to happen which shouldn't, because the xterm protocol for selections > > and the clipboard are not supported by Terminal.app? In that case, > > this could be at best a feature request, not a bug. > > I'll try to explain differently. > > Without xterm-mouse-mode you can copy/paste from/into Terminal.app > window, looks like Terminal.app gives this ability on its own. This is > not integration with Emacs kill ring, no. Emacs cursor does not react > to mouse clicks, and selection happens with OS mouse pointer. Paste > works rather slow (bad idea to paste large chunks of text), but > tolerable. > > Now, yesterday my daily master build got me xterm-mouse-mode enabled, so > I did some testing just out of curiosity. Most of the things work, > including clicking and selection. However, Command-C now just doesn't > copy text to OS clipboard. And it's non-obvious that you should disable > xterm-mouse-mode to be able to copy. > > That's why I filed this bug - because previous behavior was not ideal > but working, and now only paste works. > > Maybe we should just avoid enabling xterm-mouse-mode in Terminal.app. > Maybe functionality of xclip should be in core. > --0000000000006cf1da06292985a2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:monospac= e">What you describe is normal behavior, even if it appears confusing. It&#= 39;s an "impedance mismatch" between <a href=3D"http://terminal.a= pp">terminal.app</a> and being in a "curses" window. Terminal doe= sn't "see" selected text and hence Command-C is disabled. Thi= s is the opposite for a basic shell where terminal sees the text because it= =C2=A0controls selection. You can see this by pulling down the Edit menu an= d seeing Copy grayed out. As far as how xterm-mouse-mode interferes with Co= mmand-C I'd have to disable it myself and see what's going on. Not = sure how much value that adds, though. If you enable xclip, you'll get = what you want being inside Emacs, after all,=C2=A0using M-w gets your selec= ted text copied to the pasteboard.</div></div><br><div class=3D"gmail_quote= gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, Dec 1= 3, 2024 at 11:35=E2=80=AFAM Filipp Gunbin <<a href=3D"mailto:fgunbin@fas= tmail.fm">fgunbin@HIDDEN</a>> wrote:<br></div><blockquote class=3D"= gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(20= 4,204,204);padding-left:1ex">On 13/12/2024 09:21 +0200, Eli Zaretskii wrote= :<br> <br> >> From: Ship Mints <<a href=3D"mailto:shipmints@HIDDEN" target= =3D"_blank">shipmints@HIDDEN</a>><br> >> Date: Thu, 12 Dec 2024 15:31:00 -0500<br> >> Cc: <a href=3D"mailto:fgunbin@HIDDEN" target=3D"_blank">fgunb= in@HIDDEN</a>, <a href=3D"mailto:74833 <at> debbugs.gnu.org" target=3D"_bla= nk">74833 <at> debbugs.gnu.org</a><br> >> <br> >> I have xterm-mouse-mode enabled when in tty mode on macOS and it d= oes work for clicking/selecting but<br> >> this is independent of integrating the kill ring with the pasteboa= rd. I am unaware of how to test the<br> >> completeness of the xterm mouse protocol support, however.<br> ><br> > So why is this an Emacs bug?=C2=A0 It sounds like the OP expects somet= hing<br> > to happen which shouldn't, because the xterm protocol for selectio= ns<br> > and the clipboard are not supported by Terminal.app?=C2=A0 In that cas= e,<br> > this could be at best a feature request, not a bug.<br> <br> I'll try to explain differently.<br> <br> Without xterm-mouse-mode you can copy/paste from/into Terminal.app<br> window, looks like Terminal.app gives this ability on its own.=C2=A0 This i= s<br> not integration with Emacs kill ring, no.=C2=A0 Emacs cursor does not react= <br> to mouse clicks, and selection happens with OS mouse pointer.=C2=A0 Paste<b= r> works rather slow (bad idea to paste large chunks of text), but<br> tolerable.<br> <br> Now, yesterday my daily master build got me xterm-mouse-mode enabled, so<br= > I did some testing just out of curiosity.=C2=A0 Most of the things work,<br= > including clicking and selection.=C2=A0 However, Command-C now just doesn&#= 39;t<br> copy text to OS clipboard.=C2=A0 And it's non-obvious that you should d= isable<br> xterm-mouse-mode to be able to copy.<br> <br> That's why I filed this bug - because previous behavior was not ideal<b= r> but working, and now only paste works.<br> <br> Maybe we should just avoid enabling xterm-mouse-mode in Terminal.app.<br> Maybe functionality of xclip should be in core.<br> </blockquote></div> --0000000000006cf1da06292985a2--
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 13 Dec 2024 16:35:31 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 13 11:35:30 2024 Received: from localhost ([127.0.0.1]:43918 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tM8dV-0007g7-QE for submit <at> debbugs.gnu.org; Fri, 13 Dec 2024 11:35:30 -0500 Received: from fhigh-b2-smtp.messagingengine.com ([202.12.124.153]:33433) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <fgunbin@HIDDEN>) id 1tM8dS-0007fl-5i for 74833 <at> debbugs.gnu.org; Fri, 13 Dec 2024 11:35:27 -0500 Received: from phl-compute-11.internal (phl-compute-11.phl.internal [10.202.2.51]) by mailfhigh.stl.internal (Postfix) with ESMTP id D7C9C2540217; Fri, 13 Dec 2024 11:35:20 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-11.internal (MEProxy); Fri, 13 Dec 2024 11:35:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1734107720; x=1734194120; bh=+Dqik4OKSm cWZoY2ZKVTNHG0hSlzwQMb3XAqQUp4Vv0=; b=DXXCeVsPA3RxAd0Owpsq+qB8c2 BMrB/yKQs1XCBxtwteK2wlV97FVbrjXXq93Z3PNo4tRWDrGbb28Rr0O7BZu3d2b+ Ko7dF2qV40AmCkTW2Uq9ftNMomcYoABJ4SnRqc8N09YxPMQbLVqPlHQipl3B5Vd/ yXA5dX3gmRG5shba6xD3+fEcFOt3DjxoE4cCj3uuHAkoIYjRtY8U2MQRuTUFx7m/ hK8q5NNzFbJkt+XgdfeuqraYKj7uQZv0sTRE999pKzgF9Jkud2S///n9Q84MkCMF RoBro9kPA+QflfNq+r8uwomcPK/7HTiLWpM+y4nF1sY6B65ImSXrQNSK0wnw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1734107720; x=1734194120; bh=+Dqik4OKSmcWZoY2ZKVTNHG0hSlzwQMb3XA qQUp4Vv0=; b=kuXZwUnwoXGGZYZSQRYY+f/rPw1+PpkwNQ1w8jCaa3ZfOgaN/Ak 1VgdjEYAGGkDRIR3kNo3T0pqF+UmyhuuzT4rHCEnuvJN1tzmwQJ1Cnj81GvosTQO kRMeGrhKP/cLD3bPO60q7s9R/YPEhIPwqtjP8pRb8KdmPPE9zxMLYT4No1S7DGEb 730QqqiVpXl4+BTE/bn3EBu58TMNph89X/8ax8kcVReGB84qXPPhTbS2b+qoWzay ck71GfnERRJPN/9w14Rl0KgnjLpQjJ+SKcEfGYyXsGhc9ObG/bpURLpQZhty8ZOv E+aQqWCAvRtarTIIEBYvWzna3hcMyaPBRCQ== X-ME-Sender: <xms:SGJcZ_5lzhP3OThdLC4jnIeby36xQjx1aKpY0tMS59-mmepblnkBCA> <xme:SGJcZ069oXCHainv91z7XqUUGn0KsC8sd8kqR479_1WbbKI2auR7uiar9IzvHR49Y eaeOsuFEXn3VhkF> X-ME-Received: <xmr:SGJcZ2cGOmSBJrxijv4oR5cbFhuGliBYQKPsQn6O1DhcdLIXp7emZZu5BwExq2aOy4G-97Q> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrkeejgdeklecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnth hsucdlqddutddtmdenucfjughrpefhvfevufgjfhgffffkgggtsehttdertddtredtnecu hfhrohhmpefhihhlihhpphcuifhunhgsihhnuceofhhguhhnsghinhesfhgrshhtmhgrih hlrdhfmheqnecuggftrfgrthhtvghrnhepfffhjeevieeiiedutefgheffleeiveeffeef tdekleehledufeeuueduheevieffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrg hmpehmrghilhhfrhhomhepfhhguhhnsghinhesfhgrshhtmhgrihhlrdhfmhdpnhgspghr tghpthhtohepfedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepjeegkeeffeesug gvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehshhhiphhmihhnthhssehgmhgr ihhlrdgtohhmpdhrtghpthhtohepvghlihiisehgnhhurdhorhhg X-ME-Proxy: <xmx:SGJcZwKwTEzsVLlHvcuI3ibTUf-hWoDiQTVcIlr7BKWN6eBHHFIUwQ> <xmx:SGJcZzKB5JwrEedpHLI6xyy8xWv541pWAT0iXCugGH5kZzpglUqD5A> <xmx:SGJcZ5yKXBAdFWTpu0eUOYE4ckdSVq4K_ynmmuQkOk_AQ17oylpZSA> <xmx:SGJcZ_K9XJ5ggiFB17ABVcgTvAMy2x1Ai9-YO8u2Te2DnxvCG1IveA> <xmx:SGJcZ70nOWg058vYGXd7MwfQoACNbV9wIl6LgMIpdszyM_3CWhGhTooH> Feedback-ID: id48c41f1:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 13 Dec 2024 11:35:19 -0500 (EST) From: Filipp Gunbin <fgunbin@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled In-Reply-To: <86wmg4xd2u.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 13 Dec 2024 09:21:45 +0200") References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Date: Fri, 13 Dec 2024 19:35:15 +0300 Message-ID: <m1y10jo81o.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 74833 Cc: 74833 <at> debbugs.gnu.org, Ship Mints <shipmints@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) On 13/12/2024 09:21 +0200, Eli Zaretskii wrote: >> From: Ship Mints <shipmints@HIDDEN> >> Date: Thu, 12 Dec 2024 15:31:00 -0500 >> Cc: fgunbin@HIDDEN, 74833 <at> debbugs.gnu.org >> >> 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. > > So why is this an Emacs bug? It sounds like the OP expects something > to happen which shouldn't, because the xterm protocol for selections > and the clipboard are not supported by Terminal.app? In that case, > this could be at best a feature request, not a bug. I'll try to explain differently. Without xterm-mouse-mode you can copy/paste from/into Terminal.app window, looks like Terminal.app gives this ability on its own. This is not integration with Emacs kill ring, no. Emacs cursor does not react to mouse clicks, and selection happens with OS mouse pointer. Paste works rather slow (bad idea to paste large chunks of text), but tolerable. Now, yesterday my daily master build got me xterm-mouse-mode enabled, so I did some testing just out of curiosity. Most of the things work, including clicking and selection. However, Command-C now just doesn't copy text to OS clipboard. And it's non-obvious that you should disable xterm-mouse-mode to be able to copy. That's why I filed this bug - because previous behavior was not ideal but working, and now only paste works. Maybe we should just avoid enabling xterm-mouse-mode in Terminal.app. Maybe functionality of xclip should be in core.
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 13 Dec 2024 14:48:20 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 13 09:48:20 2024 Received: from localhost ([127.0.0.1]:42202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tM6xo-00020N-57 for submit <at> debbugs.gnu.org; Fri, 13 Dec 2024 09:48:20 -0500 Received: from mail-vk1-f173.google.com ([209.85.221.173]:61459) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>) id 1tM6xj-000202-MA for 74833 <at> debbugs.gnu.org; Fri, 13 Dec 2024 09:48:18 -0500 Received: by mail-vk1-f173.google.com with SMTP id 71dfb90a1353d-5188311e61cso514165e0c.2 for <74833 <at> debbugs.gnu.org>; Fri, 13 Dec 2024 06:48:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734101230; x=1734706030; 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=Cv9QHPfM9+DnKS+c/4ArztB20UYs+tDggdIf9MsAIzA=; b=BwHYhFy28Mec7hfpkM2igpVRkHz7hO9CBlt5EfgsYWt1RxIlPxAd/doSABR7bhspTU LcJxpUwIvMWYooyJKTkJytpIa/Dwu2RHmC9qJDEcJV4Tci8fjM97DzMAtWHlNx7bedLg FznOdiPOkGVKQv4VAJIuxDxUdEZzQHwyfZRw/DNIQ6oiMMMTaByz9FWZNx6Uhq3NzWgq EvgsXRFHiKbfCjYS+xiAbeqVAyHbYFHuP0w1RX+7fIA2O55lF2srpVQbAyb3qlZJsVbw bRMRzM3KExNVlxT70SrnhrTByvBE2JwK8k27kAq6BH8/dD34sPRjL/v+OgTJMLOZpdjj FU8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734101230; x=1734706030; 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=Cv9QHPfM9+DnKS+c/4ArztB20UYs+tDggdIf9MsAIzA=; b=UYZYzMVUXpWlmBaHL611qzodwfG3J/yum1xD/AzlOJ6HHPXeFv+JWg5hXJOgSEDZQj jf3aUrHGjCCZN3YZheFUpM78nd/+ZVKMXtix8VeEpFSch87ZHTmaqR13UIPgX9MORHD5 h/PVym24Hqyg5KAw84lzMwfqgDGk5FNwwemNT5VvqehY8DGv38Xl099BF/DR+c2c85TZ feFzY0j7xfOALC8r9kiOh/USz9l6/rbJb5VACKqfIqE0LF8PDxKKVdc+ALPfY6hbCzXM T2mhJbBd+Av3LCkw66+hDXDSox3CIQ5Ne8ReMcU/aKa/Sp0lktqRRkroxUIart4o6ZG9 jb+w== X-Forwarded-Encrypted: i=1; AJvYcCUB5ATcZ8YKQ+7G3pZBq/N2cPMchcXfeeshkFCXIgjLwjsxJUsCnciib5a/rUpJr6k7RZ4YAQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yz6Si0L1Cyur8wIcQaUxUxz7FHb8n69f2KZxXGJ6GL2Y979oWPu i0FLsax5CNVHDBv03PVILiETJ4XMzwV3xe9Rt8ty0/n9bOSoFaCzAZSM6dJ30HUx/Mej5itUW+M hbmjGzqK6tmdFgN6oIpLMcLl3O24= X-Gm-Gg: ASbGncuh+1ah/68Vo8FIvTE6RljD47tt647h3YTlL87Di9obfD+xyktj6eDtf6uwyis zvfZ12vr6TaMLUgHGz38yE3Ll0WPxppoxdVH9jA== X-Google-Smtp-Source: AGHT+IHHfc1+MR/2DbxZBIfP9ki0J9LvEaHGSGRUuETRJz7Ci0wYjCSfy2uALDl7bO56pgBEhOZPb4FAmL6X32fLVX8= X-Received: by 2002:a05:6122:169b:b0:518:1cd4:4eb with SMTP id 71dfb90a1353d-518ca48517bmr2520562e0c.12.1734101230076; Fri, 13 Dec 2024 06:47:10 -0800 (PST) MIME-Version: 1.0 References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> <86wmg4xd2u.fsf@HIDDEN> In-Reply-To: <86wmg4xd2u.fsf@HIDDEN> From: Ship Mints <shipmints@HIDDEN> Date: Fri, 13 Dec 2024 09:46:27 -0500 Message-ID: <CAN+1HbqTUKoEk74gYjJWXkWcrHH8n0fXUiX5-UdkFHxuDSjthQ@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled To: Eli Zaretskii <eliz@HIDDEN> Content-Type: multipart/alternative; boundary="000000000000d2ea6c062927e7ea" X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 74833 Cc: 74833 <at> debbugs.gnu.org, fgunbin@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --000000000000d2ea6c062927e7ea Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I agree. I think OP was expressing surprise at features not working "out of the box." I suppose macOS terminal xmouse and kill-ring pasteboard integration deserve a mention in PROBLEMS. On Fri, Dec 13, 2024 at 2:21=E2=80=AFAM Eli Zaretskii <eliz@HIDDEN> wrote: > > From: Ship Mints <shipmints@HIDDEN> > > Date: Thu, 12 Dec 2024 15:31:00 -0500 > > Cc: fgunbin@HIDDEN, 74833 <at> debbugs.gnu.org > > > > 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. > > So why is this an Emacs bug? It sounds like the OP expects something > to happen which shouldn't, because the xterm protocol for selections > and the clipboard are not supported by Terminal.app? In that case, > this could be at best a feature request, not a bug. > --000000000000d2ea6c062927e7ea Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:monospac= e">I agree. I think OP was expressing surprise at features not working &quo= t;out of the box." I suppose macOS terminal xmouse and kill-ring paste= board integration deserve a mention in PROBLEMS.</div></div><br><div class= =3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr= ">On Fri, Dec 13, 2024 at 2:21=E2=80=AFAM Eli Zaretskii <<a href=3D"mail= to:eliz@HIDDEN">eliz@HIDDEN</a>> wrote:<br></div><blockquote class=3D"= gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(20= 4,204,204);padding-left:1ex">> From: Ship Mints <<a href=3D"mailto:sh= ipmints@HIDDEN" target=3D"_blank">shipmints@HIDDEN</a>><br> > Date: Thu, 12 Dec 2024 15:31:00 -0500<br> > Cc: <a href=3D"mailto:fgunbin@HIDDEN" target=3D"_blank">fgunbin@f= astmail.fm</a>, <a href=3D"mailto:74833 <at> debbugs.gnu.org" target=3D"_blank">= 74833 <at> debbugs.gnu.org</a><br> > <br> > I have xterm-mouse-mode enabled when in tty mode on macOS and it does = work for clicking/selecting but<br> > this is independent of integrating the kill ring with the pasteboard. = I am unaware of how to test the<br> > completeness of the xterm mouse protocol support, however.<br> <br> So why is this an Emacs bug?=C2=A0 It sounds like the OP expects something<= br> to happen which shouldn't, because the xterm protocol for selections<br= > and the clipboard are not supported by Terminal.app?=C2=A0 In that case,<br= > this could be at best a feature request, not a bug.<br> </blockquote></div> --000000000000d2ea6c062927e7ea--
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 13 Dec 2024 07:24:13 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 13 02:24:13 2024 Received: from localhost ([127.0.0.1]:41362 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tM020-0005iv-NM for submit <at> debbugs.gnu.org; Fri, 13 Dec 2024 02:24:13 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35930) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tM01v-0005iU-M8 for 74833 <at> debbugs.gnu.org; Fri, 13 Dec 2024 02:24:11 -0500 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@HIDDEN>) id 1tLzzh-0000fg-Rg; Fri, 13 Dec 2024 02:21:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=0rFP53smyKyOmMZlrdgyYl387vkikwPXaU1sMdqyRMA=; b=rBfk2037+SlO XIRUA5uov5HTnWkqEtxKp2wwsKJbWe5Ejue1A09DNG/IN5gMQ1Yv+hSqgLTnr7RWgfWNfOWz8pQSE zFzhsr+C1+8WbQB06cCQLGOJwAxO4Ksv5jun0mukijHzSZrt2SiSdrEbZSzvpatFNwfPPy2V7ofNW iL2NwGwMpbVVwJbVUVOA5FmSCglrpeFS9FnTMZPsCxXFPi05xRUY665Nc/r713c6FSck+2qyEjm+T 92I3MtHDz5awqUR5NAdZg8cs0hlcbrnynGe/ouJJXxiF41bzP7CJkew7mELty60aNBncazU0Wydih DX5cHLHOAnmfBqbWM9GyBQ==; Date: Fri, 13 Dec 2024 09:21:45 +0200 Message-Id: <86wmg4xd2u.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Ship Mints <shipmints@HIDDEN> In-Reply-To: <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> (message from Ship Mints on Thu, 12 Dec 2024 15:31:00 -0500) Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74833 Cc: 74833 <at> debbugs.gnu.org, fgunbin@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Ship Mints <shipmints@HIDDEN> > Date: Thu, 12 Dec 2024 15:31:00 -0500 > Cc: fgunbin@HIDDEN, 74833 <at> debbugs.gnu.org > > 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. So why is this an Emacs bug? It sounds like the OP expects something to happen which shouldn't, because the xterm protocol for selections and the clipboard are not supported by Terminal.app? In that case, this could be at best a feature request, not a bug.
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 12 Dec 2024 20:32:56 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 12 15:32:56 2024 Received: from localhost ([127.0.0.1]:40527 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tLprj-0007ZH-QR for submit <at> debbugs.gnu.org; Thu, 12 Dec 2024 15:32:56 -0500 Received: from mail-ed1-f50.google.com ([209.85.208.50]:52427) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>) id 1tLprh-0007Yw-QO for 74833 <at> debbugs.gnu.org; Thu, 12 Dec 2024 15:32:55 -0500 Received: by mail-ed1-f50.google.com with SMTP id 4fb4d7f45d1cf-5d0d32cd31aso1176181a12.0 for <74833 <at> 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) MIME-Version: 1.0 References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> In-Reply-To: <86y10ky9wf.fsf@HIDDEN> From: Ship Mints <shipmints@HIDDEN> Date: Thu, 12 Dec 2024 15:31:00 -0500 Message-ID: <CAN+1HbrAA9HuGp-VFfQUbFLfu87B=2u6xYKs-=RR64p4Z7Ozfw@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled To: Eli Zaretskii <eliz@HIDDEN> Content-Type: multipart/alternative; boundary="000000000000758d990629189a4c" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74833 Cc: 74833 <at> debbugs.gnu.org, fgunbin@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --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 <eliz@HIDDEN> wrote: > > From: Ship Mints <shipmints@HIDDEN> > > Date: Thu, 12 Dec 2024 14:18:47 -0500 > > Cc: Filipp Gunbin <fgunbin@HIDDEN>, 74833 <at> 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 <div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:monospac= e">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.</div></div><br><div class=3D"= gmail_quote gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On= Thu, Dec 12, 2024 at 2:32=E2=80=AFPM Eli Zaretskii <<a href=3D"mailto:e= liz@HIDDEN">eliz@HIDDEN</a>> wrote:<br></div><blockquote class=3D"gmai= l_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,20= 4,204);padding-left:1ex">> From: Ship Mints <<a href=3D"mailto:shipmi= nts@HIDDEN" target=3D"_blank">shipmints@HIDDEN</a>><br> > Date: Thu, 12 Dec 2024 14:18:47 -0500<br> > Cc: Filipp Gunbin <<a href=3D"mailto:fgunbin@HIDDEN" target=3D= "_blank">fgunbin@HIDDEN</a>>, <a href=3D"mailto:74833@HIDDEN= rg" target=3D"_blank">74833 <at> debbugs.gnu.org</a><br> > <br> > It supports a subset of mouse behavior via this user setting:<br> > <br> > <a href=3D"https://support.apple.com/guide/terminal/turn-on-mouse-repo= rting-trmlc69728a5/2.12/mac/11.0" rel=3D"noreferrer" target=3D"_blank">http= s://support.apple.com/guide/terminal/turn-on-mouse-reporting-trmlc69728a5/2= .12/mac/11.0</a><br> <br> That doesn't tell enough.=C2=A0 xterm.el and xterm-mouse assume full<br= > support for the xterm protocols, so partial support could well explain<br> why things don't work.<br> <br> In general, I don't recommend turn on xterm features on terminals<br> other than xterm, unless they are faithful emulations of xterm.<br> </blockquote></div> --000000000000758d990629189a4c--
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 12 Dec 2024 20:08:24 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 12 15:08:24 2024 Received: from localhost ([127.0.0.1]:40449 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tLpTz-0006Gb-Fm for submit <at> debbugs.gnu.org; Thu, 12 Dec 2024 15:08:23 -0500 Received: from mail-ej1-f44.google.com ([209.85.218.44]:49186) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1tLpTo-0006GD-OH for 74833 <at> debbugs.gnu.org; Thu, 12 Dec 2024 15:08:19 -0500 Received: by mail-ej1-f44.google.com with SMTP id a640c23a62f3a-a9ec267b879so85270366b.2 for <74833 <at> debbugs.gnu.org>; Thu, 12 Dec 2024 12:08:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734034027; x=1734638827; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=/iHY0E33dBU9SF8Y+IRrdkK25SduLLOO7zbneRZuCtA=; b=nFw7gjTJBcq4GPIGEckvA5dOZiQciy/P/kWnC2FUV1rDyum8Re9t0k7ueH2Sx69K9O VDyofIGhYTcsK10repTvlAxKVm1PrlIvTicOZQ+c4NasmIl9JzPBLyx3xmYTbiHg3SaR AsaZouoWFDKVBg8ugH7BluSXM66HqB2k8+bjlOiG3soTMQXATe3rzBdFyXxszr8ROIx2 GbDM59zQaai9uXZQM9OgW1Y5lM/JO4qcmHHc0Q1kaOsDBEoifWHTS6C00mtK396XQUUx GxK2QAV0Uq2QgGZvLMLbn4yks4/Djojud85DhkRNFkSpZNDEGFgAlu0apUCIg5TkVRrj gbxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734034027; x=1734638827; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=/iHY0E33dBU9SF8Y+IRrdkK25SduLLOO7zbneRZuCtA=; b=nSByVSsp3U1MRP1U8UDuC5g6em19vrQKlGz+kqODiTfvUXEX/+dKgWMXbjo/2E9TL5 OS4WHsFRgF9PaMLDxaan4wD/TTFLofZpL9G9bl61Vr+R4CkEgJZyKJ5hPBOnMBP/05AS h7WvnGmtaOtTTSTaFUDe43IFcJqoA91mE713j//WD5ezY0DMFOxhWuDfp1nefW2dbLtE j45BTIgxdO0behF5IJ9FPIvqS4jnS9iz5CuyWzHExxQkf5OsJAettfSUaAIE4hASV3J+ txT/gdb9PRwTQnNbNjIKmtfjdr8hbOMcc9SKcldOTDInyK63/3R7Go2tkNLB3FIYGvKQ cLKw== X-Forwarded-Encrypted: i=1; AJvYcCXXcxO5SNy0SgdpyauajCZWPHnBRY0S1m10G9NyWMIkkhUerndVxM6+e7YugfKKKG+I3G6wrQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzcaD9RqtVEQ1WtwUraIn/ZQaDzzvP1Gey79Nnq1XcPv2Tz420c gyFg8I8aGGAtwcBwfQ5Udc4zNiL5VUDscfvxzqSiXB+kjAdMPiaJ X-Gm-Gg: ASbGncvbE8sxkYH6iuAKfTEl8c+TaRc7TYEbNFMA2skUtuSrpIj3MR31+6e6f6CvDU1 LEJ4qEQXozEz2XNZBkzRPNhX8Ix07+UT4VTfa8pl5SBHQqqCDR3Fr72wui2iAatp1w7n2Xd4owz w3T4foLj/QyNiRvaOErlRzERSOQWpGJyFrp9FDlgB9sX3JM3ly943HeTxDWX00eUukJBV/lQ/AD JoVyW7Y5HraBdEKVKHM/Gv84PUXo6H8GtpnBTJKULKvZ2tWy/csN3tzoMHV2gBF8Tzt3KgMm3ae nUYSRGm95bwdKunF2UKCK7o4+fLkQBnr8v3wsSYPzKHN41sSRNp4d7m15t4dyRJhSQ== X-Google-Smtp-Source: AGHT+IE8I1VYIW74h6yLdgjV6xOboi9yZebUVARQLxU030m3AxSq4esjWIjO85ffMcN2zwFB11wR2w== X-Received: by 2002:a17:907:7e8e:b0:aa6:8bb4:503a with SMTP id a640c23a62f3a-aab76ceb188mr5585566b.0.1734034026505; Thu, 12 Dec 2024 12:07:06 -0800 (PST) Received: from pro2 (p200300e0b71a7600d154e1b5a86cbe2e.dip0.t-ipconnect.de. [2003:e0:b71a:7600:d154:e1b5:a86c:be2e]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aa69afa395csm498514966b.71.2024.12.12.12.07.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Dec 2024 12:07:06 -0800 (PST) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled In-Reply-To: <86y10ky9wf.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 12 Dec 2024 21:32:48 +0200") References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> <86y10ky9wf.fsf@HIDDEN> Date: Thu, 12 Dec 2024 21:07:05 +0100 Message-ID: <m28qskhdhy.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74833 Cc: 74833 <at> debbugs.gnu.org, fgunbin@HIDDEN, Ship Mints <shipmints@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eli Zaretskii <eliz@HIDDEN> writes: >> From: Ship Mints <shipmints@HIDDEN> >> Date: Thu, 12 Dec 2024 14:18:47 -0500 >> Cc: Filipp Gunbin <fgunbin@HIDDEN>, 74833 <at> debbugs.gnu.org >> >> It supports a subset of mouse behavior via this user setting: >> >> https://support.apple.com/guide/terminal/turn-on-mouse-reporting-trmlc69728a5/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. There is, for some reason, a checkbox in Terminal.app Settings dialog with which one can make Terminal.app not send xterm mouse escape sequences. If it's off when Emacs runs it doesn't get informed about mouse clicks and so on. So nothing happens.
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 12 Dec 2024 19:56:22 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 12 14:56:22 2024 Received: from localhost ([127.0.0.1]:40430 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tLpIH-0005eH-7c for submit <at> debbugs.gnu.org; Thu, 12 Dec 2024 14:56:22 -0500 Received: from mail-ed1-f47.google.com ([209.85.208.47]:52733) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1tLpID-0005e4-H8 for 74833 <at> debbugs.gnu.org; Thu, 12 Dec 2024 14:56:14 -0500 Received: by mail-ed1-f47.google.com with SMTP id 4fb4d7f45d1cf-5d3f28881d6so1179257a12.1 for <74833 <at> debbugs.gnu.org>; Thu, 12 Dec 2024 11:56:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734033312; x=1734638112; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=m/xS1pmtvtfX8Yq0S23HdP6ruLZcX6VleuAQFugjZIw=; b=FXs6law6ahOk1+ovPIqXA0CvrPhWs1plHcUGC5HHNnpCX/trRacFNq37ceUsmwZVfq 3r1Q6ly5D2Aj2S839rWT30dE6lK0HhZSyYJRARmVV30o/IV9Ucztbo7offr3cQFQLneu sS0b9Kh27E6EqINIjHIzzVQ3D//4GnOGBHrWBO0IwszM4EA/JYjhCz8YR3NYHSOYVs8H Ft5qOR7Jk19ZhMfHYo2u+X3JdAQVfL3aBgyPflrrLdAy4K5VFhr2/kn9rNznjj3+ImYv W2FtczUK34VFSY2faN8nS6zF1NFpUCwWmKV7410NLmzr5Dfb2b/K2mnUvuA/vUWt6Iu0 QTCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734033312; x=1734638112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=m/xS1pmtvtfX8Yq0S23HdP6ruLZcX6VleuAQFugjZIw=; b=FK28D6t4PdV6qaz/sRdOVIypXGHjATrmT0vMvccY5EkTOCCM0fbGViAHuVNJ7hYaH5 kfLX4btRPxe1eNMtBSzDk1zaauHU/8HHSBJg1Q1f0WUCRBETaeOTVorO8pwdywr/qTib MQGTHvOTaupDofWOzIvd0Q1eTl41UnDtVd+tudMUym+K0hqUp5OEwHHkXZvAB0i8K4sx d2By011MW9NMe+p1VpEU8OkvpzHuxvaJ0GH2VdM0VybV4BK7+ijhqa9OpIx7TyyZkvwP gRPddLlzUI3DygAKD/f3gTdpPgaVhBgJ4JmaLgfP22t7XnLXZ60W/HrpzP2nu0FF6tsd mJjw== X-Forwarded-Encrypted: i=1; AJvYcCU6uXI8scYmRE/jPTgOG6hHQjIPYW0QnUFsGcYBl5xD0kRZXFB51SoreBMVa0w9ke79ko5Y6Q==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yy88ZB+41UEm9slyqvgEmv583JhVYb3gKtk1X8caq5FgRcAsDpo hrUsclYTXB3MdsYdVbL0QCXrcpwU6kbl4VxpXeiCzpFpTKdZIXgo9+0JMzP2 X-Gm-Gg: ASbGnctcLHna6m2hcMZfHVkuOkou89QPc4vbPlIRMAJo5nj9updaa1Cadn9orRTY/HJ YK2SXzKu3qpRpZ136YML78Q+Mie1pu/BEI+F9aSHsbAJKRaD6L6Hc1UJVRxgGKLWHd+IA4zSzCc h4gL8oC+8Wi8nA7mOoiPmvuchEQsqhx3naJJHVkZ58BrqyZiR8xMP7HEAQOmcCiFNpGXB+QaDS1 3tJjn5ZY2PgJBkh2w93GhL6zC8InZp/zYChklbYw5FOkq1JgCJPw9edDHtYIaM7XeN5V8wwFJ4a pNgf9LBcIcVsuP2VvU5gzSwKKZVpqlI8g8hQMbEtQJWQqSmly1ijNMQpL0VJo/A4BA== X-Google-Smtp-Source: AGHT+IFt+iO1awBAGH2C48oeAtWD8tdg2oInWWubXit8vH7RuTX3MAUcirOA0JsrcPonRSmsAUab/w== X-Received: by 2002:a05:6402:27c9:b0:5d0:d818:559d with SMTP id 4fb4d7f45d1cf-5d63237b183mr2966846a12.11.1734033312132; Thu, 12 Dec 2024 11:55:12 -0800 (PST) Received: from pro2 (p200300e0b71a7600d154e1b5a86cbe2e.dip0.t-ipconnect.de. [2003:e0:b71a:7600:d154:e1b5:a86c:be2e]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aa6260e2c3csm1151039066b.182.2024.12.12.11.55.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Dec 2024 11:55:11 -0800 (PST) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled In-Reply-To: <8634iszpa5.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 12 Dec 2024 21:15:14 +0200") References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> Date: Thu, 12 Dec 2024 20:55:11 +0100 Message-ID: <m2frmshe1s.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74833 Cc: 74833 <at> debbugs.gnu.org, Filipp Gunbin <fgunbin@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eli Zaretskii <eliz@HIDDEN> writes: >> From: Filipp Gunbin <fgunbin@HIDDEN> >> Date: Thu, 12 Dec 2024 20:54:53 +0300 >> >> macOS, Terminal.app, xterm-mouse-mode enabled >> emacs -nw -Q >> Select something with mouse, press Command-c >> Try to paste into another program - text is not in the clipboard >> >> Perhaps this is not new, I just tried xterm-mouse-mode for the first >> time, given that it's now the default in master. >> >> Trying different combinations of select-enable-clipboard and >> select-enable-primary did not help (that variables are all I know in >> this area). > > Does the macOS Terminal.app support the xterm mouse protocol? Yes it does. The clipboard problem is something unrelated. Terminal applications can access the macOS clipboard via command line utilities pbcopy and pbpaste. I'm using the package xclip for that, which is very simple to use ;; Clipboard support in terminal Emacs using pbcopy/pbpaste. (use-package xclip :straight t :if (not (display-graphic-p)) :config (xclip-mode 1)) Command-C, Command-V in Terminal.app are used by Terminal.app itself and not by applications running in the terminal emulator. For example, to copy shell output or paste something as shell input. I don't think Terminal.app allows altering Command-V etc. so that Emacs could use them. Other terminal emulators like iTerm allow doing that. In summary, this is not a bug.
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 12 Dec 2024 19:35:10 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 12 14:35:10 2024 Received: from localhost ([127.0.0.1]:40395 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tLoxp-0004Wt-P5 for submit <at> debbugs.gnu.org; Thu, 12 Dec 2024 14:35:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tLoxm-0004S0-KE for 74833 <at> debbugs.gnu.org; Thu, 12 Dec 2024 14:35:07 -0500 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@HIDDEN>) id 1tLovb-0007kj-Mp; Thu, 12 Dec 2024 14:32:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=WRado+sK1mmjIYd6GRQZRb2hq0M+hDCIi92LVJ0mYzE=; b=B3XO+HYB5orr X8XXpaOD2CFcmrVpa1GPj1XHm0YLJ9ksJElfIlZPwFn7lCFbKzemosnZ3dC9zSlOM0fzK8viAZFkh CTV/8zA4iPThaUZxGRPXIkqEL360Xr1yjHYCPbj56oFR8abGDhbXGaJsa+s+yjLaji5iepcZfCwng R+D/SiG7t6iOW3+B4vcgKyKwxho+CIAg/KJ+H9WSveAnaLRFEFRWDu95GUNue/CzmRxQlqJJrMSzX Ict6PRyismWbXbRbUFFjZMjP+NS3JMlHtP2zcNMcxLuaYMojMHXDpU1txAEhaoUKCjg9P7LrMVXZP XpMwcXaRhdc4a+s+1StaOw==; Date: Thu, 12 Dec 2024 21:32:48 +0200 Message-Id: <86y10ky9wf.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Ship Mints <shipmints@HIDDEN> In-Reply-To: <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> (message from Ship Mints on Thu, 12 Dec 2024 14:18:47 -0500) Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74833 Cc: 74833 <at> debbugs.gnu.org, fgunbin@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Ship Mints <shipmints@HIDDEN> > Date: Thu, 12 Dec 2024 14:18:47 -0500 > Cc: Filipp Gunbin <fgunbin@HIDDEN>, 74833 <at> debbugs.gnu.org > > It supports a subset of mouse behavior via this user setting: > > https://support.apple.com/guide/terminal/turn-on-mouse-reporting-trmlc69728a5/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.
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 12 Dec 2024 19:20:42 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 12 14:20:42 2024 Received: from localhost ([127.0.0.1]:40363 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tLojp-0003lW-PK for submit <at> debbugs.gnu.org; Thu, 12 Dec 2024 14:20:42 -0500 Received: from mail-qv1-f46.google.com ([209.85.219.46]:47504) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>) id 1tLojj-0003lA-JX for 74833 <at> debbugs.gnu.org; Thu, 12 Dec 2024 14:20:41 -0500 Received: by mail-qv1-f46.google.com with SMTP id 6a1803df08f44-6d8f65ef5abso8086876d6.3 for <74833 <at> debbugs.gnu.org>; Thu, 12 Dec 2024 11:20:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734031169; x=1734635969; 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=f+EpPeNto5YF/FDO/E39dBdXD3HHfqcyQabcHxElP7I=; b=ETBP5aQhrqF5CwhOQKX7LhKby9rwiMrKSG5CKuCm2rlgQsvve/bSAA1Nf1BJMMScaP Wc+bq7yFptpdUdEAptiy29hkbyAjEVUFJZInH0VXe85qParS1B8kI+WoMHt9fFSHjjBk XDXs2ISxcaTsDJeNhc23WQp1v2z8XlVhPrr6l1YyyyBEBlr/vbYBPdjrnB259WT7VcC3 9cfgzF+WSghxhA5E/BDECWIekf7DFpfdvjc4vGbmi7n+b1Lawz8IPP4YvAqbWQLmoJwO bnyKyG624pwYizA7uNsaQJUWbTnh9xSP+oNq0V0fbnSSp447fWMQMod1jHZrlpg6Wm9d aPCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734031169; x=1734635969; 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=f+EpPeNto5YF/FDO/E39dBdXD3HHfqcyQabcHxElP7I=; b=MZG+ara31IHcGi4Kx1CMh8ohmNIZZ/mG5Mh0W0OW+r3+pMU+uDG9Q47SDAQyWBymKY NKss9C0ctCVOm9oS9EAx78PgJCJJ7aEZi96d5fNEalOEoQbcqOPSocLrlBqsDnuJ7UHm Cme7AjqBvJ4gTmWvGazMzAjJhH5rBU91KBH4kL/juEgEHhtpX63vX05ml9FE1pgqhZPJ sAC8RxpTRrlNKXZc2MZ52UxlwXrkW5jLwq0wAZc7phYQ0hDRFw9ceEoMEyTle4B8YnDp DLq92H0xU2xhZCR21lsrL7ABa/PZ9v8DAVzJYGUqbX1XnlwRl9ljUTeq+sY1bSVBg5CD t9Qg== X-Forwarded-Encrypted: i=1; AJvYcCVoJNNrhcTchlliOvBxOoJJmJ+MxsF33KLoXbT+ewFJMYwjt0T7oJ3eGI2bDoZKkTsJ/x9WNA==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwxKhoWvq+QwYuJBcJId9abVFgd+3iQI8PGrJrnTo9N4Cafv296 q4jM2RvIBp3ki56lDICgmFih/Xk7uDPpjaa2FySZRjEuddqCgTICGO9qDxSv6BQM1caW+9Hdbly 671NdKhzUk0s/pG0f5RPuTS8qRg8= X-Gm-Gg: ASbGncurbPYakJmVRNLT8ZI5L8ef0f00i30pbnMD0Pw7j+ucw60q3B7Zwp+wWUFzgq1 eZEIl66L0x3oaalZxwj+pdYZ3Wl600d2Tvf3zhg== X-Google-Smtp-Source: AGHT+IGrIVclajpgKOShU6KjG5Sj7W2pQPCwTYOogEWA5Dq+q42z6IlngU86pAbICP/LDU+w9iNLDg8giIbB+EPeBkg= X-Received: by 2002:a05:6214:2524:b0:6d8:8b9d:1502 with SMTP id 6a1803df08f44-6db0f803ed3mr21311096d6.30.1734031168889; Thu, 12 Dec 2024 11:19:28 -0800 (PST) MIME-Version: 1.0 References: <m1cyhweqhe.fsf@HIDDEN> <8634iszpa5.fsf@HIDDEN> In-Reply-To: <8634iszpa5.fsf@HIDDEN> From: Ship Mints <shipmints@HIDDEN> Date: Thu, 12 Dec 2024 14:18:47 -0500 Message-ID: <CAN+1Hbr1k9vOBfB_rSxOTPnB51wM_w132hG7k_1Y61FkBDs=tQ@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled To: Eli Zaretskii <eliz@HIDDEN> Content-Type: multipart/alternative; boundary="000000000000d9eaae0629179727" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74833 Cc: 74833 <at> debbugs.gnu.org, Filipp Gunbin <fgunbin@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --000000000000d9eaae0629179727 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable It supports a subset of mouse behavior via this user setting: https://support.apple.com/guide/terminal/turn-on-mouse-reporting-trmlc69728= a5/2.12/mac/11.0 On Thu, Dec 12, 2024 at 2:16=E2=80=AFPM Eli Zaretskii <eliz@HIDDEN> wrote: > > From: Filipp Gunbin <fgunbin@HIDDEN> > > Date: Thu, 12 Dec 2024 20:54:53 +0300 > > > > macOS, Terminal.app, xterm-mouse-mode enabled > > emacs -nw -Q > > Select something with mouse, press Command-c > > Try to paste into another program - text is not in the clipboard > > > > Perhaps this is not new, I just tried xterm-mouse-mode for the first > > time, given that it's now the default in master. > > > > Trying different combinations of select-enable-clipboard and > > select-enable-primary did not help (that variables are all I know in > > this area). > > Does the macOS Terminal.app support the xterm mouse protocol? > > > > --000000000000d9eaae0629179727 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:monospac= e">It supports a subset of mouse behavior via this user setting:</div><div = class=3D"gmail_default" style=3D"font-family:monospace"><br></div><div clas= s=3D"gmail_default" style=3D"font-family:monospace"><a href=3D"https://supp= ort.apple.com/guide/terminal/turn-on-mouse-reporting-trmlc69728a5/2.12/mac/= 11.0">https://support.apple.com/guide/terminal/turn-on-mouse-reporting-trml= c69728a5/2.12/mac/11.0</a></div></div><br><div class=3D"gmail_quote gmail_q= uote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Thu, Dec 12, 2024 = at 2:16=E2=80=AFPM Eli Zaretskii <<a href=3D"mailto:eliz@HIDDEN">eliz@g= nu.org</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"m= argin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left= :1ex">> From: Filipp Gunbin <<a href=3D"mailto:fgunbin@HIDDEN" t= arget=3D"_blank">fgunbin@HIDDEN</a>><br> > Date: Thu, 12 Dec 2024 20:54:53 +0300<br> > <br> > macOS, Terminal.app, xterm-mouse-mode enabled<br> > emacs -nw -Q<br> > Select something with mouse, press Command-c<br> > Try to paste into another program - text is not in the clipboard<br> > <br> > Perhaps this is not new, I just tried xterm-mouse-mode for the first<b= r> > time, given that it's now the default in master.<br> > <br> > Trying different combinations of select-enable-clipboard and<br> > select-enable-primary did not help (that variables are all I know in<b= r> > this area).<br> <br> Does the macOS Terminal.app support the xterm mouse protocol?<br> <br> <br> <br> </blockquote></div> --000000000000d9eaae0629179727--
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 12 Dec 2024 19:15:35 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 12 14:15:35 2024 Received: from localhost ([127.0.0.1]:40352 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tLoet-0003Vv-1D for submit <at> debbugs.gnu.org; Thu, 12 Dec 2024 14:15:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50058) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tLoer-0003Vj-Bm for 74833 <at> debbugs.gnu.org; Thu, 12 Dec 2024 14:15:34 -0500 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@HIDDEN>) id 1tLoem-0002NV-2k; Thu, 12 Dec 2024 14:15:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=HNpoaM10UWCyDGkIk7zWIzAsQ84K2sRaY/PJKrNr28M=; b=MRzzaucITgc/ O/KJvlLrPoiWLEfwfZUjRBRmAafylMIzpSgF4ULvT450RN3Gs8/LSXbtg+utrrRwxdZ4QvSJE8cL5 jTr8WcdVsHob704lV4026BlxjFFoo/Is9B7wz8ytIu75Y7wibjzf0rjQmjH/LnVbyMH+Kd41B7peB bjNBeCS9QTpEgiuRWS4eU3MjofIjYzTvDN7ldd4VvJcLJPw5UoIMk/FABM/wUk5tHSHVsB23a8IEy HJOWsBWZkBIiPCmJnSYCrSX14lj70bgp/OmPFSPTFelfVDy3fqb8+ccmnlakcrDBtfRadowOa/BuH /hPN7n0E2cP0Tyqx0DChRQ==; Date: Thu, 12 Dec 2024 21:15:14 +0200 Message-Id: <8634iszpa5.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Filipp Gunbin <fgunbin@HIDDEN> In-Reply-To: <m1cyhweqhe.fsf@HIDDEN> (message from Filipp Gunbin on Thu, 12 Dec 2024 20:54:53 +0300) Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled References: <m1cyhweqhe.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74833 Cc: 74833 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Filipp Gunbin <fgunbin@HIDDEN> > Date: Thu, 12 Dec 2024 20:54:53 +0300 > > macOS, Terminal.app, xterm-mouse-mode enabled > emacs -nw -Q > Select something with mouse, press Command-c > Try to paste into another program - text is not in the clipboard > > Perhaps this is not new, I just tried xterm-mouse-mode for the first > time, given that it's now the default in master. > > Trying different combinations of select-enable-clipboard and > select-enable-primary did not help (that variables are all I know in > this area). Does the macOS Terminal.app support the xterm mouse protocol?
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 12 Dec 2024 18:22:18 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 12 13:22:18 2024 Received: from localhost ([127.0.0.1]:40265 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tLnpJ-0000hM-W5 for submit <at> debbugs.gnu.org; Thu, 12 Dec 2024 13:22:18 -0500 Received: from mail-vs1-f41.google.com ([209.85.217.41]:51441) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>) id 1tLnpB-0000h0-Qu for 74833 <at> debbugs.gnu.org; Thu, 12 Dec 2024 13:22:16 -0500 Received: by mail-vs1-f41.google.com with SMTP id ada2fe7eead31-4afdf8520c2so236367137.2 for <74833 <at> debbugs.gnu.org>; Thu, 12 Dec 2024 10:22:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734027669; x=1734632469; 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=8X+v3LL7eEafFLNUl7+wzUhVjE/4LpLI1fBiZjM9ls0=; b=Swh5X/kKrJXF6mrhYlHbm803izT4sT+ht49/BIDOYrhaTn5mXAnzUMu+L0DXPNRA0V A/RvC3SxuVBuc2eZAiiPo+gJwwW3f9rqQ6ABTjefAKpCF2HMUY05HVqx6VOhCJlGTid8 JJxUViCWapR05dneBMtXYk8oXL6FsoetCXeRO9OjuWen67asMX+pjRJ2UB8W+aUX+enl 0lKTsa26sJk7B6+WTnhM8LiT4scbob+CTd47TLyXgSewWENh4BoVU7/hJBJEMOgZSmLI Hf9H5yGNjnBIj2Dq4bKAwm4X5vQnx2kp8XSUmKzt2LyIhf2cZPtujlyKehmv6Nqlzfl9 3DqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734027669; x=1734632469; 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=8X+v3LL7eEafFLNUl7+wzUhVjE/4LpLI1fBiZjM9ls0=; b=uf6xSmf2Ra4OsMho7Gm1IpO8S16h09J5DhspPLsMs1COTXwF2U0R7xk8LJegBkxPSz VIULU0U6Kvug6ZqQCYobrCkvnxIQhdopwUHZ2pKwSPfuN0Sb4TS5PZiemNnTIj5QwtdR MSkSAnt7MxnViEZZ4cgmttfJO5hfLKK37zeIv1Pet8uAK/+ADpg04T8H4gt6DktixjNr TEW38d7yHfnvo8GmjnSfWvI0QSbezDyhq5KgSDZEYUSfsxPjRwlhCgKjdol6Domf/2u/ 9Ejol82C0URo4HNACRSavAKZnRluYa3Ah1g4uyFzwCq7yvEF4Rk1LN+hSq7YXekbhq2N xitQ== X-Gm-Message-State: AOJu0YyDgNbPtoEcKvDhlPJ2Em1t0G7lXAHGTviX8is4cuAORtYy3iNl OhNnsx3m38hET8FUjHnalyokInJaTsz12Tx/h2TSrVhz8dg6idoeoPv8AoqEPDIxoV02g1dLIW7 Jay9/7kEVNw/zCca8TXQY8Ntg5iw= X-Gm-Gg: ASbGncu/xcCxh76UzbDQr4NksFbkEdBteLudPbnrphIt5ABYmBzC9tSMb8H+cKn0m1l LFM0+tdDLgs6fXWFQ5qm6q8/cIjyyAld697kTaQ== X-Google-Smtp-Source: AGHT+IHHPkqOaIS/54Dr+wIwXq7jNGNpgijAnf4QHA4ua50i9H2/Ed5qtvvhr8zL7L+yikjsEdIYqYNqABXxqePRcEc= X-Received: by 2002:a05:6102:4b86:b0:4b2:49dc:44cf with SMTP id ada2fe7eead31-4b257f13c4cmr2836374137.2.1734027669038; Thu, 12 Dec 2024 10:21:09 -0800 (PST) MIME-Version: 1.0 References: <m1cyhweqhe.fsf@HIDDEN> <CAN+1HbpetQ=KqYqEbFdr=+Ke7MBmvTKb7tKrznNapd4srt5-rA@HIDDEN> <m18qskepdw.fsf@HIDDEN> In-Reply-To: <m18qskepdw.fsf@HIDDEN> From: Ship Mints <shipmints@HIDDEN> Date: Thu, 12 Dec 2024 13:20:27 -0500 Message-ID: <CAN+1Hbq4zURJ9Z46KDQS0VfO+FY_rTgz6+4r0MpFXUStqokA2g@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled To: Filipp Gunbin <fgunbin@HIDDEN> Content-Type: multipart/alternative; boundary="0000000000003e6c89062916c7b2" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74833 Cc: 74833 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --0000000000003e6c89062916c7b2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I think that's because Terminal.app is providing paste, not Emacs. If you use Emacs commands to put text into the kill-ring, it has to make it from there into the pasteboard/clipboard and that's what xclip does for you. On Thu, Dec 12, 2024 at 1:18=E2=80=AFPM Filipp Gunbin <fgunbin@HIDDEN>= wrote: > On 12/12/2024 13:08 -0500, Ship Mints wrote: > > > You need something like https://elpa.gnu.org/packages/xclip.html to > assist > > connecting macOS terminal Emacs to the system pasteboard/clipboard. > > Thanks, BTW paste with Command-V works, it's just copy that doesn't > work. Probably I'll disable xterm-mouse-mode anyway, but it would be > nice to have this resolved in Emacs. > --0000000000003e6c89062916c7b2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:monospac= e">I think that's because Terminal.app is providing paste, not Emacs. I= f you use Emacs commands to put text into the kill-ring, it has to make it = from there into the pasteboard/clipboard and that's what xclip does for= you.</div></div><br><div class=3D"gmail_quote gmail_quote_container"><div = dir=3D"ltr" class=3D"gmail_attr">On Thu, Dec 12, 2024 at 1:18=E2=80=AFPM Fi= lipp Gunbin <<a href=3D"mailto:fgunbin@HIDDEN">fgunbin@HIDDEN<= /a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0= px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">O= n 12/12/2024 13:08 -0500, Ship Mints wrote:<br> <br> > You need something like <a href=3D"https://elpa.gnu.org/packages/xclip= .html" rel=3D"noreferrer" target=3D"_blank">https://elpa.gnu.org/packages/x= clip.html</a> to assist<br> > connecting macOS terminal Emacs to the system pasteboard/clipboard.<br= > <br> Thanks, BTW paste with Command-V works, it's just copy that doesn't= <br> work.=C2=A0 Probably I'll disable xterm-mouse-mode anyway, but it would= be<br> nice to have this resolved in Emacs.<br> </blockquote></div> --0000000000003e6c89062916c7b2--
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 12 Dec 2024 18:18:50 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 12 13:18:50 2024 Received: from localhost ([127.0.0.1]:40254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tLnlx-0000Tn-GJ for submit <at> debbugs.gnu.org; Thu, 12 Dec 2024 13:18:50 -0500 Received: from fhigh-b5-smtp.messagingengine.com ([202.12.124.156]:37577) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <fgunbin@HIDDEN>) id 1tLnlu-0000TO-67 for 74833 <at> debbugs.gnu.org; Thu, 12 Dec 2024 13:18:47 -0500 Received: from phl-compute-06.internal (phl-compute-06.phl.internal [10.202.2.46]) by mailfhigh.stl.internal (Postfix) with ESMTP id 9834F2540169; Thu, 12 Dec 2024 13:18:40 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-06.internal (MEProxy); Thu, 12 Dec 2024 13:18:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1734027520; x=1734113920; bh=F+Jo/u5v0y 7GHWK7dgZZSWMmYlwmEuajTQREN/cRY7M=; b=a7Mc1wXpykLkL5sfAlHwa8+kkX BoJ5fFDDcgal3YEhdC6kcT5uzu8XjKj+DnslyCr7aaT9jMjxbN1cjye3LTbBdvM5 2qILj/RQIciAtsCcHjmQq15i/og+FQrF3EDp/qUNv0IwTTyv26HBhy1EwI3R16yP UvSKAYAcTE+FuDZincAyCAiXvHL01LHE5AxV/v0Kj5QJ+VjI/QQZS8LXT6rngtAp QL1MM7ViaCGlIrgod1aSqZdYzB3MhOEL4UdT/vJVbMOnVr20YpSW/e3EYY/7ZGSJ 5mH56uBe0C15Q5kkqqhlaRQmAsxTTXmA2qIpXHs22yxVLmGqW4qrhCefHVjw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1734027520; x=1734113920; bh=F+Jo/u5v0y7GHWK7dgZZSWMmYlwmEuajTQR EN/cRY7M=; b=B2zk7aW7q/TjmWIhdB7QSs1LCMvuhE1UigHkRcxhJ7XANPnq7Lk 9nuCJ90orCpJg3Zy3KiYhbI+odVPf6aHKmoND/P4xNs+W/Pi51BoWr+N4eoWqSoW cE/7TsCs757zT2RiEgg4ScOrVy4xI8I7SK/LY0/N8wV3QPd7xA9DawzeMhCVLW6H AkAgeTkRQabP7kMbDwwV0a7cxSagUNfdRqiEOch+wzw00jDDOUrpnJ10gCghOKhm 7blAgOhJEgf5oMgjrI1X+7T5QJopq73BYzPYvmOAOy1zgqbCs608dVKufTrsD+DK pIoa6PSxna0XpzSw2gJd+qGjONeQdqiEwbA== X-ME-Sender: <xms:AClbZ10JCca4eZmfOIcXWOeVXCAemWtJFGR5LQpsuJ-nHKSMH-MysQ> <xme:AClbZ8Gm9P9wbtekUcgAeT4UxdhfkSbt-01-ySMhN8Lg5eGyb1keHPb4oNj13fpjJ 6DD2miSBfISxwQn> X-ME-Received: <xmr:AClbZ16-SNgNU8bPuQDPMVt9RTLIQKJx3cC190LzOBl3t2GJklb3kYuDUur9bLWH_3-Zbcw> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrkeehgddutdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhephffvvefujghffgffkfggtgesthdtredttdertden ucfhrhhomhephfhilhhiphhpucfiuhhnsghinhcuoehfghhunhgsihhnsehfrghsthhmrg hilhdrfhhmqeenucggtffrrghtthgvrhhnpeejhfeufedvfeelfeejfeffkeeglefguddv gfefvddtjeelkeehvefhveehfffhveenucffohhmrghinhepghhnuhdrohhrghenucevlh hushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehfghhunhgsihhn sehfrghsthhmrghilhdrfhhmpdhnsggprhgtphhtthhopedvpdhmohguvgepshhmthhpoh huthdprhgtphhtthhopeejgeekfeefseguvggssghughhsrdhgnhhurdhorhhgpdhrtghp thhtohepshhhihhpmhhinhhtshesghhmrghilhdrtghomh X-ME-Proxy: <xmx:AClbZy3ujLlfx816rSO5MhX0SS_dTiaQI1HV5RaiRqLnwU1rZtamuw> <xmx:AClbZ4GbvXKsQa7hn-CbHuKRovjPOC5RP5XpTBOg1Yfe8kcIqSIKug> <xmx:AClbZz-4Q-7tMsQwdN6oQA0-cQ1kanOiSzyQ9RbMiOmGOCoi9S39xw> <xmx:AClbZ1meDzkOWWquAJpMVq3Yul1RPtA57QL-7E-nD7_t-Xfu_3OdgQ> <xmx:AClbZ9Q3duNzBNSiu_-uUNZtvHv9G7Bxp3jrh4jUxEKiQYedYEyboB7B> Feedback-ID: id48c41f1:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 12 Dec 2024 13:18:39 -0500 (EST) From: Filipp Gunbin <fgunbin@HIDDEN> To: Ship Mints <shipmints@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled In-Reply-To: <CAN+1HbpetQ=KqYqEbFdr=+Ke7MBmvTKb7tKrznNapd4srt5-rA@HIDDEN> (Ship Mints's message of "Thu, 12 Dec 2024 13:08:21 -0500") References: <m1cyhweqhe.fsf@HIDDEN> <CAN+1HbpetQ=KqYqEbFdr=+Ke7MBmvTKb7tKrznNapd4srt5-rA@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Date: Thu, 12 Dec 2024 21:18:35 +0300 Message-ID: <m18qskepdw.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 74833 Cc: 74833 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) On 12/12/2024 13:08 -0500, Ship Mints wrote: > You need something like https://elpa.gnu.org/packages/xclip.html to assist > connecting macOS terminal Emacs to the system pasteboard/clipboard. Thanks, BTW paste with Command-V works, it's just copy that doesn't work. Probably I'll disable xterm-mouse-mode anyway, but it would be nice to have this resolved in Emacs.
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at 74833) by debbugs.gnu.org; 12 Dec 2024 18:10:23 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 12 13:10:23 2024 Received: from localhost ([127.0.0.1]:40231 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tLndm-0008V3-QU for submit <at> debbugs.gnu.org; Thu, 12 Dec 2024 13:10:23 -0500 Received: from mail-qk1-f170.google.com ([209.85.222.170]:61755) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>) id 1tLndb-0008Oh-Qh for 74833 <at> debbugs.gnu.org; Thu, 12 Dec 2024 13:10:12 -0500 Received: by mail-qk1-f170.google.com with SMTP id af79cd13be357-7b6c375b4f0so85357285a.3 for <74833 <at> debbugs.gnu.org>; Thu, 12 Dec 2024 10:10:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734026944; x=1734631744; 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=h8dx9f4vnvsSHaXMIb38tJRZ8Dn6d/mxidam2OK4VO4=; b=MZ3ArFa7aF6ftDG6suZYUm5re22ins36VAllks3iYVAvJoLiqn8jfPD5OwO8ofzY4+ YcSbdVQX6tB9AsxZXXe9RfkRnBGz8jf6PpiUirc1xWd9hy5awKrIXk+ojAnpUvPRrK6G PSqL3+VsVF2ty9zDaVyepbnW1tlOSrMPsnutgQVYJSzfW/HUmuyxRKOCQPLyQ8zgL1DA 41AhTa7rpg9b95dZk2dCfA30lLCBTBeF+1p8OJhFY+LZ4Fcgm4+d4XxXwN1GOViNB57q /h3uG93jQnBLMsyk76EH6AnkoTvu7fYmo/knUjyGvOlT39Rm/eGuKwUYaK8kB+vlUzbN UmdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734026944; x=1734631744; 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=h8dx9f4vnvsSHaXMIb38tJRZ8Dn6d/mxidam2OK4VO4=; b=jFG6dJuJmg+e4ImP/rZAx/aLyu5XpYqbYcAzDq0BniA524WayRy+y0DBS2lMzoX5MD 4YZ/qu+Fnf18IPIAF2HfoirgsRd+6QWZHlp2SWjYWmLCrk6lOv9kwg9L2z+eX9hPceCE Iwl08oJBrz7axiHQlRU78NEafUb96cnPkwDHHHEvRsQfNRqwGFIUQ9yN3PAV35lRES+L pKOKJBhA+4hAqA4grBxv11AKdpd+tJu+r1g0qdm+fLoQ+73RXoaoljzm0IrjK6O7C82b +lKQ4wzVzHUJo4SZNXeRwwUG0JvlBlDFW00hNT2KKEjXfb2weecWTqWelEcjl2Ed3AD2 kfWw== X-Gm-Message-State: AOJu0YzDLR8VuKOB4400nlT7N2hu0aA1kcSqnm/X14JeW4PMhHmtcP8f qbYewuHTjzCRaWBZ5Nobf8lhKPWl5+7dL5oj9tz4F34V7uFKWZlgc9dv1zeHMyvo76ca0glACKg V2RhJuM8IP3knDSZfglByP/AEpXQ= X-Gm-Gg: ASbGncslQximFPxwzAFxs1Jlns4BLRWYp1WItJobYGEH45p9wIHeHaBamx6mE2t22ly 1e6BdsXMeFhYVLTUnE7b5uuHrGj2XBJLv5Urgcw== X-Google-Smtp-Source: AGHT+IFiMxyK7uQ8Cnob78L8qPTfD1X9Snz0HhSmCRKHG6wUx5jLfxGMiHC6IYXSqCH+Ck0ojpDCy4Mu6+9sZTQTsDA= X-Received: by 2002:a05:620a:2994:b0:7b6:ebc6:181a with SMTP id af79cd13be357-7b6f89ac7bcmr184695285a.41.1734026944084; Thu, 12 Dec 2024 10:09:04 -0800 (PST) MIME-Version: 1.0 References: <m1cyhweqhe.fsf@HIDDEN> In-Reply-To: <m1cyhweqhe.fsf@HIDDEN> From: Ship Mints <shipmints@HIDDEN> Date: Thu, 12 Dec 2024 13:08:21 -0500 Message-ID: <CAN+1HbpetQ=KqYqEbFdr=+Ke7MBmvTKb7tKrznNapd4srt5-rA@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled To: bug-gnu-emacs@HIDDEN Content-Type: multipart/alternative; boundary="0000000000000882af0629169c32" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74833 Cc: 74833 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --0000000000000882af0629169c32 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable You need something like https://elpa.gnu.org/packages/xclip.html to assist connecting macOS terminal Emacs to the system pasteboard/clipboard. On Thu, Dec 12, 2024 at 12:56=E2=80=AFPM Filipp Gunbin <fgunbin@HIDDEN= > wrote: > macOS, Terminal.app, xterm-mouse-mode enabled > emacs -nw -Q > Select something with mouse, press Command-c > Try to paste into another program - text is not in the clipboard > > Perhaps this is not new, I just tried xterm-mouse-mode for the first > time, given that it's now the default in master. > > Trying different combinations of select-enable-clipboard and > select-enable-primary did not help (that variables are all I know in > this area). > > Thanks. > > > In GNU Emacs 31.0.50 (build 43, aarch64-apple-darwin23.6.0, NS > appkit-2487.70 Version 14.6 (Build 23G80)) of 2024-12-12 built on > localhost > Repository revision: 9ccd459e8452cc9e6e81e53f26bbeef20d2d5bb7 > Repository branch: master > System Description: macOS 14.6 > > Configured using: > 'configure --enable-check-lisp-object-type --with-file-notification=3Dno > --with-native-compilation=3Dno' > > Configured features: > ACL GLIB GNUTLS LCMS2 LIBXML2 MODULES NS PDUMPER PNG RSVG SQLITE3 > THREADS TOOLKIT_SCROLL_BARS WEBP XIM ZLIB > > > > --0000000000000882af0629169c32 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:monospac= e">You need something like=C2=A0<a href=3D"https://elpa.gnu.org/packages/xc= lip.html">https://elpa.gnu.org/packages/xclip.html</a> to assist connecting= macOS terminal Emacs to the system pasteboard/clipboard.</div></div><br><d= iv class=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" class=3D"gm= ail_attr">On Thu, Dec 12, 2024 at 12:56=E2=80=AFPM Filipp Gunbin <<a hre= f=3D"mailto:fgunbin@HIDDEN">fgunbin@HIDDEN</a>> wrote:<br></di= v><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;borde= r-left:1px solid rgb(204,204,204);padding-left:1ex">macOS, Terminal.app, xt= erm-mouse-mode enabled<br> emacs -nw -Q<br> Select something with mouse, press Command-c<br> Try to paste into another program - text is not in the clipboard<br> <br> Perhaps this is not new, I just tried xterm-mouse-mode for the first<br> time, given that it's now the default in master.<br> <br> Trying different combinations of select-enable-clipboard and<br> select-enable-primary did not help (that variables are all I know in<br> this area).<br> <br> Thanks.<br> <br> <br> In GNU Emacs 31.0.50 (build 43, aarch64-apple-darwin23.6.0, NS<br> =C2=A0appkit-2487.70 Version 14.6 (Build 23G80)) of 2024-12-12 built on<br> =C2=A0localhost<br> Repository revision: 9ccd459e8452cc9e6e81e53f26bbeef20d2d5bb7<br> Repository branch: master<br> System Description:=C2=A0 macOS 14.6<br> <br> Configured using:<br> =C2=A0'configure --enable-check-lisp-object-type --with-file-notificati= on=3Dno<br> =C2=A0--with-native-compilation=3Dno'<br> <br> Configured features:<br> ACL GLIB GNUTLS LCMS2 LIBXML2 MODULES NS PDUMPER PNG RSVG SQLITE3<br> THREADS TOOLKIT_SCROLL_BARS WEBP XIM ZLIB<br> <br> <br> <br> </blockquote></div> --0000000000000882af0629169c32--
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 12 Dec 2024 18:09:23 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 12 13:09:23 2024 Received: from localhost ([127.0.0.1]:40222 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tLncf-0008M9-Ui for submit <at> debbugs.gnu.org; Thu, 12 Dec 2024 13:09:23 -0500 Received: from lists.gnu.org ([209.51.188.17]:51804) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>) id 1tLncb-0008Lr-Ia for submit <at> debbugs.gnu.org; Thu, 12 Dec 2024 13:09:11 -0500 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 <shipmints@HIDDEN>) id 1tLncb-0002XK-1X for bug-gnu-emacs@HIDDEN; Thu, 12 Dec 2024 13:09:09 -0500 Received: from mail-qk1-x72a.google.com ([2607:f8b0:4864:20::72a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <shipmints@HIDDEN>) id 1tLncY-0002hr-KC for bug-gnu-emacs@HIDDEN; Thu, 12 Dec 2024 13:09:08 -0500 Received: by mail-qk1-x72a.google.com with SMTP id af79cd13be357-7b6f0afda3fso89760285a.2 for <bug-gnu-emacs@HIDDEN>; Thu, 12 Dec 2024 10:09:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734026944; x=1734631744; darn=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=h8dx9f4vnvsSHaXMIb38tJRZ8Dn6d/mxidam2OK4VO4=; b=nGXy73uAfZewKYKPK1w9R16ovsJgsEqMbe9Ux9Jydxx60InIdPwir/r0wQYpAa1fwX XmX85U/fUEFrlAUVfCb3FngmU7ah23W92MuFIvdErAD/2BW2oUU8/OaUbJuETMTzzTLj lLig9/CTs3bRR82muabrdopH8/lmU8CZ7kPEgdvKucm35QXCZucBPeQiofl4MiyoRk8y EAZbeupu+SJFMrkKZIWeQpauTiYaBC7Rp+uwmKNhQa7e06ueZNtbGhpVxR7kssTXQmFF ooKF2HUuTdS1BJ2dCdiHF1FPO1IJD94rnSrUwMibnuv4m/8i8jH3N3T3Gu0LQj8sS5Og dQmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734026944; x=1734631744; 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=h8dx9f4vnvsSHaXMIb38tJRZ8Dn6d/mxidam2OK4VO4=; b=RWuIZoc/Vd1S6HTB822Ka6ufq+BZPipjmKd4ADqHNesdL/1SZBqtS9FDa5wZIfpt/Z VaqusoRQCDgBhVClpDAR5klAf3NJHoPlf0Z30xLS0CWHQacNlaopyeZLvUeW/sRJC4x5 LbxAzjz6c43KouLP1PjXsDVlOMTsJzwj67aP2veY/dnD2nrlY+3U5HMj81DU8GqcA6pX 9Fmd4xpSev+hRETSPZFvevqXq86HSsDb7achdIBmZkRpud/Ey00pc3zVJVnDLGbzPGg4 AQ/MotUg95ab/2Nxy2InZA/wFXqf69P6jfA72fjuXDR/Ne+tkyx1zjf8GnBtWtbLqNj+ ZTww== X-Gm-Message-State: AOJu0Yyo5hWLLUEgsHI8IkD4lEDCH7EIdHMbNjRNdyR/nl8UPFo2yBi2 N41SaITwDfKavksh61D89Rr82qpn3IkCFOusLc2oWh0caV/IATvgZWYO9FaPLyo/5NBwmiEKpId 6FZC7+tZVjUcdFMIYm4DkIeompNMu7VxA X-Gm-Gg: ASbGncu09jOjysRSmIhIZkldkORQcybvyQ3xHSdu4e2/RCMZIkP41rNFGPZ8XbMDGgh FPzTLCF7e1tnxJsA3BPc4++W32ZR3vuchZH81UA== X-Google-Smtp-Source: AGHT+IFiMxyK7uQ8Cnob78L8qPTfD1X9Snz0HhSmCRKHG6wUx5jLfxGMiHC6IYXSqCH+Ck0ojpDCy4Mu6+9sZTQTsDA= X-Received: by 2002:a05:620a:2994:b0:7b6:ebc6:181a with SMTP id af79cd13be357-7b6f89ac7bcmr184695285a.41.1734026944084; Thu, 12 Dec 2024 10:09:04 -0800 (PST) MIME-Version: 1.0 References: <m1cyhweqhe.fsf@HIDDEN> In-Reply-To: <m1cyhweqhe.fsf@HIDDEN> From: Ship Mints <shipmints@HIDDEN> Date: Thu, 12 Dec 2024 13:08:21 -0500 Message-ID: <CAN+1HbpetQ=KqYqEbFdr=+Ke7MBmvTKb7tKrznNapd4srt5-rA@HIDDEN> Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled To: bug-gnu-emacs@HIDDEN Content-Type: multipart/alternative; boundary="0000000000000882af0629169c32" Received-SPF: pass client-ip=2607:f8b0:4864:20::72a; envelope-from=shipmints@HIDDEN; helo=mail-qk1-x72a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: 74833 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) --0000000000000882af0629169c32 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable You need something like https://elpa.gnu.org/packages/xclip.html to assist connecting macOS terminal Emacs to the system pasteboard/clipboard. On Thu, Dec 12, 2024 at 12:56=E2=80=AFPM Filipp Gunbin <fgunbin@HIDDEN= > wrote: > macOS, Terminal.app, xterm-mouse-mode enabled > emacs -nw -Q > Select something with mouse, press Command-c > Try to paste into another program - text is not in the clipboard > > Perhaps this is not new, I just tried xterm-mouse-mode for the first > time, given that it's now the default in master. > > Trying different combinations of select-enable-clipboard and > select-enable-primary did not help (that variables are all I know in > this area). > > Thanks. > > > In GNU Emacs 31.0.50 (build 43, aarch64-apple-darwin23.6.0, NS > appkit-2487.70 Version 14.6 (Build 23G80)) of 2024-12-12 built on > localhost > Repository revision: 9ccd459e8452cc9e6e81e53f26bbeef20d2d5bb7 > Repository branch: master > System Description: macOS 14.6 > > Configured using: > 'configure --enable-check-lisp-object-type --with-file-notification=3Dno > --with-native-compilation=3Dno' > > Configured features: > ACL GLIB GNUTLS LCMS2 LIBXML2 MODULES NS PDUMPER PNG RSVG SQLITE3 > THREADS TOOLKIT_SCROLL_BARS WEBP XIM ZLIB > > > > --0000000000000882af0629169c32 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:monospac= e">You need something like=C2=A0<a href=3D"https://elpa.gnu.org/packages/xc= lip.html">https://elpa.gnu.org/packages/xclip.html</a> to assist connecting= macOS terminal Emacs to the system pasteboard/clipboard.</div></div><br><d= iv class=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" class=3D"gm= ail_attr">On Thu, Dec 12, 2024 at 12:56=E2=80=AFPM Filipp Gunbin <<a hre= f=3D"mailto:fgunbin@HIDDEN">fgunbin@HIDDEN</a>> wrote:<br></di= v><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;borde= r-left:1px solid rgb(204,204,204);padding-left:1ex">macOS, Terminal.app, xt= erm-mouse-mode enabled<br> emacs -nw -Q<br> Select something with mouse, press Command-c<br> Try to paste into another program - text is not in the clipboard<br> <br> Perhaps this is not new, I just tried xterm-mouse-mode for the first<br> time, given that it's now the default in master.<br> <br> Trying different combinations of select-enable-clipboard and<br> select-enable-primary did not help (that variables are all I know in<br> this area).<br> <br> Thanks.<br> <br> <br> In GNU Emacs 31.0.50 (build 43, aarch64-apple-darwin23.6.0, NS<br> =C2=A0appkit-2487.70 Version 14.6 (Build 23G80)) of 2024-12-12 built on<br> =C2=A0localhost<br> Repository revision: 9ccd459e8452cc9e6e81e53f26bbeef20d2d5bb7<br> Repository branch: master<br> System Description:=C2=A0 macOS 14.6<br> <br> Configured using:<br> =C2=A0'configure --enable-check-lisp-object-type --with-file-notificati= on=3Dno<br> =C2=A0--with-native-compilation=3Dno'<br> <br> Configured features:<br> ACL GLIB GNUTLS LCMS2 LIBXML2 MODULES NS PDUMPER PNG RSVG SQLITE3<br> THREADS TOOLKIT_SCROLL_BARS WEBP XIM ZLIB<br> <br> <br> <br> </blockquote></div> --0000000000000882af0629169c32--
bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 12 Dec 2024 17:55:16 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 12 12:55:16 2024 Received: from localhost ([127.0.0.1]:40208 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tLnPA-0007gy-E5 for submit <at> debbugs.gnu.org; Thu, 12 Dec 2024 12:55:16 -0500 Received: from lists.gnu.org ([209.51.188.17]:56364) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <fgunbin@HIDDEN>) id 1tLnP5-0007gi-CQ for submit <at> debbugs.gnu.org; Thu, 12 Dec 2024 12:55:15 -0500 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 <fgunbin@HIDDEN>) id 1tLnP2-0008F9-BR for bug-gnu-emacs@HIDDEN; Thu, 12 Dec 2024 12:55:08 -0500 Received: from fhigh-a2-smtp.messagingengine.com ([103.168.172.153]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <fgunbin@HIDDEN>) id 1tLnOx-0008Rn-Dt for bug-gnu-emacs@HIDDEN; Thu, 12 Dec 2024 12:55:07 -0500 Received: from phl-compute-11.internal (phl-compute-11.phl.internal [10.202.2.51]) by mailfhigh.phl.internal (Postfix) with ESMTP id F295011401C6 for <bug-gnu-emacs@HIDDEN>; Thu, 12 Dec 2024 12:54:59 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-11.internal (MEProxy); Thu, 12 Dec 2024 12:54:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm1; t=1734026099; x=1734112499; bh=O7oRSXpLLfrmzcUXOrEJFWamM1kvxa+C l7h43v8Hv9Q=; b=RwS1mzMt8f4Goy36jGgRyLCtQ3rIhHWHw0Th+z30px0MUS1i jdCTlem05FBD/7r4C41DI2Tnk/NZx5swLRLwH43O7ljrBIIBSK71uxuZdfBZb2Wz WKWpqewpq1yO94INZ6e9DMpiwODCvNhzGLy8M3r6ALMe+uHZGnsha+Qu0au9sqaZ yhZRCqSkTb5ulzQJ6iWl3Qm7M1HjPfL//rOg1nz2huGqapULZabhbszvuRGjPyA5 ABvrKlSWO6l4/5W0mQmu6KzLZD/RxWtg2tXw2pzPIpBj75AZmXhvpaZjOA0Vbslv Qj4jWPBDsZH0kNDKycqkXIAFXHYDy/VwqenAUw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1734026099; x= 1734112499; bh=O7oRSXpLLfrmzcUXOrEJFWamM1kvxa+Cl7h43v8Hv9Q=; b=T zUUOXdgwTgBsDLJ9Szk6hFt+9vgefZaUZ/IDhl3XJ2jJnTlQRSBag3Ji71MsjENG icY7QndkcSGGqaWE75v6AOPva36SzCC8pRvXYX7vX6fRZS7cHT+SLguDbkHblGzD FjwO54O5Rf3ulluJbLegXxwLn/WFQGxh8vpytvH1u+f4qpjcBPP5G8fMdjfTyt4L as8QRDXDETs+c+o+7Ax2M/Se/t84A9sILNstMJxZzzvdU9tUWAW+qLJTQuIGTATc hvD5ZWOvKioHBqQSvNtcPGkv5BV+S64f3B+KspBvEpk5HAtFiPmc3QXi3AF/nvLy 3OlSNKkfJOnkiahpeE9Qw== X-ME-Sender: <xms:cyNbZ5Ddw5NB-ag-fNb3QF5tc_2pi9D5QjfuKDQrG9EQLpdqsT-upQ> <xme:cyNbZ3jSKky2C56RpjdJvvmioOTZOrEZ-_4bW7HAzfMfKFyN-EBBMGhqBSZ2Sazkp sVsHg7vULB1v1pu> X-ME-Received: <xmr:cyNbZ0nFU_V3WOWgpaENAQ_IWDoEdEdB5mZjtXa2_DRcFSUL8idkPULm3hO6TpY7IkWntp8> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrkeehgddutdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufg ffkfggtgesthdtredttdertdenucfhrhhomhephfhilhhiphhpucfiuhhnsghinhcuoehf ghhunhgsihhnsehfrghsthhmrghilhdrfhhmqeenucggtffrrghtthgvrhhnpeetkefggf ejudejkeevheduteffudffjeeutdevveefueevgfeiieeuueelkeduudenucevlhhushht vghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehfghhunhgsihhnsehfrg hsthhmrghilhdrfhhmpdhnsggprhgtphhtthhopedupdhmohguvgepshhmthhpohhuthdp rhgtphhtthhopegsuhhgqdhgnhhuqdgvmhgrtghssehgnhhurdhorhhg X-ME-Proxy: <xmx:cyNbZzwCGiq8RUmO8icAptgExz5bHvoUwFx3q3XWhnVW7tQKqcsNGA> <xmx:cyNbZ-SfqJ6iGP1FmVhERiDbOSn4dMd8H1BYuC5djjgtXO7EtRltjg> <xmx:cyNbZ2aIiaw6YcR32XsmkUtJQque-bdust5l5eNagGBpcKYhlj-gvg> <xmx:cyNbZ_RIwKsYLoSajx9J8iSXzAqM3kRfxSpIOLqHEtkbZpfmcAiM-w> <xmx:cyNbZxKZwEYTEPN3doMpZdRn6KeSLsVDBBNoTWvwz7owa5aTyimeaFJd> Feedback-ID: id48c41f1:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for <bug-gnu-emacs@HIDDEN>; Thu, 12 Dec 2024 12:54:59 -0500 (EST) From: Filipp Gunbin <fgunbin@HIDDEN> To: bug-gnu-emacs@HIDDEN Subject: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled User-Agent: Gnus/5.13 (Gnus v5.13) X-Debbugs-Cc: Mail-Followup-To: bug-gnu-emacs@HIDDEN Date: Thu, 12 Dec 2024 20:54:53 +0300 Message-ID: <m1cyhweqhe.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=103.168.172.153; envelope-from=fgunbin@HIDDEN; helo=fhigh-a2-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) macOS, Terminal.app, xterm-mouse-mode enabled emacs -nw -Q Select something with mouse, press Command-c Try to paste into another program - text is not in the clipboard Perhaps this is not new, I just tried xterm-mouse-mode for the first time, given that it's now the default in master. Trying different combinations of select-enable-clipboard and select-enable-primary did not help (that variables are all I know in this area). Thanks. In GNU Emacs 31.0.50 (build 43, aarch64-apple-darwin23.6.0, NS appkit-2487.70 Version 14.6 (Build 23G80)) of 2024-12-12 built on localhost Repository revision: 9ccd459e8452cc9e6e81e53f26bbeef20d2d5bb7 Repository branch: master System Description: macOS 14.6 Configured using: 'configure --enable-check-lisp-object-type --with-file-notification=no --with-native-compilation=no' Configured features: ACL GLIB GNUTLS LCMS2 LIBXML2 MODULES NS PDUMPER PNG RSVG SQLITE3 THREADS TOOLKIT_SCROLL_BARS WEBP XIM ZLIB
Filipp Gunbin <fgunbin@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#74833
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.