1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00
Commit Graph

385 Commits

Author SHA1 Message Date
Stefan Monnier
80d9508acf (cua-mode): Use define-minor-mode.
(cua-global-mark-face): Fix face format.
2003-04-18 22:49:41 +00:00
Kai Großjohann
6d91a595e0 (top-level): Quote second arg to
`eval-after-load'.
2003-04-02 10:41:40 +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
Kai Großjohann
504feff525 * man.el (Man-getpage-in-background): Always use `setenv' for
environment variables, instead of modifying process-environment
directly.  The previous version let-bound process-environment --
the let-binding is skipped for GROFF_NO_SGR because there is
already a let-binding in effect in some outer scope.

* emulation/crisp.el (top-level): Interoperate with cua.
2003-03-09 14:05:25 +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
Markus Rost
71c37e3fc0 (defgroup edt): Arrange that definition starts at beginning of line. 2002-11-12 01:42:32 +00:00
Markus Rost
bca3689a2c Simplify Emacs 19 compatibility. 2002-11-11 14:53:20 +00:00
Juanma Barranquero
79ef886b1d (top-level): Fix typo. 2002-10-18 08:59:10 +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
Michael Kifer
f3eabcdf40 2002-09-18 Michael Kifer <kifer@cs.stonybrook.edu>
* ediff-hooks.el: Put back the autoloads (for compatibility with XEmacs).

	* ediff-init.el: Use defalias instead of fset.

	* ediff-util.el: Use defalias instead of fset.

	* viper-util.el (viper-chars-in-region): simplification.

	* viper.el (viper-emacs-state-mode-list): added modes.
2002-09-18 04:23:27 +00:00
Kim F. Storm
f31023f990 (keypad-setup, keypad-shifted-setup)
(keypad-numlock-setup, keypad-numlock-shifted-setup):
Change `Remove Binding' option to `Unspecified/User-defined'.
(keypad-setup): Enhance explanation of setup type `none'.
2002-09-14 20:54:07 +00:00
Juanma Barranquero
c760d04023 (ex-compile-command): Fix typo. 2002-08-30 11:02:10 +00:00
Kim F. Storm
42cc3428ed (cua--rectangle-operation): Don't call
FCT if current column is outside rectangle.
(cua--delete-rectangle): Do nothing if zero width or out of bounds.
2002-07-04 22:20:26 +00:00
Juanma Barranquero
5ec2752af6 (tpu-delete-to-eol): Fix typo.
(tpu-delete-to-bol): Likewise.
2002-07-03 14:32:01 +00:00
Kim F. Storm
3efa11935a Added :require 'keypad to defcustoms. 2002-06-24 08:30:09 +00:00
Kim F. Storm
5632c006df Corrected last fix. 2002-06-21 13:56:13 +00:00
Kim F. Storm
2fe7c8dd91 Handle kp-begin like kp-space. 2002-06-21 13:51:26 +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
Juanma Barranquero
669858fb0b (edt-substitute): Fix typo. 2002-06-18 14:35:28 +00:00
Richard M. Stallman
37ce10ea26 Undo previous change. 2002-06-10 08:50:02 +00:00
Richard M. Stallman
8a0c77f5dc (viper-insert-prev-from-insertion-ring)
(viper-prev-destructive-command): Use copy-sequence.
2002-06-10 08:33:32 +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
Juanma Barranquero
d82fb2adeb (viper-smart-suffix-list, viper-ask-level): Fix typos. 2002-05-31 09:26:18 +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
e3f01f3086 (cua--init-rectangles): Install default
binding in cua--rectangle-keymap using cua--self-insert-char-p
to handle all global self inserting characters in rectangle mode.
2002-05-25 00:08:36 +00:00
Kim F. Storm
f8b38495a5 (cua--init-global-mark): Install default
binding in cua--global-mark-keymap using cua--self-insert-char-p
to handle all global self inserting characters in gmark mode.
2002-05-25 00:07:26 +00:00
Kim F. Storm
20023b9cb4 (cua--self-insert-char-p): New function. 2002-05-25 00:06:56 +00:00
Juanma Barranquero
aa87aafcde Fix typo. 2002-05-16 12:00:33 +00:00
Kim F. Storm
af1a014016 (cua--rectangle-operation):
Don't highlight empty lines in rectangles.
2002-05-14 21:11:10 +00:00
Kim F. Storm
6df44fac4b Improved commentary.
(keypad-setup, keypad-shifted-setup): Added choice to setup
Numeric keypad with decimal key; value is selected character.
(keypad-decimal-key, keypad-shifted-decimal-key): Removed options.
(keypad-numlock-setup, keypad-numlock-shifted-setup): New options.
(keypad-setup):  Arg list changed to support the new options.
2002-05-14 20:30:55 +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
Pavel Janík
307645975c Follow coding conventions. 2002-05-02 05:41:46 +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
Michael Kifer
241d963df0 * viper-ex.el: Patch by Samuel Padgett. Copyright papers received.
(viper-ex-print-buf-name): New variable.
	(viper-ex-print-buf): New variable.
	(ex-token-alist): Invoke ex-print on ":print" Ex commands.
	(ex-g-marks): New variable.
	(ex-print): New function.
	(ex-print-display-lines): New function.

	* viper.el (viper-set-hooks): add window-setup-hook, which sets
	the cursor color.

	* ediff-util.el (ediff-cleanup-mess): delete ctl window on exit
	when the window is not in its own frame.
	(ediff-clone-buffer-for-region-comparison): more robust window
	arrangement while prompting for regions to compare.
	(ediff-make-cloned-buffer): use generate-new-buffer-name.
	(ediff-inferior-compare-regions): deleted unused vars
	ctl-buf and quit-now.
2002-04-16 05:49:11 +00:00
Richard M. Stallman
93e92186be (pc-selection-mode): Alter the existing global map, don't replace it. 2002-03-18 04:31:36 +00:00
Michael Kifer
8bdd0bf785 2002-02-10 Michael Kifer <kifer@cs.stonybrook.edu>
* viper-util.el (viper-read-key-sequence): fixed so it'll read
	fast key sequences in emacs native mode
	(viper-events-to-keys): deleted

	* viper.el (describe-key, describe-key-briefly): get rid of
	viper-events-to-keys.

	* ediff-init.el (ediff-has-gutter-support): Steven Turnbull's patch.

	* ediff-wind.el (ediff-setup-control-frame): Use
	ediff-has-gutter-support.

	* ediff-util.el (ediff-dispose-of-variant-according-to-user):
	check if buff is alive.

	* ediff.el: typo in comment.
2002-02-10 06:46:12 +00:00
Richard M. Stallman
024ab5b504 (pc-select-save-and-set-mode): Properly use MODE-VAR. 2002-02-01 03:59:17 +00:00