1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-08 07:20:28 -08:00
emacs/lisp/emulation
Stefan Monnier 6f8dfccfe3 Use delete-selection-mode in cua-mode.
* lisp/emulation/cua-base.el (cua--prefix-copy-handler)
(cua--prefix-cut-handler): Rely on region-extract-function rather than
checking cua--rectangle.
(cua-delete-region): Use region-extract-function.
(cua-replace-region): Delete function.
(cua-copy-region, cua-cut-region): Obey region-extract-function.
(cua--pre-command-handler-1): Don't do the delete-selection thing.
(cua--self-insert-char-p): Ignore `self-insert-iso'.
(cua--init-keymaps): Don't remap delete-selection commands.
(cua-mode): Use delete-selection-mode instead of rolling our own.
* lisp/emulation/cua-rect.el (cua--rectangle-region-extract): New function.
(region-extract-function): Use it.
(cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
(cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
Delete functions.
(cua--init-rectangles): Don't re-remap copy-region-as-kill,
kill-ring-save, kill-region, delete-char, delete-forward-char.
Ignore self-insert-iso.
* lisp/menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
Obey region-extract-function.
* lisp/emulation/cua-gmrk.el (cua--init-global-mark):
Ignore `self-insert-iso'.

Fixes: debbugs:16085
2013-12-08 01:24:54 -05:00
..
.gitignore
crisp.el
cua-base.el Use delete-selection-mode in cua-mode. 2013-12-08 01:24:54 -05:00
cua-gmrk.el Use delete-selection-mode in cua-mode. 2013-12-08 01:24:54 -05:00
cua-rect.el Use delete-selection-mode in cua-mode. 2013-12-08 01:24:54 -05:00
edt-lk201.el
edt-mapper.el * lisp/emulation/edt-mapper.el: In batch mode, error rather than hang. 2013-05-10 19:17:45 -07:00
edt-pc.el
edt-vt100.el
edt.el
keypad.el
tpu-edt.el Revert auto-commit loaddefs weirdness 2013-10-30 09:29:36 -07:00
tpu-extras.el Make some files provide features 2013-05-11 16:41:52 -07:00
tpu-mapper.el
vi.el Add explicit arg REPLACE to the callers of `shell-command-on-region'. 2013-06-18 23:24:44 +03:00
vip.el Add explicit arg REPLACE to the callers of `shell-command-on-region'. 2013-06-18 23:24:44 +03:00
viper-cmd.el * faces.el (tty-run-terminal-initialization): function changed (Stefan 2013-07-07 15:35:54 -04:00
viper-ex.el Add explicit arg REPLACE to the callers of `shell-command-on-region'. 2013-06-18 23:24:44 +03:00
viper-init.el Fix some custom types 2013-08-13 00:42:51 -07:00
viper-keym.el * faces.el (tty-run-terminal-initialization): function changed (Stefan 2013-07-07 15:35:54 -04:00
viper-macs.el Small viper clean-up 2013-05-21 20:21:30 -07:00
viper-mous.el Small viper clean-up 2013-05-21 20:21:30 -07:00
viper-util.el
viper.el * faces.el (tty-run-terminal-initialization): function changed (Stefan 2013-07-07 15:35:54 -04:00
ws-mode.el Use define-derived-mode (and derived-mode-p). 2013-09-10 23:31:56 -04:00