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: Stefan Kangas <stefankangas <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#71230: closed ([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 message dated Wed, 12 Feb 2025 00:26:57 -0800
with message-id <CADwFkmnjN=hig6mp=paoG4cX+avW8nTkq16fn66FnsJfMEgOpA <at> mail.gmail.com>
and subject line Re: bug#71230: [PATCH] Fix C-x C-c do not work in CUA-mode when cua-prefix-override-handler is ni
has caused the debbugs.gnu.org bug report #71230,
regarding [PATCH] Fix C-x C-c do not work in CUA-mode when cua-prefix-override-handler is ni
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> 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: 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 3 (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 4 (text/html, inline)]
[0001-Fix-the-issue-when-cua-prefix-override-handler-is-ni.patch (text/plain, attachment)]
[Message part 6 (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


This bug report was last modified 124 days ago.

Previous Next


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