summaryrefslogtreecommitdiff
path: root/lisp/emulation
Commit message (Collapse)AuthorAgeFilesLines
* (group cua): Add :version keyword.Kim F. Storm2004-10-301-1/+1
| | | | (cua-mode): Remove :version keyword.
* Fix copyright.Kim F. Storm2004-10-281-1/+2
|
* (cua--rectangle-operation): Let bindKim F. Storm2004-09-121-1/+2
| | | | inhibit-field-text-motion to t so rectangles work in comint buffers.
* (cua--highlight-rectangle): Fix last change.Kim F. Storm2004-09-081-1/+0
| | | | Use zero width overlays when necessary.
* * emulation/cua-rect.el (cua--overlay-keymap): New keymap forKim F. Storm2004-09-031-2/+13
| | | | | | | highlight overlays; allow using RET when cursor is over a button. (cua--highlight-rectangle): Use it. (cua--rectangle-set-corners): Don't move backwards at eol. (cua--forward-line): Don't move into void after eob.
* (cua--rectangle-set-corners): Ensure thatKim F. Storm2004-09-021-14/+30
| | | | | | | | | | point is set (and displayed) inside rectangle. (cua--rectangle-operation): Fix for highlight of empty lines. (cua--highlight-rectangle): Fix highlight for tabs. Position cursor at left/right edge of rectangle using new `cursor' property on overlay strings. (cua--indent-rectangle): Don't tabify. (cua-rotate-rectangle): Ignore that point has moved.
* (cua-auto-expand-rectangles): RemoveKim F. Storm2004-08-291-33/+58
| | | | | | | | | | | | | 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
* (cua--rectangle-padding): Remove.Kim F. Storm2004-08-291-147/+241
| | | | | | | | | | | | | | | | | | | | | | | | | | | (cua--rectangle-virtual-edges): New defun. (cua--rectangle-get-corners): Remove optional PAD arg. (cua--rectangle-set-corners): Never do padding. (cua--forward-line): Remove optional PAD arg. Simplify. (cua-resize-rectangle-right, cua-resize-rectangle-left) (cua-resize-rectangle-down, cua-resize-rectangle-up): (cua-resize-rectangle-bot, cua-resize-rectangle-top) (cua-resize-rectangle-page-up, cua-resize-rectangle-page-down) (cua--rectangle-move): Never do padding. Simplify. (cua--tabify-start): New defun. (cua--rectangle-operation): Add tabify arg. All callers changed. (cua--pad-rectangle): Remove. (cua--delete-rectangle): Handle delete with virtual edges. (cua--extract-rectangle): Add spaces if rectangle has virtual edges. (cua--insert-rectangle): Handle insert at virtual column. Perform auto-tabify if necessary. (cua--activate-rectangle): Remove optional FORCE arg. Never do padding. Simplify. (cua--highlight-rectangle): Enhance for virtual edges. (cua-toggle-rectangle-padding): Remove command. (cua-toggle-rectangle-virtual-edges): New command. (cua-sequence-rectangle): Add optional TABIFY arg. Callers changed. (cua--rectangle-post-command): Don't force rectangle padding. (cua--init-rectangles): Bind M-p to cua-toggle-rectangle-virtual-edges.
* (cua--preserve-mark-commands): New defvar.Kim F. Storm2004-07-161-2/+19
| | | | | | | | | 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.
* Doc fixes: say "PC Selection mode", not "`pc-selection-mode'".Richard M. Stallman2004-06-131-13/+14
|
* (cua-mode): Deactivate mark when cua-mode is enabled.Kim F. Storm2004-05-031-0/+1
|
* (cua--update-indications): Fix last change.Kim F. Storm2004-05-031-1/+1
|
* Change cursor-type block to hollow.Kim F. Storm2004-04-301-12/+12
|
* * emulation/cua-base.el: Add support for changing cursor types;Kim F. Storm2004-04-301-26/+106
| | | | | | | | | 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.
* (cua--convert-rectangle-as): New defmacro.Kim F. Storm2004-04-301-7/+18
| | | | | | (cua-upcase-rectangle, cua-downcase-rectangle): Use it. (cua-upcase-initials-rectangle, cua-capitalize-rectangle): New commands (suggested by Jordan Breeding)..
* (cua--standard-movement-commands):Kim F. Storm2004-04-301-2/+46
| | | | | | 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.
* (cua-read-only-cursor-color)Kim F. Storm2004-04-131-4/+7
| | | | (cua-overwrite-cursor-color, cua-global-mark-cursor-color): Doc fix.
* (tpu-set-mark): Fix typo.Juanma Barranquero2004-02-291-1/+1
|
* (ex-mark): Remove extra format stringAndreas Schwab2004-02-081-2/+2
| | | | argument.
* (vi-mode): Remove extra format string argument.Andreas Schwab2004-02-081-7/+8
| | | | | | | | | (vi-repeat-last-search): Likewise. (vi-reverse-last-search): Likewise. (vi-goto-mark): Likewise. (vi-reverse-last-find-char): Likewise. (vi-repeat-last-find-char): Likewise. (vi-locate-def): Likewise.
* * progmodes/idlwave.el (idlwave-make-tags):Eli Zaretskii2004-01-031-11/+11
| | | | | | | | | | | | | | | * textmodes/flyspell.el (flyspell-large-region):. * progmodes/make-mode.el (makefile-query-by-make-minus-q): * emulation/viper-util.el (viper-glob-unix-files): * emacs-lisp/shadow.el (shadow-same-file-or-nonexistent): * man.el (Man-init-defvars): * jka-compr.el (jka-compr-call-process): * files.el (get-free-disk-space,insert-directory): * ediff-ptch.el (ediff-test-patch-utility): * ediff-diff.el (ediff-test-utility): * dired-aux.el (dired-check-process): * mail/sendmail.el (sendmail-send-it): Don't use = or zerop to test the return value of call-process, because it can be a string.
* (cua--standard-movement-commands): Add forward-sentence and backward-sentence.Kim F. Storm2003-11-251-1/+3
|
* Add arch taglinesMiles Bader2003-09-0126-0/+26
|
* (cua-mode): Use explicit arg to turn off minor modes.Stefan Monnier2003-06-161-3/+3
|
* (ctl-x-map): Don't bind C-x C-i or C-x 3.Richard M. Stallman2003-05-281-4/+5
| | | | | (global-map): Don't bind C-z. (vip-setup): New function to rebind C-x 7 and C-z.
* (cua-mode): Use define-minor-mode.Stefan Monnier2003-04-181-42/+11
| | | | (cua-global-mark-face): Fix face format.
* (top-level): Quote second arg toKai Großjohann2003-04-021-3/+3
| | | | `eval-after-load'.
* (cua-set-mark): Unconditionally repeatKim F. Storm2003-03-311-4/+5
| | | | pop-global-mark without C-x prefix. Fix doc.
* (cua-set-mark): Check pop-global-mark-quick-repeat.Kim F. Storm2003-03-241-1/+2
|
* (cua-set-mark): Doc fixes.Kim F. Storm2003-03-221-9/+19
| | | | | 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.
* * man.el (Man-getpage-in-background): Always use `setenv' forKai Großjohann2003-03-091-0/+6
| | | | | | | | | 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.
* Provide `cua' feature.Kim F. Storm2003-03-081-0/+2
|
* (cua--standard-movement-commands): Fix docstring.Juanma Barranquero2003-03-081-1/+1
|
* Add run-time check to catch users tryingKim F. Storm2003-02-211-0/+16
| | | | | to use older versions of CUA-mode, rather than the version distributed with Emacs. Use autoload cookies and eval-after-load.
* Trailing whitepace deleted.Juanma Barranquero2003-02-0420-618/+618
|
* * emulation/cua-base.el (cua--init-keymaps): Move C-S-x and C-S-cKim F. Storm2003-01-251-2/+3
| | | | | | 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).
* (cua--pre-command-handler): CorrectedKim F. Storm2003-01-031-4/+4
| | | | handling of delete-selection properties.
* (defgroup edt): Arrange that definition starts at beginning of line.Markus Rost2002-11-121-7/+8
|
* Simplify Emacs 19 compatibility.Markus Rost2002-11-111-70/+25
|
* (top-level): Fix typo.Juanma Barranquero2002-10-181-8/+8
|
* (cua-normal-cursor-color): FixedKim F. Storm2002-10-061-12/+11
| | | | initialization to make "Erase Customization" work.
* 2002-09-18 Michael Kifer <kifer@cs.stonybrook.edu>Michael Kifer2002-09-182-6/+13
| | | | | | | | | | | | * 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.
* (keypad-setup, keypad-shifted-setup)Kim F. Storm2002-09-141-5/+7
| | | | | | (keypad-numlock-setup, keypad-numlock-shifted-setup): Change `Remove Binding' option to `Unspecified/User-defined'. (keypad-setup): Enhance explanation of setup type `none'.
* (ex-compile-command): Fix typo.Juanma Barranquero2002-08-301-1/+1
|
* (cua--rectangle-operation): Don't callKim F. Storm2002-07-041-2/+3
| | | | | FCT if current column is outside rectangle. (cua--delete-rectangle): Do nothing if zero width or out of bounds.
* (tpu-delete-to-eol): Fix typo.Juanma Barranquero2002-07-031-2/+2
| | | | (tpu-delete-to-bol): Likewise.
* Added :require 'keypad to defcustoms.Kim F. Storm2002-06-241-0/+4
|
* Corrected last fix.Kim F. Storm2002-06-211-7/+7
|
* Handle kp-begin like kp-space.Kim F. Storm2002-06-211-0/+8
|
* (cua--prefix-arg): Make register prefixesKim F. Storm2002-06-211-7/+9
| | | | work again. Corrected error in check for C-u initiated prefix.