1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-21 18:23:59 +00:00
Commit Graph

196 Commits

Author SHA1 Message Date
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
Kim F. Storm
06f8e605cd Add run-time check to catch users trying
to use older versions of CUA-mode, rather than the version
distributed with Emacs.  Use autoload cookies and eval-after-load.
2003-02-21 12:50:58 +00:00
Juanma Barranquero
a1506d2977 Trailing whitepace deleted. 2003-02-04 13:24:35 +00:00
Kim F. Storm
d6f9ff152a * emulation/cua-base.el (cua--init-keymaps): Move C-S-x and C-S-c
bindings from cua--cua-keys-keymap to cua--region-keymap, as they are
only needed when the region is active.  This also makes the output
from C-h b look normal when cua-mode is enabled (no C-S-x/c bindings).
2003-01-25 11:41:58 +00:00
Kim F. Storm
ad9de65b54 (cua--pre-command-handler): Corrected
handling of delete-selection properties.
2003-01-03 13:00:08 +00:00
Kim F. Storm
496c17d61b (cua-normal-cursor-color): Fixed
initialization to make "Erase Customization" work.
2002-10-06 21:34:07 +00:00
Kim F. Storm
5632c006df Corrected last fix. 2002-06-21 13:56:13 +00:00
Kim F. Storm
1c62c12fbf (cua--prefix-arg): Make register prefixes
work again. Corrected error in check for C-u initiated prefix.
2002-06-21 13:51:05 +00:00
Kim F. Storm
5834ac9207 (cua--last-deleted-region-pos)
(cua--last-deleted-region-text): New aux variables.
(cua-delete-region): Set them.
(cua-repeat-replace-region): Use them to find the replacement text.
2002-05-31 12:19:57 +00:00
Kim F. Storm
fc803e8d1a (cua-set-mark): Align pop to marko
behaviour with standard set-mark-command.
(cua--pre-command-handler): Use push-mark-command.
(cua-repeat-replace-region): Improve functionality when
repeated after moving point or changing buffer.
2002-05-27 12:14:52 +00:00
Kim F. Storm
34a63289a6 (cua--repeat-replace-text): New variable.
(cua-repeat-replace-region): New command.
(cua--init-keymaps): Bind it to M-v in cua--cua-keys-keymap.
Misc improvements to the commantary.
2002-05-26 00:54:10 +00:00
Kim F. Storm
20023b9cb4 (cua--self-insert-char-p): New function. 2002-05-25 00:06:56 +00:00
Kim F. Storm
cadc926b47 (cua-enable-cursor-indications): Default off.
(cua-mode): Print Enabled/Disabled messages if interactive.
Disable delete-selection-mode and pc-selection-mode when cua-mode
is enabled; reenable if cua-mode is turned off.
Remember setting of transient-mark-mode when cua-mode is enabled;
restore if cua-mode is disabled.
2002-05-13 20:35:30 +00:00
Kim F. Storm
c1cdea1a79 (cua-enable-cua-keys)
(cua-enable-register-prefix): Added value for `other' choice.
2002-05-10 11:21:10 +00:00
Kim F. Storm
a23a8440c7 (cua-mode): Misc. changes to use
emulation-mode-map-alists instead of minor-mode-map-alist.
2002-05-10 08:28:51 +00:00
Kim F. Storm
63e6f5b3f9 (cua-inhibit-cua-keys): New buffer-local variable. 2002-05-01 22:04:47 +00:00
Kim F. Storm
e75d337c0a (cua--pre-command-handler): Only interpret delete-selection property if mark-active. 2002-05-01 14:22:06 +00:00
Kim F. Storm
bed8e829ec Fixed require for cua-mode variable 2002-04-30 13:12:33 +00:00
Kim F. Storm
72cc582e69 Added cua-mode based files [split from original cua.el]:
cua-base.el, cua-rect.el, cua-gmrk.el, and keypad.el
2002-04-28 21:48:39 +00:00