From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ship Mints Newsgroups: gmane.emacs.bugs Subject: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled Date: Thu, 12 Dec 2024 13:08:21 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000000882af0629169c32" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6049"; mail-complaints-to="usenet@ciao.gmane.io" To: 74833@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 12 19:11:13 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 1tLneb-0001Og-6A for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 12 Dec 2024 19:11:13 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tLneS-0003CH-DM; Thu, 12 Dec 2024 13:11:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tLneR-0003C4-0w for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2024 13:11:03 -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 1tLneQ-0003FU-Fv for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2024 13:11:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:In-Reply-To:References:MIME-Version:To:Subject; bh=h8dx9f4vnvsSHaXMIb38tJRZ8Dn6d/mxidam2OK4VO4=; b=L1TRvQMwKgTMbGCgGhz4kxsDcgRZdyo4qaeEQooZSgWStwNO7J6t5HcgScOd+9axNePY4m8KiQwuYMX1SbBK8KfhEOGR7SLVdgxRuQ+VMkI3UHoIM63fTN62m43ueoN3DWCSKYSU/AMkj5E0Za7TSLdlSKOx+r9amVhN2tz0gTJ2iJNpCIv7FLNEUj15DB3FIKoclWROcd9G3a7WQj/24mUxlnYWsagnSXDh2q8KvDSDK/hQF+iucpeKSdHfM+v8dl+59+7SwGnUsjcvrG4KFw8JmiFCbe3zBQfdcHOS6cTl8yzgYtDFH1Qe8BBk+6lQ9LSpI3hqgklOnSwHnutNwg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tLneP-00004q-Qd for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2024 13:11:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ship Mints Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Dec 2024 18:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74833 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Cc: 74833@debbugs.gnu.org Original-Received: via spool by 74833-submit@debbugs.gnu.org id=B74833.173402702332688 (code B ref 74833); Thu, 12 Dec 2024 18:11:01 +0000 Original-Received: (at 74833) by debbugs.gnu.org; 12 Dec 2024 18:10:23 +0000 Original-Received: from localhost ([127.0.0.1]:40231 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLndm-0008V3-QU for submit@debbugs.gnu.org; Thu, 12 Dec 2024 13:10:23 -0500 Original-Received: from mail-qk1-f170.google.com ([209.85.222.170]:61755) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLndb-0008Oh-Qh for 74833@debbugs.gnu.org; Thu, 12 Dec 2024 13:10:12 -0500 Original-Received: by mail-qk1-f170.google.com with SMTP id af79cd13be357-7b6c375b4f0so85357285a.3 for <74833@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) In-Reply-To: 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:296933 Archived-At: --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 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
You need something like=C2=A0https://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@fastmail.fm> wrote:
macOS, Terminal.app, xt= erm-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
=C2=A0appkit-2487.70 Version 14.6 (Build 23G80)) of 2024-12-12 built on
=C2=A0localhost
Repository revision: 9ccd459e8452cc9e6e81e53f26bbeef20d2d5bb7
Repository branch: master
System Description:=C2=A0 macOS 14.6

Configured using:
=C2=A0'configure --enable-check-lisp-object-type --with-file-notificati= on=3Dno
=C2=A0--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--