From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jared Finder via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled Date: Sun, 15 Dec 2024 21:16:16 -0800 Message-ID: <535228fe493971e918ee22faeb58c433@finder.org> References: Reply-To: Jared Finder Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38162"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , Filipp Gunbin , 74833@debbugs.gnu.org, shipmints@gmail.com To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 16 06:29:26 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tN3fZ-0009hW-HM for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 16 Dec 2024 06:29:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tN3f1-0003hO-S4; Mon, 16 Dec 2024 00:28:54 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tN3Tb-0001gU-EG for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2024 00:17:04 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tN3Tb-000796-5v for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2024 00:17:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:MIME-Version:To:Subject; bh=wZYkalQanzYE2C6qParJoP/PsMcT+ZooxwH6AgWEa1M=; b=qniLUaBjvRk9g0JrCWGyHANNiZGVfDED5qH11Hck0Z+5NZk5AKfrR9yyS9cK/u6Y37z3NMJ3PMHFbmxZ8lMpCQQ+nC3pESpp0q+Os5EpMovEmdoqW2G8O/qe/A714K9VE97GioibGipQFuYWr6t3HHWmSXS72v+gZSlWdYCe4uWHkQObyzcQfoK7ucJwta3YYCNFkRouxmkPkZyz5l7qsNvfNiYxxzAw/rtzHKs1ttE4bxUvYb0r+q43/f4MG6Jm/i4cMZFMipWhPG4kBBJUJ8Rbv2Wpd2tbpn4Y1W1DrBs1y75bzWTwhF9wFc79y0ikbZ9LrMbqVMAPHVatoevYfg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tN3Ta-0001UP-Hn for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2024 00:17:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jared Finder Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Dec 2024 05:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74833 X-GNU-PR-Package: emacs Original-Received: via spool by 74833-submit@debbugs.gnu.org id=B74833.17343261875660 (code B ref 74833); Mon, 16 Dec 2024 05:17:02 +0000 Original-Received: (at 74833) by debbugs.gnu.org; 16 Dec 2024 05:16:27 +0000 Original-Received: from localhost ([127.0.0.1]:53074 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tN3T0-0001TB-RT for submit@debbugs.gnu.org; Mon, 16 Dec 2024 00:16:27 -0500 Original-Received: from greenhill.hpalace.com ([192.155.80.58]:46504) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tN3Su-0001Sw-5w for 74833@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== Original-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) In-Reply-To: X-Sender: jared@finder.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:297154 Archived-At: On 2024-12-15 19:40, Gerd Möllmann wrote: > Jared Finder 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