1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-06 11:55:48 +00:00
Commit Graph

533 Commits

Author SHA1 Message Date
Chong Yidong
ba5b5659a6 (viper-non-hook-settings): Handle mouse clicks in describe-key and
describe-key-briefly advice a little better.
2007-03-21 16:18:25 +00:00
Kim F. Storm
ed8bc9f8e4 (cua-paste): Handle x-clipboard-yank.
(cua--init-keymaps): Remap x-clipboard-yank to cua-paste.
2007-02-24 21:52:43 +00:00
Kim F. Storm
5c4a605238 (cua-global-keymap, cua--region-keymap):
Declare earlier to avoid byte compiler warnings.
2007-01-28 22:34:31 +00:00
Glenn Morris
61c4714ee7 (viper-mode): Fix info ref in doc string. 2007-01-27 23:18:37 +00:00
Michael Kifer
279c800c55 2007-01-23 Michael Kifer <kifer@cs.stonybrook.edu>
* ediff-util.el (ediff-clone-buffer-for-region-comparison): change text
	of message. Activate mark.
	(ediff-activate-mark): set transient-mark-mode to t.

	* ediff.el (ediff-regions-wordwise,ediff-regions-linewise): changed
	docstrings.

	* viper-keym.el (viper-insert-basic-map): deleted binding for S-TAB.
2007-01-23 20:56:57 +00:00
Glenn Morris
f0fa15c5e5 Add 2007 to copyright years. 2007-01-21 02:48:43 +00:00
Juanma Barranquero
7cb0c23ba4 (keypad-setup): Fix typos in docstring. 2007-01-14 03:18:11 +00:00
Juanma Barranquero
33c053f464 (viper-custom-file-name, viper-mode): Fix typos in docstrings. 2007-01-02 23:57:14 +00:00
Michael Kifer
c6a85d16a5 2006-12-23 Michael Kifer <kifer@cs.stonybrook.edu>
* ediff-diff.el (ediff-diff-options): clarify docstring.
	(ediff-setup-diff-regions): disallow -u in ediff-diff-options.

	* viper-cmd.el (viper-post-command-sentinel): protect against errors in
	hooks.
	(viper-add-newline-at-eob-if-necessary): add newline only if we
	actually modify buffer; ignore errors if occur.
2006-12-23 21:33:50 +00:00
Eli Zaretskii
6687ffc7be Replace /' with a -', to fix a problem on Cygwin. 2006-12-15 16:24:04 +00:00
Eli Zaretskii
8830e9daae Update maintainer's email address. 2006-12-15 16:09:17 +00:00
Juanma Barranquero
a3c0e1884e (vi-char-argument): Doc fix. 2006-12-10 23:49:36 +00:00
Glenn Morris
d59c31376c Update copyright years. 2006-12-07 05:06:17 +00:00
Kim F. Storm
fc36357836 (cua-paste-pop-rotate-temporarily): Doc fix.
(cua-paste-pop): Rework last change for cua-paste-pop-rotate-temporarily,
so first M-y and C-y works alike, pasting the head of the kill-ring, and
prefix arg C-u M-y inserts the text inserted by the last M-y command.
2006-12-05 22:35:30 +00:00
Kim F. Storm
c64a6023b9 (cua-toggle-set-mark): Doc fix.
(cua-repeat-replace-region): Make M-v more robust.
(cua-paste-pop-rotate-temporarily): New defcustom.
(cua-paste-pop): Use it.
(cua-auto-mark-last-change): New defcustom.
(cua-pop-to-last-change): New helper function.
(cua-set-mark): Use them.
2006-12-02 00:30:00 +00:00
Juanma Barranquero
a3c473b2cf Fix typo in interactive message. 2006-11-06 02:35:03 +00:00
Juanma Barranquero
e208bb1b12 (tpu-help-text, tpu-save-all-buffers-kill-emacs, tpu-emacs-replace,
tpu-reset-control-keys): Fix typos in docstrings.
2006-11-06 02:34:27 +00:00
Juanma Barranquero
49c8765481 (vip-emacs-local-map, vip-change-mode-to-emacs): Fix typo in docstring. 2006-11-06 02:33:15 +00:00
Juanma Barranquero
a6fb441a19 (viper-emacs-state-cursor-color): Fix typo in docstring. 2006-11-06 02:32:30 +00:00
Juanma Barranquero
bb3a923456 (viper-emacs-kbd-map, viper-toggle-key): Fix typos in docstrings. 2006-11-06 02:31:52 +00:00
Juanma Barranquero
cbd9191d3c (viper-mode, viper-set-hooks, viper-major-mode-modifier-list):
Fix typos in docstrings.
2006-11-06 02:31:07 +00:00
Michael Kifer
7eb605c752 2006-10-23 Michael Kifer <kifer@cs.stonybrook.edu>
* viper-cmd.el (viper-prefix-arg-com): define gg as G0

	* viper-ex.el (ex-read): quote file argument.

	* ediff-diff.el (ediff-same-file-contents): expand file names.

	* ediff-mult.el (ediff-append-custom-diff): quote shell file arguments.
