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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 71230 in the body.
You can then email your comments to 71230 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#71230; Package emacs. (Mon, 27 May 2024 17:30:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Siyuan Chen <chansey97 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 27 May 2024 17:30:03 GMT) Full text and rfc822 format available.

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

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 1 (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 2 (text/html, inline)]
[0001-Fix-the-issue-when-cua-prefix-override-handler-is-ni.patch (text/plain, attachment)]

Reply sent to Stefan Kangas <stefankangas <at> gmail.com>:
You have taken responsibility. (Wed, 12 Feb 2025 08:28:03 GMT) Full text and rfc822 format available.

Notification sent to Siyuan Chen <chansey97 <at> gmail.com>:
bug acknowledged by developer. (Wed, 12 Feb 2025 08:28:03 GMT) Full text and rfc822 format available.

Message #10 received at 71230-done <at> debbugs.gnu.org (full text, mbox):

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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 12 Mar 2025 11:24:19 GMT) Full text and rfc822 format available.

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.