1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-25 23:10:47 -08:00
Commit graph

68 commits

Author SHA1 Message Date
Thien-Thi Nguyen
ceb4c4d303 Update years in copyright notice; nfc. 2006-02-06 12:31:40 +00:00
Luc Teirlinck
c36f1e6780 (cua-mode): Doc fix. 2006-02-02 14:41:36 +00:00
Kim F. Storm
2b3726c087 (cua-mode): Mention that CUA enables
transient-mark-mode in doc string.
2006-02-01 10:41:36 +00:00
Kim F. Storm
1638bf546d * emulation/cua-base.el (cua-use-hyper-key): Replaced by ...
(cua-rectangle-modifier-key): ... this.	 New defcustom.	 Can now
select either meta, hyper, or super modifier for rectangle commands.
(cua--rectangle-modifier-key): New defvar.
(cua--M/H-key): Use it.	 Remove special case for 'space.
(cua--init-keymaps): Initialize it from cua-rectangle-modifier-key
on X, to meta otherwise.  Always bind C-return to toggle
rectangle.  Pass ?\s instead of 'space to cua--M/H-key.

* emulation/cua-rect.el (cua-help-for-rectangle): Use
cua--rectangle-modifier-key.  Handle super modifier too.
(cua--init-rectangles): Always bind C-return to toggle rectangle.
Pass ?\s instead of 'space to cua--M/H-key and cua--rect-M/H-key.
2005-12-08 22:24:35 +00:00
Kim F. Storm
186bccc366 (cua--select-keymaps): Enable repeat
keymap if cua--prefix-override-timer equals 'shift.
(cua--shift-control-prefix): New function; emulate "type prefix
key twice" functionality to handle shifted prefix key override.
(cua--shift-control-c-prefix, cua--shift-control-x-prefix): New
commands.
(cua--init-keymaps): Bind them to S-C-c and S-C-x.
2005-12-08 14:12:12 +00:00
Romain Francoise
4fe3f29711 * ibuf-ext.el (ibuffer-do-shell-command-pipe)
(ibuffer-do-shell-command-pipe-replace)
(ibuffer-do-shell-command-file, ibuffer-do-eval)
(ibuffer-do-view-and-eval, ibuffer-do-rename-uniquely)
(ibuffer-do-revert, ibuffer-do-replace-regexp)
(ibuffer-do-query-replace, ibuffer-do-query-replace-regexp)
(ibuffer-do-print, ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
(ibuffer-filter-by-name, ibuffer-filter-by-filename)
(ibuffer-filter-by-size-gt, ibuffer-filter-by-size-lt)
(ibuffer-filter-by-content, ibuffer-filter-by-predicate
(ibuffer-do-sort-by-major-mode, ibuffer-do-sort-by-mode-name)
(ibuffer-do-sort-by-alphabetic, ibuffer-do-sort-by-size):
Autoload file sans suffix.

* emulation/cua-base.el (cua-toggle-global-mark): Likewise.
2005-10-07 12:43:57 +00:00
Kim F. Storm
7266210374 Set CUA move property on additional commands:
up-list, down-list, backward-up-list, end-of-defun beginning-of-defun,
forward-sexp backward-sexp, forward-list, backward-list
2005-09-28 19:16:44 +00:00
Kim F. Storm
ecd6106722 (cua-delete-region): Return t if
deleted region was non-empty.
(cua-replace-region): Inhibit overwrite-mode for
self-insert-command if replaced region was non-empty.
(cua--explicit-region-start, cua--status-string): Make them
buffer-local at top-level...
(cua-mode): ...rather than when mode is enabled.
2005-08-15 14:10:39 +00:00
Thien-Thi Nguyen
5fd6d89f46 Update years in copyright notice; nfc. 2005-08-01 15:47:19 +00:00
Juanma Barranquero
1023b16920 (cua-mode, cua-enable-register-prefix, cua-enable-cua-keys, cua-use-hyper-key,
cua-virtual-rectangle-edges): Fix typos in docstrings.
(cua--M/H-key, cua--init-keymaps): "?\ " -> "?\s".
2005-07-21 09:38:13 +00:00
Kim F. Storm
3685c8a4bf (cua-mode): Improve doc string. 2005-07-20 11:03:41 +00:00
Kim F. Storm
01096a7b8c (cua--pre-command-handler-1, cua--pre-command-handler)
(cua--post-command-handler-1, cua--post-command-handler):
Split in two.  Check (buffer local) value of cua-mode.
(cua-selection-mode): New command.
2005-07-14 08:27:30 +00:00
Lute Kamstra
3a35cf56e7 Update FSF's address. 2005-07-04 17:55:18 +00:00
Juanma Barranquero
c77d7c926b (cua-check-pending-input, cua-repeat-replace-region, cua-mode, cua-debug,
cua-auto-tabify-rectangles, cua-inhibit-cua-keys): Fix typos in docstrings.
2005-06-30 01:12:23 +00:00
Kim F. Storm
1a2f4b9fc0 (cua-mode): Use add-to-ordered-list to
add cua--keymap-alist to emulation-mode-map-alists.
2005-06-13 21:31:37 +00:00
Juanma Barranquero
63baed9942 (cua-normal-cursor-color, cua-read-only-cursor-color,
cua-overwrite-cursor-color, cua-global-mark-cursor-color): Fix typos in
docstrings.
2005-06-10 01:00:55 +00:00
Kim F. Storm
1e98d199cc * emulation/cua-base.el (cua-rectangle, cua-rectangle-noselect)
(cua-global-mark): Remove -face suffix from face names.

* emulation/cua-gmrk.el (cua--init-global-mark): Remove
cua-global-mark face setup.
2005-06-06 13:19:15 +00:00
Kim F. Storm
c9ee062db9 (cua-use-hyper-key): Doc fix.
(cua--init-keymaps): Bind C-return instead of S-return to set rectangle mark.
2005-05-17 22:39:06 +00:00
Thien-Thi Nguyen
7f1c31c9d4 Update years in copyright notice; nfc. 2005-05-17 17:29:06 +00:00
Kim F. Storm
6a350b06e2 (cua-copy-region, cua-cut-region)
(cua-paste): Handle clipboard action.
(cua--init-keymaps): Remap clipboard-kill-region and
clipboard-kill-ring-save.
2005-05-08 22:29:20 +00:00
Kim F. Storm
8736f4c222 Rework last fix. 2005-05-02 10:07:38 +00:00
Kim F. Storm
1934f52999 Fix check for CUA-mode if no init file. 2005-05-01 22:33:57 +00:00
Kim F. Storm
1338947ca0 (cua--pre-command-handler): Add more
elaborate check for shift modifier on non-window systems.
2005-04-18 19:50:07 +00:00
Dan Nicolaescu
fbcaad36b8 (cua-global-mark-face): Add special case
for displays supporting a high number of colors.
2005-04-16 16:03:29 +00:00
Kim F. Storm
0362261406 (cua-rectangle-face)
(cua-rectangle-noselect-face): Define face attributes here.
2005-04-12 20:39:35 +00:00
Lute Kamstra
ca0f8d34cc (cua-mode): Specify :group. 2005-04-04 09:13:04 +00:00
Kim F. Storm
ec503c284c (cua-scroll-down): Add CUA property. 2005-03-30 22:20:24 +00:00
Kim F. Storm
bab88420b1 Put CUA move property on move-end-of-line
and move-beginning-of-line.
2005-03-07 11:12:58 +00:00
Kim F. Storm
bf247b6ed0 Change release version from 21.4 to 22.1 throughout.
Change development version from 21.3.50 to 22.0.50.
2005-02-09 15:50:47 +00:00
Kim F. Storm
4905133fd7 (cua-max-undo, cua-undo): Remove.
(cua--standard-movement-commands): Remove list.
Instead, set CUA property value to move for movement commands.
(cua-movement-commands): Remove.  Users must set CUA prop instead.
(cua--pre-command-handler): Check CUA property.
(cua--init-keymaps): Don't remap undo commands.
(cua-mode): Don't call cua--rectangle-on-off.
2005-02-07 11:44:40 +00:00
Kim F. Storm
5acfef08ad (cua--preserve-mark-commands): Remove.
(cua--undo-push-mark): Remove.
(cua--pre-command-handler, cua--post-command-handler): Don't
fiddle with inhibit-mark-movement.
2004-12-14 12:18:30 +00:00
Kim F. Storm
162acfa765 (group cua): Add :version keyword.
(cua-mode): Remove :version keyword.
2004-10-30 22:38:12 +00:00
Kim F. Storm
abca72d738 Fix copyright. 2004-10-28 14:28:40 +00:00
Kim F. Storm
85d392cbe0 (cua-auto-expand-rectangles): Remove
automatic rectangle padding feature; replace by non-destructive
virtual rectangle edges feature.
(cua-virtual-rectangle-edges): New defcustom.
(cua-auto-tabify-rectangles): New defcustom.
(cua-paste): If paste into a marked rectangle, insert rectangle at
current column, even if virtual; also paste exactly as many lines
as has been marked (ignore additional lines or add empty lines),
but paste whole source if only one line is marked.
(cua--update-indications): No longer use overwrite-cursor to
indicate rectangle padding
2004-08-29 20:57:42 +00:00
Kim F. Storm
ff99642792 (cua--preserve-mark-commands): New defvar.
Init to beginning-of-buffer and end-of-buffer.
(cua--undo-push-mark): New defvar.
(cua--pre-command-handler): Set inhibit-mark-movement if mark is
already active and command is in cua--preserve-mark-commands.
Also fix check for shift modifier on non-window systems.
(cua--post-command-handler): Clear inhibit-mark-movement if set.
2004-07-16 10:42:26 +00:00
Kim F. Storm
ef2887a290 (cua-mode): Deactivate mark when cua-mode is enabled. 2004-05-03 14:26:23 +00:00
Kim F. Storm
6aa06cd8d2 (cua--update-indications): Fix last change. 2004-05-03 13:39:24 +00:00
Kim F. Storm
b1227a169f Change cursor-type block to hollow. 2004-04-30 22:54:57 +00:00
Kim F. Storm
2ed2415d6d * emulation/cua-base.el: Add support for changing cursor types;
based on patch from Michael Mauger.
(cua-normal-cursor-color, cua-read-only-cursor-color)
(cua-overwrite-cursor-color, cua-global-mark-cursor-color):
Customization cursor type and/or cursor color.
(cua--update-indications): Handle cursor type changes.
(cua-mode): Update cursor indications if enabled.
2004-04-30 22:47:38 +00:00
Kim F. Storm
82851d10ad (cua--standard-movement-commands):
Add cua-scroll-up and cua-scroll-down.
(cua-scroll-up, cua-scroll-down): New commands.
(cua--init-keymaps): Remap scroll-up and scroll-down.
2004-04-30 21:38:44 +00:00
Kim F. Storm
3ffc8a8a0d (cua-read-only-cursor-color)
(cua-overwrite-cursor-color, cua-global-mark-cursor-color): Doc fix.
2004-04-13 21:46:30 +00:00
Kim F. Storm
c7cc2f9e9a (cua--standard-movement-commands): Add forward-sentence and backward-sentence. 2003-11-25 22:10:52 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Stefan Monnier
d7672cf846 (cua-mode): Use explicit arg to turn off minor modes. 2003-06-16 17:24:45 +00:00
Stefan Monnier
80d9508acf (cua-mode): Use define-minor-mode.
(cua-global-mark-face): Fix face format.
2003-04-18 22:49:41 +00:00
Kim F. Storm
ce92443fd0 (cua-set-mark): Unconditionally repeat
pop-global-mark without C-x prefix.  Fix doc.
2003-03-31 21:48:39 +00:00
Kim F. Storm
48ce734b52 (cua-set-mark): Check pop-global-mark-quick-repeat. 2003-03-24 11:01:17 +00:00
Kim F. Storm
f45a683109 (cua-set-mark): Doc fixes.
Allow pop-global-mark to be repeated with C-x C-SPC C-SPC...
C-u C-u C-SPC now unconditionally sets the mark.
2003-03-22 00:18:12 +00:00
Kim F. Storm
f1cb14f8bf Provide `cua' feature. 2003-03-08 19:38:02 +00:00
Juanma Barranquero
9715510bdd (cua--standard-movement-commands): Fix docstring. 2003-03-08 14:47:14 +00:00