2006-10-23 19:20:15 +00:00
Michael Kifer
f573c8b035 * viper.el: Bumped up version/date of update to reflect the substantial
changes done in August 2006.

	* viper-cmd (viper-next-line-at-bol): make sure button-at, push-button
	are defined.

	* ediff-util.el (ediff-add-to-history): new function.

	* ediff.el: use ediff-add-to-history instead of add-to-history.
2006-09-18 19:22:31 +00:00
Kim F. Storm
53c11b7e04 (cua--pre-command-handler-1): Rewrite. 2006-09-05 20:54:16 +00:00
Michael Kifer
05c4a38a25 2006-08-30 Michael Kifer <kifer@cs.stonybrook.edu>
* viper-cmd.el (viper-special-read-and-insert-char): convert events to
	chars if XEmacs.
	(viper-after-change-undo-hook): check if undo-in-progress is bound.
2006-08-31 03:39:42 +00:00
Michael Kifer
83f49acbc0 2006-08-25 Michael Kifer <kifer@cs.stonybrook.edu>
* viper.el (viper-set-hooks): use frame bindings for
	viper-vi-state-cursor-color.
	(viper-non-hook-settings): don't set default
	mode-line-buffer-identification.

	* viper-util.el (viper-set-cursor-color-according-to-state): new
	function.
	(viper-set-cursor-color-according-to-state,
	viper-get-saved-cursor-color-in-replace-mode,
	viper-get-saved-cursor-color-in-insert-mode): make conditional on
	viper-emacs-state-cursor-color.

	* viper-cmd.el (viper-envelop-ESC-key): bug fix.
	(viper-undo): use point if undo-beg-posn is nil.
	(viper-insert-state-post-command-sentinel,viper-change-state-to-emacs,
	viper-after-change-undo-hook): don't use
	viper-emacs-state-cursor-color by default.
	(viper-undo): more sensible positioning after undo.

	* viper-ex.el (ex-splice-args-in-1-letr-cmd): got rid of caddr.
	(viper-emacs-state-cursor-color): default to nil, since this feature
	doesn't work well yet.

	* ediff-mult.el (ediff-intersect-directories,
	ediff-get-directory-files-under-revision, ediff-dir-diff-copy-file):
	always expand filenames.
2006-08-25 16:06:57 +00:00
Kim F. Storm
a452073597 (cua-help-for-rectangle): Add `alt' modifier. 2006-07-14 22:14:17 +00:00
Kim F. Storm
ae6ffe9997 (cua-delete-selection, cua-toggle-set-mark): New defcustoms.
(cua-rectangle-modifier-key): Add `alt' modifier.
(cua-replace-region): Don't delete if cua-delete-selection is nil.
(cua-set-mark): Don't clear mark if cua-toggle-set-mark is nil.
Suggested by Klaus Zeitler <kzeitler@lucent.com>.
2006-07-14 22:14:08 +00:00
Chong Yidong
b99489fee1 * emulation/viper-init.el, calendar/calendar.el:
* progmodes/make-mode.el: Delete calls to facemenu-unlisted-faces.
2006-07-03 14:32:01 +00:00
Michael Kifer
ec6aebe833 2006-06-18 Michael Kifer <kifer@cs.stonybrook.edu>
* viper-cmd.el (viper-special-read-and-insert-char): use
	read-key-sequence.
	(viper-after-change-undo-hook): enhancements.
	(viper-after-change-undo-hook): new hook.
	(viper-undo): use viper-after-change-undo-hook.
	(viper-add-newline-at-eob-if-necessary): widen before making changes.
	(viper-next-line-at-bol): If point is on a widget or a button, simulate
	clicking on that widget/button.

	* viper.el (viper-mode): allow for a separate cursor color in Emacs
	state.

	* ediff-diff (ediff-test-patch-utility): catch errors.
	(ediff-actual-diff-options, ediff-actual-diff3-options): new variables.
	(ediff-set-actual-diff-options): new function.
	(ediff-reset-diff-options, ediff-toggle-ignore-case):
	use ediff-set-actual-diff-options.
	(ediff-extract-diffs): catch errors.
	(ediff-whitespace): add nonbreakable space.
	(ediff-same-file-contents): catch errors.

	* ediff-mult.el (ediff-collect-custom-diffs): save
	coding-system-for-read.

	* ediff-vers.el (ediff-keep-tmp-versions): new var.
	(ediff-vc-internal, ediff-vc-merge-internal): use
	ediff-delete-version-file.
	(ediff-delete-version-file): new function.

	* ediff-wind.el (ediff-control-frame-parameters): set frame fringes.

	* ediff.el (ediff-directories, ediff-directory-revisions,
	ediff-merge-directories, ediff-merge-directories-with-ancestor,
	ediff-directories-internal, ediff-merge-directory-revisions,
	ediff-merge-directory-revisions-with-ancestor,
	ediff-directories3): use read-directory-name.
