GNU bug report logs - #74833
31.0.50; Copy to OS clipboard doesn't work in macOS Terminal.app with xterm-mouse-mode enabled

Previous Next

Package: emacs;

Reported by: Filipp Gunbin <fgunbin <at> fastmail.fm>

Date: Thu, 12 Dec 2024 17:56:02 UTC

Severity: normal

Found in version 31.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #197 received at 74833 <at> debbugs.gnu.org (full text, mbox):

From: Jared Finder <jared <at> finder.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: gerd.moellmann <at> gmail.com, 74833 <at> debbugs.gnu.org, fgunbin <at> fastmail.fm,
 shipmints <at> gmail.com, rms <at> gnu.org
Subject: Re: bug#74833: 31.0.50; Copy to OS clipboard doesn't work in macOS
 Terminal.app with xterm-mouse-mode enabled
Date: Wed, 01 Jan 2025 23:10:14 -0800
[Message part 1 (text/plain, inline)]
On 2024-12-28 23:13, Eli Zaretskii wrote:
>> Date: Sat, 28 Dec 2024 21:16:28 -0800
>> From: Jared Finder <jared <at> finder.org>
>> Cc: shipmints <at> gmail.com, rms <at> gnu.org, gerd.moellmann <at> gmail.com,
>>  fgunbin <at> fastmail.fm, 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
[0001-Don-t-always-enable-xterm-mouse-mode-bug-74833.patch (text/x-diff, attachment)]
[0002-Modifier-keys-and-double-clicks-work-correctly.patch (text/x-diff, attachment)]

This bug report was last modified 111 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.