GNU bug report logs - #71230
[PATCH] Fix C-x C-c do not work in CUA-mode when cua-prefix-override-handler is ni

Previous Next

Package: emacs;

Reported by: Siyuan Chen <chansey97 <at> gmail.com>

Date: Mon, 27 May 2024 17:30:02 UTC

Severity: normal

Tags: patch

Fixed in version 31.1

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Siyuan Chen <chansey97 <at> gmail.com>
Subject: bug#71230: closed (Re: bug#71230: [PATCH] Fix C-x C-c do not work
 in CUA-mode when cua-prefix-override-handler is ni)
Date: Wed, 12 Feb 2025 08:28:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#71230: [PATCH] Fix C-x C-c do not work in CUA-mode when cua-prefix-override-handler is ni

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 71230 <at> debbugs.gnu.org.

-- 
71230: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=71230
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Stefan Kangas <stefankangas <at> gmail.com>
To: Siyuan Chen <chansey97 <at> gmail.com>
Cc: 71230-done <at> debbugs.gnu.org
Subject: Re: bug#71230: [PATCH] Fix C-x C-c do not work in CUA-mode when
 cua-prefix-override-handler is ni
Date: Wed, 12 Feb 2025 00:26:57 -0800
Version: 31.1

Siyuan Chen <chansey97 <at> gmail.com> writes:

> Currently, cua-mode has a bug i.e. when `(setq
> cua-prefix-override-inhibit-delay nil)`, cut and copy do not work.
>
> Also we have to`(setq cua-prefix-override-inhibit-delay nil)`,
> otherwise cua-mode will not be able to support fast copy/cut & paste.
>
> More detail information, see emacs-devel
> https://lists.gnu.org/archive/html/emacs-devel/2024-05/msg01033.html

Yeah, this looks like a bug.  Your patch LGTM, so I installed it on
master as commit 1fdfcad924a.  I also installed a followup commit
2254f715981 to avoid byte-compiler warnings, and reduce code
duplication.

Thanks!

> P.s. This patch based on the mirror repo https://github.com/emacs-mirror/emacs
> and Tested in Emacs 29.3.

Note that this is just a mirror maintained by some unknown third party.
The correct URL can be found here:

    https://savannah.gnu.org/p/emacs

[Message part 3 (message/rfc822, inline)]
From: Siyuan Chen <chansey97 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Fix C-x C-c do not work in CUA-mode when
 cua-prefix-override-handler is ni
Date: Tue, 28 May 2024 01:00:40 +0800
[Message part 4 (text/plain, inline)]
Currently, cua-mode has a bug i.e. when `(setq
cua-prefix-override-inhibit-delay nil)`, cut and copy do not work.

Also we have to`(setq cua-prefix-override-inhibit-delay nil)`,
otherwise cua-mode will not be able to support fast copy/cut & paste.

More detail information, see emacs-devel
https://lists.gnu.org/archive/html/emacs-devel/2024-05/msg01033.html

P.s. This patch based on the mirror repo
https://github.com/emacs-mirror/emacs
and Tested in Emacs 29.3.

Best regards,
Siyuan Chen
[Message part 5 (text/html, inline)]
[0001-Fix-the-issue-when-cua-prefix-override-handler-is-ni.patch (text/plain, attachment)]

This bug report was last modified 99 days ago.

Previous Next


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