2006-06-18 17:08:24 +00:00
Kim F. Storm
398d70ced0 Mention customizing cua-mode as alternative
way to enable built-in cua-mode if user loads older CUA-mode package.
2006-05-20 22:38:02 +00:00
Kim F. Storm
a4dad45a78 (cua-copy-region-to-global-mark)
(cua-cut-region-to-global-mark): Use filter-buffer-substring.
2006-04-09 23:04:33 +00:00
Kim F. Storm
15ac4d5825 (cua--extract-rectangle)
(cua-incr-rectangle, cua--rectangle-aux-replace):
Use filter-buffer-substring.
2006-04-09 23:04:22 +00:00
Kim F. Storm
cf21140436 (cua-delete-region, cua-paste)
(cua-repeat-replace-region): Use filter-buffer-substring.
2006-04-09 23:04:07 +00:00
Kim F. Storm
27366995b7 (cua--init-rectangles): Use
cua-rectangle-mark-key instead of fixed C-return.
2006-03-25 00:55:09 +00:00
Kim F. Storm
1cb225da02 (cua-rectangle-mark-key): New defcustom.
(cua--init-keymaps): Use it instead of fixed C-return.
(cua-mode): Set after it.
2006-03-25 00:55:00 +00:00
Kim F. Storm
b53b41baa1 (cua--highlight-rectangle): Set overlay
cursor property value to 2 (to align with C level change).
2006-03-19 19:59:33 +00:00
Michael Kifer
b6178721d8 2006-02-19 Michael Kifer <kifer@cs.stonybrook.edu>
* viper-cmd.el (viper-insert-state-post-command-sentinel,
	viper-change-state-to-vi, viper-change-state-to-emacs):
	made aware of cursor coloring in the emacs state.
	(viper-special-read-and-insert-char): use read-char-exclusive.
	(viper-minibuffer-trim-tail): workaround for fields in minibuffer.

	* viper-init.el (viper-emacs-state-cursor-color): new variable.

	* viper-util.el (viper-save-cursor-color,
	viper-get-saved-cursor-color-in-replace-mode,
	viper-get-saved-cursor-color-in-insert-mode,
	viper-restore-cursor-color): make aware of the cursor color in emacs
	state.
	(viper-get-saved-cursor-color-in-emacs-mode): new function.

	* ediff-diff.el (ediff-ignore-case, ediff-ignore-case-option,
	ediff-ignore-case-option3, ediff-actual-diff-options,
	ediff-actual-diff3-options): new variables to control case sensitivity.
	(ediff-make-diff2-buffer, ediff-setup-fine-diff-regions,
	ediff-setup-diff-regions3): made aware of case-sensitivity.
	(ediff-toggle-ignore-case): new function.
	(ediff-extract-diffs, ediff-extract-diffs3): preserve point in buffers.

	* ediff-help.el (ediff-long-help-message-narrow2,
	ediff-long-help-message-compare2, ediff-long-help-message-compare3,
	ediff-long-help-message-word-mode): add ignore-case command.
	(ediff-help-for-quick-help): add ignore-case command.

	* ediff-merg.el: move provide to the end.

	* ediff-ptch.el: move provide to the end.

	* ediff-wind.el: move provide to the end.

	* ediff-mult.el: move provide to the end.
	(ediff-set-meta-overlay): enable follow-link.

	* ediff.el: move provide to the end.
	Break recursive load cycle in eval-when-compile.
	(ediff-patch-buffer): better heuristics.

	* ediff-util.el: move provide to the end.
	Break recursive load cycle in eval-when-compile.
	(ediff-setup-keymap): add binding for #c. Replaced some defsubsts with
	defuns.
	(ediff-submit-report): pass the values of ediff-diff3-program,
	ediff-diff3-options.
2006-02-19 03:16:45 +00:00
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
Miles Bader
98c414c7fd Revision: emacs@sv.gnu.org/emacs--devo--0--patch-27
Creator:  Michael Olson <mwolson@gnu.org>

Merge ERC-related Viper hacks into Viper.
2006-01-30 03:16:50 +00:00
Kim F. Storm
5592022932 (cua--extract-rectangle): Undo recent change re. \s in strings. 2005-12-09 09:10:10 +00:00
Kim F. Storm
e87aa62061 (cua--rectangle-aux-replace): Fix
indention of text on right side of replaced rectangle.
2005-12-08 22:52:50 +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
ea707ec6a0 (cua--extract-rectangle): Don't use \s in strings. 2005-12-08 20:56: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
Kim F. Storm
c0e4cc1987 (cua--rectangle-overlays): Make permanent-local.
(cua--rectangle-post-command): Cleanup overlays and deactivate mark
after revert-buffer (or anything else which kills all local variables).
2005-11-29 23:58:20 +00:00
Kim F. Storm
98faed9f39 (cua--highlight-rectangle): Preserve
existing face when partially highlighting a TAB in a rectangle.
2005-11-26 23:30:43 +00:00
Michael Kifer
0680ea10b4 2005-11-25 Michael Kifer <kifer@cs.stonybrook.edu>
* viper-keym.el (viper-ESC-key): use different values in terminal and
	window modes.

	* viper.el (viper-emacs-state-mode-list): delete mail-mode, add
	jde-javadoc-checker-report-mode.
2005-11-25 07:18:07 +00:00