1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00
emacs/lisp/emulation
Juri Linkov 31f6e93933 Support rectangular regions for more commands
* lisp/simple.el (region-extract-function): Handle the arg value ‘bounds’.
(region-insert-function): New function.
(shell-command-on-region): Add arg ‘region-noncontiguous-p’.
If non-nil, operate on multiple chunks.
(region-noncontiguous-p): New function.

* lisp/rect.el: Add function rectangle--insert-region
around region-insert-function.
(extract-rectangle-bounds): New function.
(rectangle--extract-region): Handle the arg value ‘bounds’.
(rectangle--insert-region): New function.

* lisp/emulation/cua-rect.el: Add function cua--insert-rectangle
around region-insert-function.
(cua--extract-rectangle-bounds): New function.
(cua--rectangle-region-extract): Handle the arg value ‘bounds’.

* lisp/replace.el (query-replace, query-replace-regexp): Add arg
‘region-noncontiguous-p’.  Use ‘use-region-p’.
(query-replace-regexp-eval, map-query-replace-regexp)
(replace-string, replace-regexp): Use ‘use-region-p’.
(keep-lines, flush-lines, how-many): Use ‘use-region-p’.
(perform-replace): Add arg ‘region-noncontiguous-p’.
If non-nil, operate on multiple chunks.

* src/casefiddle.c (Fdowncase_region): Add arg ‘region-noncontiguous-p’.
If non-nil, operate on multiple chunks. (Bug#19829)
2015-11-14 01:28:03 +02:00
..
cua-base.el Generalize the prefix-command machinery of C-u 2015-09-01 21:14:18 -04:00
cua-gmrk.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
cua-rect.el Support rectangular regions for more commands 2015-11-14 01:28:03 +02:00
edt-lk201.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
edt-mapper.el Backslash cleanup in Elisp source files 2015-09-17 16:09:39 -07:00
edt-pc.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
edt-vt100.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
edt.el Backslash cleanup in Elisp source files 2015-09-17 16:09:39 -07:00
keypad.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
viper-cmd.el Backslash cleanup in Elisp source files 2015-09-17 16:09:39 -07:00
viper-ex.el Backslash cleanup in Elisp source files 2015-09-17 16:09:39 -07:00
viper-init.el Backslash cleanup in Elisp source files 2015-09-17 16:09:39 -07:00
viper-keym.el Fix some more docstring etc. quoting problems 2015-09-03 15:32:54 -07:00
viper-macs.el Backslash cleanup in Elisp source files 2015-09-17 16:09:39 -07:00
viper-mous.el Backslash cleanup in Elisp source files 2015-09-17 16:09:39 -07:00
viper-util.el Backslash cleanup in Elisp source files 2015-09-17 16:09:39 -07:00
viper.el Backslash cleanup in Elisp source files 2015-09-17 16:09:39 -07:00