GNU bug report logs -
#18120
cua-rect.el issue on help
Previous Next
Reported by: Pierre-Yves <py <at> luyten.fr>
Date: Mon, 28 Jul 2014 00:21:02 UTC
Severity: minor
Tags: fixed, patch
Fixed in version 27.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 18120 <at> debbugs.gnu.org (full text, mbox):
Pierre-Yves <py <at> luyten.fr> writes:
> cua-rectangle feature does offer to type ? for help. It will display
> several available key sequence. Since modifier is not known, a
> function computes the string from the prefix variable.
> It is basically a switch, which works for ‘hyper or ‘super or ‘alt or
> ‘meta , but it does not work for ‘control.
>
> This is feasible to use ‘control as the modifier.
> (setq cua--rectangle-modifier-key ‘control)
[...]
> ((eq cua--rectangle-modifier-key 'super) " s-")
> ((eq cua--rectangle-modifier-key 'alt) " A-")
> + ((eq cua--rectangle-modifier-key 'control) " C-")
> (t " M-"))))
(I'm going through old bug reports that unfortunately have not received
any responses yet.)
I don't use cua mode myself, but this looks like it's "obviously" the
right thing, so I've applied the patch to Emacs 27.
If a cua user determines that it's not quite the right thing to do,
please feel free to revert the patch.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 6 years and 10 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.