GNU bug report logs - #43322
Confusing menu entry for cua-mode

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefan <at> marxist.se>

Date: Fri, 11 Sep 2020 00:42:02 UTC

Severity: wishlist

Fixed in version 28.1

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Kangas <stefan <at> marxist.se>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 43322 <at> debbugs.gnu.org
Subject: Re: bug#43322: Confusing menu entry for cua-mode
Date: Wed, 28 Oct 2020 18:05:18 -0700
Eli Zaretskii <eliz <at> gnu.org> writes:

>> 1. Change "Shift movement mark region" to "CUA Mode (without
>>    C-x/C-c/C-v)" with tooltip "Enable CUA Mode without setting
>>    C-x/C-c/C-v keys".  Perhaps we could even add on to the tooltip the
>>    explanatory text " (`cua-enable-cua-keys' is non-nil)".
>
> I think we should do 1, but how do we name that item? what does CUA
> mode do nowadays when CUA keys are disabled?

It has cua-set-rectangle-mark, other than that it only seems to make
some relatively minor adjustments to behavior.

  `cua-mode' Minor Mode Bindings:
  key             binding
  ---             -------

  C-S-SPC		cua-toggle-global-mark
  <C-return>	cua-set-rectangle-mark
  <remap>		Prefix Command

  <remap> <clipboard-yank>	cua-paste
  <remap> <exchange-point-and-mark>
  				cua-exchange-point-and-mark
  <remap> <scroll-down>		cua-scroll-down
  <remap> <scroll-down-command>	cua-scroll-down
  <remap> <scroll-up>		cua-scroll-up
  <remap> <scroll-up-command>	cua-scroll-up
  <remap> <set-mark-command>	cua-set-mark
  <remap> <x-clipboard-yank>	cua-paste
  <remap> <yank>			cua-paste
  <remap> <yank-pop>		cua-paste-pop

So I'm not sure how to summarize this.

My proposal is to name the menu item "CUA Mode (without C-x/C-c/C-v)"
and the tooltip "Enable CUA Mode without setting C-x/C-c/C-v keys".  Not
sure that the proposal is very good, but it's what I can think of.  At
the very least it's better than the incorrect text we have now.




This bug report was last modified 4 years and 268 days ago.

Previous Next


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