Commit graph

447 commits

Author SHA1 Message Date
Juanma Barranquero
4790f3a438 (vi-goto-insert-state): Fix quoting in docstring. 2005-06-14 11:31:43 +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
3bf04f2fad (viper-find-char-forward): Fix spellings in docstrings. 2005-06-10 14:11:45 +00:00
Juanma Barranquero
1c7e8dfbd1 (vip-find-char-forward): Fix spellings in docstrings. 2005-06-10 14:11:18 +00:00
Juanma Barranquero
ca088b0437 (pc-select-selection-keys-only, pc-selection-mode): Fix spellings in docstrings. 2005-06-10 14:10:52 +00:00
Miles Bader
25c066491c Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-388
Remove "-face" suffix from viper faces

2005-06-10  Miles Bader  <miles@gnu.org>

   * lisp/emulation/viper-init.el (viper-search, viper-replace-overlay)
   (viper-minibuffer-emacs, viper-minibuffer-insert)
   (viper-minibuffer-vi): Remove "-face" suffix from face names.
   (viper-search-face, viper-replace-overlay-face)
   (viper-minibuffer-emacs-face, viper-minibuffer-insert-face)
   (viper-minibuffer-vi-face):
   New backward-compatibility aliases for renamed faces.
   (viper-search-face, viper-replace-overlay-face)
   (viper-minibuffer-emacs-face, viper-minibuffer-insert-face)
   (viper-minibuffer-vi-face): Use renamed viper faces.
2005-06-10 10:44:34 +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
Michael Kifer
899a431bae 2005-06-03 Michael Kifer <kifer@cs.stonybrook.edu>
* ediff-diff.el (ediff-same-contents) Eliminate CL-type functions.

	* ediff-mult.el (ediff-intersect-directories) Make sure that ".." and
	"." files are deleted from all file lists before comparison

	* viper-keym.el
	(viper-toggle-key,viper-quoted-insert-key,viper-ESC-key):
	Made them customizable.

	* viper.el (viper-non-hook-settings): fixed the names of defadvices.
2005-06-03 08:04:04 +00:00
Richard M. Stallman
ced6cb7112 Use eval-buffer, not eval-current-buffer. 2005-05-30 06:49:59 +00:00
Lute Kamstra
b98d046765 (wordstar-mode): Use run-mode-hooks. 2005-05-26 15:14:51 +00:00
Lute Kamstra
ec965cd42b (vi-mode-setup): Use run-mode-hooks. 2005-05-26 15:14:23 +00:00
Richard M. Stallman
e07ff07849 (viper-ex-work-buf, viper-ex-print-buf): Use defvar, not defconst. 2005-05-22 13:38:39 +00:00
Richard M. Stallman
90d5ea0499 Use write-file-functions instead of write-file-hooks. 2005-05-22 13:31:22 +00:00
Kim F. Storm
34e99b2e36 (crisp-home, crisp-end): Put CUA property. 2005-05-19 08:06:59 +00:00
Kim F. Storm
541d6c0271 (cua--init-rectangles): Bind C-return instead of S-return to
toggle/clear rectangle mark.
2005-05-17 22:39:30 +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
Juanma Barranquero
027a4b6b3f Replace string-to-int' by string-to-number'. 2005-05-16 11:34:49 +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
Kim F. Storm
786aac0f63 (cua--init-rectangles): Remove face setup. 2005-04-12 20:39:08 +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
Werner LEMBERG
d00fa0a4b3 * emulation/vip.el: Replace illegal' with invalid'. 2005-03-25 08:30:01 +00:00
Stefan Monnier
ffc30f4fa1 find-file-hooks -> find-file-hook. 2005-03-24 22:17:43 +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
Michael Kifer
3f9526a371 * viper-cmd.el (viper-prefix-commands): make into a defconst.
(viper-exec-buffer-search): use regexp-quote to quote the buffer
	string.
	(viper-minibuffer-setup-sentinel): make some variables buffer-local.
	(viper-skip-separators): bug fix.
	(viper-set-searchstyle-toggling-macros): allow to unset macros in a
	particular major mode.
	(viper-del-backward-char-in-replace): don't put deleted char on the
	kill ring.

	* viper-ex.el (viper-color-display-p): new function.
	(viper-has-face-support-p): use viper-color-display-p.

	* viper-keym.el (viper-gnus-modifier-map): new keymap.

	* viper-macs.el (viper-unrecord-kbd-macro): bug fix.

	* viper-util.el (viper-glob-unix-files): fix shell status check.
	(viper-file-remote-p): make equivalent to file-remote-p.

	* viper.el (viper-major-mode-modifier-list): use
	viper-gnus-modifier-map.
2005-02-19 19:32:47 +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
e4907bbe3b (cua--undo-list, cua--tidy-undo-counter)
(cua--rect-undo, cua--tidy-undo-lists, cua--rectangle-on-off): Remove.
(cua--rect-undo-set-point): New var.
(cua--rectangle-undo-boundary): Setup undo apply entry.
(cua--rect-undo-handler): New function for rectangle undo.
(cua--rect-start-position, cua--rect-end-position): Add.
(cua--rectangle-post-command): Call cua--rectangle-set-corners
for restored rectangle.  Set point if cua--rect-undo-set-point.
2005-02-07 11:44:57 +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
Luc Teirlinck
d55f9265dd (tpu-help-keypad-map, tpu-help-text)
(tpu-word-separator-list, tpu-skip-chars): defconst->defvar.
2004-11-29 23:26:08 +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
4e687447ad (cua--rectangle-operation): Let bind
inhibit-field-text-motion to t so rectangles work in comint buffers.
2004-09-12 20:26:39 +00:00
Kim F. Storm
5e0cb17bad (cua--highlight-rectangle): Fix last change.
Use zero width overlays when necessary.
2004-09-08 13:07:50 +00:00
Kim F. Storm
1e71278bd3 * emulation/cua-rect.el (cua--overlay-keymap): New keymap for
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.
2004-09-03 12:33:54 +00:00
Kim F. Storm
e2ea72e9dd (cua--rectangle-set-corners): Ensure that
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.
2004-09-02 22:56:22 +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
7279710840 (cua--rectangle-padding): Remove.
(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.
2004-08-29 20:57:19 +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
Richard M. Stallman
e873bbf926 Doc fixes: say "PC Selection mode", not "`pc-selection-mode'". 2004-06-13 22:02:49 +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