1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-24 10:38:38 +00:00
Commit Graph

309 Commits

Author SHA1 Message Date
Michael Kifer
4986c2c6c8 2001-03-17 Michael Kifer <kifer@cs.sunysb.edu>
* ediff-util.el: Copyright years.
	(ediff-choose-syntax-table): New function.
	(ediff-setup): Use ediff-choose-syntax-table.

	* ediff-init.el (ediff-with-syntax-table): New macro, uses
	with-syntax-table.

	* ediff.el: Date of last update, copyright years.

	* ediff-wind (ediff-setup-control-frame): Nill->nil.

	* viper-ex.el (ex-token-list,ex-cmd-execute): Revamped, courtesy
	of Scott Bronson.
	(ex-cmd-assoc,ex-cmd-one-letr): New functions.
	(viper-check-sub,viper-get-ex-command,viper-execute-ex-command):
	Deleted functions.
	(viper-get-ex-com-subr,viper-ex,ex-mark): Changed to use the new
	ex-token-list.

	* viper-util.el: Spaces, indentation.

	* viper.el: Changed version, modification time.
2001-03-17 18:59:39 +00:00
Stefan Monnier
04af43bcfc (viper-vi-state-mode-list): Add cperl-mode. 2001-03-06 23:54:13 +00:00
Dave Love
ee6a34366e (ex-unix-type-shell-options): Fix :type. 2001-02-07 23:56:22 +00:00
Eli Zaretskii
751d3bc411 (viper-fast-keyseq-timeout, viper-translate-all-ESC-keysequences): Doc fix.
From Jim Meyering <jim@meyering.net>.
2001-02-07 16:30:51 +00:00
Michael Kifer
2550055a67 2001-01-19 Michael Kifer <kifer@cs.sunysb.edu>
* viper.el: call initial-major-mode on startup.

	* ediff.el (ediff-patch-file): use better defaults.

	* ediff-vers.el: fix for 8+3 DOS file systems

2001-01-19  Colin Walters <walters@cis.ohio-state.edu>

	* ediff-util.el (ediff-compare-custom-diffs-maybe): put diff in
	diff mode, if available.

2001-01-19  Vin Shelton <acs@xemacs.org>

	* ediff-hook.el (ediff-xemacs-init-menus): fixed add-menu-button

2001-01-19  Steve Youngs  <youngs@xemacs.org>

	* ediff-init.el (subst-char-in-string): Define and use it, unless
	it's already defined.
2001-01-19 07:13:03 +00:00
Gerd Moellmann
f3e03a42c6 Update to version 4.0. Provide support for
EDT scroll margins at top and bottom of the window.  Provide an
emulation of the EDT SUBS command (bound to GOLD-Enter, by
default).  Enhance edt-quit, bound to GOLD-q by default, to warn
user when file-related buffer modifications exist.  Provide
support for running EDT Emulation in XEmacs.  Provide customize
access to some user updatable variables.  Add Commentary section
to file header.  Fixed a few minor bugs and cleaned up some code.
2001-01-08 13:18:43 +00:00
Gerd Moellmann
90b6fe58c8 Update to version 4.0. Provide support
for detecting a keypress that generates an ASCII key sequence.
(Previously, only a keypress that generates a vector was
recognized.)  Embed Window Manager name into name of the generated
EDT Emulation initialization file since the initialization file is
Window Manager specific.  Add Commentary section to file header.
2001-01-08 13:18:18 +00:00
Michael Kifer
bea3997a05 2000-12-25 Michael Kifer <kifer@cs.sunysb.edu>
* viper-init (viper-restore-cursor-type): added condition-case
	guard.
2000-12-25 08:02:26 +00:00
Gerd Moellmann
918b0076ce (tpu-write-file-hook)
(tpu-set-cursor-bound): Replaced picture-clean with
tpu-trim-line-ends.
2000-12-05 13:59:08 +00:00
Gerd Moellmann
d49af51c32 (tpu-help): Fixed previous screen logic.
(tpu-search-highlight): Fixed comparison of overlay end positions.
(tpu-trim-line-ends): Implemented trimming logic locally.
2000-12-05 13:58:49 +00:00
Gerd Moellmann
8b8a7f0189 (tpu-version): New version.
(tpu-search-overlay, tpu-replace-overlay): New initial range.
(tpu-original-mode-line): Variable deleted.
(tpu-mark-flag): New initial value.
(tpu-set-mode-line): Don't redefine mode-line-format.  Add
tpu-mark-flag to minor-mode-alist.
(tpu-update-mode-line): New mark flag logic.
(tpu-get): Use find-file-wildcards.
(tpu-search-highlight): Move overlay less, reset overlay properly.
(tpu-unselect): Deactivate mark.
(tpu-lm-replace): Reset overlay properly.
(tpu-forward-line): Use forward-visible-line.
(tpu-edt-on): Set transient mark mode.  ispell autoloads deleted.
2000-11-30 12:17:21 +00:00
Gerd Moellmann
1bb45f861c (tpu-forward-line): Use
forward-visible-line.
2000-11-30 12:16:38 +00:00
Michael Kifer
7d0278167b * ediff-diff.el: Moved variables around to have it compile under NT.
* ediff-help.el (ediff-use-long-help-message): made it customizable.

	* ediff-init.el (ediff-abbrev-jobname): use capitalize.

	* ediff-wind.el (ediff-skip-unsuitable-frames): deleted the
	redundant skip-small-frames test.

	* viper-cmd.el (viper-change-state-to-vi): disable overwrite mode.
	(viper-downgrade-to-insert): protect against errors in hooks.

	* viper-init.el (viper-vi-state-hook,viper-insert-state-hook,
	viper-replace-state-hook,viper-emacs-state-hook): do cursor handling.
	(viper-restore-cursor-type,viper-set-insert-cursor-type): new
	functions.

	* viper-util.el (viper-memq-char): bug fixes

	* viper.el (viper-mode): fix cursor handling.
2000-11-24 08:15:11 +00:00
André Spiegel
8d420b631d (viper-file-checked-in-p): Call vc-state instead of vc-locking-user,
which no longer exists.
2000-11-22 12:55:31 +00:00
Michael Kifer
657f9cb8b7 2000-10-29 Michael Kifer <kifer@cs.sunysb.edu>
* viper-cmd.el (viper-preserve-cursor-color): new test that avoids
	rewrawing the screen when changing cursor color.
	(viper-insert-state-pre-command-sentinel,
	viper-replace-state-pre-command-sentinel,
	viper-replace-state-post-command-sentinel): use
	viper-preserve-cursor-color.
	Many functions changed to use viper= instead of = when comparing
	characters.
	* viper-util.el (viper-memq-char,viper=): new functions for
	working with characters.
	(viper-change-cursor-color): fixed buglet.
	Many functions changed to use viper= instead of = when comparing
	characters.
	* viper.el (viper-insert-state-mode-list): added eshell.

	* ediff-init.el (ediff-before-setup-hook): new hook.
	Several typos fixed in various docstrings.
	* ediff-merg.el (ediff-show-clashes-only): docstring typo fixed.
	* ediff-nult.el (ediff-before-session-group-setup-hooks): new
	hook.
	(ediff-show-meta-buffer): run ediff-before-session-group-setup-hooks.
	* ediff-util.el (ediff-setup): run ediff-before-setup-hook.
	(ediff-other-buffer): use selected buffers if in Buffer-menu buffer.
	(ediff-get-selected-buffers): new function.
	* ediff-vers.el (ediff-vc-internal,ediff-rcs-internal,
	ediff-vc-merge-internal,ediff-rcs-merge-internal): use
	save-window-excursion.
	* ediff-wind.el (ediff-skip-unsuitable-frames): more robust
	termination check in while loop.
	* ediff.el (ediff-get-default-file-name): better defaults when in
	dired buffer.
	(ediff-files,ediff-merge-files,ediff-files3,
	ediff-merge-files-with-ancestor): use ediff-get-default-file-name.
2000-10-29 04:56:45 +00:00
Dave Love
de98695343 Add `emulation' to keywords. 2000-09-12 13:07:00 +00:00
Sam Steingold
13f5a20e25 fixed sds e-mail 2000-08-14 21:45:06 +00:00
Gerd Moellmann
e7cec0051a (pc-selection-mode): Bind `M-\d'
instead of `M-backspace'.
2000-06-20 18:24:35 +00:00
Dave Love
db5f1c439a (define-hooked-local-abbrev, define-hooked-global-abbrev): Fix, using
define-abbrev.
2000-06-20 09:37:48 +00:00
Sam Steingold
3a8e2ba917 ignore *.elc 2000-06-19 16:16:01 +00:00
Stefan Monnier
eade2e80a7 (backward-word, forward-word, setq): Don't quote lambda. 2000-06-12 05:10:52 +00:00
Michael Kifer
560ef11a16 2000-06-05 Michael Kifer <kifer@cs.sunysb.edu>
* ediff-init.el (ediff-has-face-support-p): make it paint faces on
	tty's.
	* ediff-diff.el (ediff-exec-process): use --binary for fine
	differences whenever apropriate.
	* viper-cmd.el (viper-smart-suffix-list): rearranged list members.
	* viper.el (find-file,find-file-other-window): get viper to do
	wildcards.
2000-06-05 00:07:02 +00:00
Michael Kifer
fc290d1d79 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
* viper-ex.el (ex-write): set selective display to nil.
2000-05-24 16:32:18 +00:00
Dave Love
4e96834374 (brief-mode): New alias. 2000-05-21 17:33:05 +00:00
Michael Kifer
d35bee0ea6 2000-04-07 Mikio Nakajima <minakaji@osaka.email.ne.jp>
* viper-util.el (viper-put-on-search-overlay): New subroutine.
	(viper-flash-search-pattern): No operation when using Emacs
	doesn't support face.
	Use `viper-put-on-search-overlay'.
2000-04-07 16:10:04 +00:00
Michael Kifer
55d7ff38f1 * viper-cmd.el (viper-envelop-ESC-key): added the option to
translate all ESC key sequences.
	(viper-goto-mark-subr): restore markers for files for which
	they were saved.
	* viper-init.el (viper-translate-all-ESC-keysequences): new variable.
	* viper-util.el (viper-set-replace-overlay-glyphs,
	viper-set-replace-overlay): always check if the replacement
	overlay is live.
	* viper.el (viper-vi-state-mode-list): added major modes.
	* ediff-wind.el: minor comment changes.
	* ediff.el: copyright notice date fix.
2000-02-28 06:16:44 +00:00
Michael Kifer
1da04da19b * viper-cmd.el (viper-minibuffer-standard-hook,
viper-minibuffer-real-start): new functions.
	(viper-read-string-with-history,viper-file-add-suffix,
	viper-trim-replace-chars-to-delete-if-necessary): adapt to the
	change in the status of the minibuffer prompt.
1999-12-07 04:58:54 +00:00
Michael Kifer
b380fdf455 * viper-cmd.el (viper-change-state): Use
viper-ESC-moves-cursor-back to decide whether to move the cursor
	back.
1999-12-04 06:19:05 +00:00
Michael Kifer
7d3f9fd8e8 * viper*el: replaced old-style backquotes.
* ediff*el: replaced old-style backquotes.

	* ediff-merge
	(ediff-looks-like-combined-merge,ediff-get-combined-region):
	changed to support the new format for ediff-combination-pattern.

	* ediff-diff (ediff-set-fine-overlays-in-one-buffer):
	changed to support the new format for ediff-combination-pattern.
1999-11-25 05:20:59 +00:00
Sam Steingold
f10970635d * emulation/viper-init.el (viper-deflocalvar, viper-loop,
viper-buffer-live-p, viper-kbd-buf-alist, viper-kbd-buf-pair,
viper-kbd-buf-definition, viper-kbd-mode-alist,
viper-kbd-mode-pair, viper-kbd-mode-definition,
viper-kbd-global-pair, viper-kbd-global-definition):
Use the new backquote syntax.

* emulation/viper-cmd.el (viper-test-com-defun,
viper-prefix-arg-value, viper-prefix-arg-com):
Use the new backquote syntax.
1999-11-12 18:40:24 +00:00
Michael Kifer
3af0304a61 *** empty log message *** 1999-11-01 07:16:15 +00:00
Dave Love
da061c5e6d Update author address. 1999-09-14 18:34:10 +00:00
Richard M. Stallman
6719bba65e (tpu-version): New version.
(tpu-search-overlay, tpu-replace-overlay): New variables.
(tpu-search-highlight, tpu-toggle-direction): New functions.
(tpu-lm-replace): Set tpu-replace-overlay.
(tpu-edt-on, tpu-edt-off): Add/remove tpu-search-highlight post command hook.
1999-09-12 19:03:10 +00:00
Karl Heuer
6110ea0a1a (crisp-mode): (defcustom) Initialize with
custom-initialize-default to avoid infinite loop.
(crisp-mode): (defun) Call transient-mark-mode here, not when
loading the file.  Run crisp-mode-hook here, and run
crisp-load-hook when loading the file.
1999-06-13 02:37:28 +00:00
Richard M. Stallman
3619d13102 (crisp-submit-bug-report): Function deleted. Binding deleted also. 1999-05-24 22:25:57 +00:00
Richard M. Stallman
3da6cc2655 (crisp-mode-map): Don't inherit global-map.
Enter it on minor-mode-map-alist.
(crisp-mode): Re-named from `crsip-mode-enabled'.  Users changed.
Autoload.  Add custom setter.
(crisp-mark-line): Doc fix.
(crisp-mode): Autoload.  Re-write not to frob keymaps directly.
(crisp-mode-hook): Define.
1999-05-24 22:23:35 +00:00
Dave Love
5d5fa02f65 Fix header comments. 1999-05-23 21:08:13 +00:00
Karl Heuer
c316b3a504 (viper-movement-commands): Escape literal semicolon. 1998-09-23 23:42:22 +00:00
Richard M. Stallman
79b65a085d (crisp-mark-line): Greatly simplified. 1998-07-29 22:44:56 +00:00
Richard M. Stallman
28085971fa Don't require cl.
(crisp-override-meta-x): Doc fix.
(crisp-last-last-command): Doc fix.
(mark-something): Function deleted.
(crisp-mark-line): Avoid using mark-something.
(crisp-region-active): Renamed from region-active.
(crisp-set-clipboard): Renamed from copy-primary-selection.
(crisp-kill-region): Renamed from kill-primary-selection.
(crisp-yank-clipboard): Renamed from yank-clipboard-selection.
1998-07-25 20:58:03 +00:00
Karl Heuer
7aa5f6cf26 Added next-buffer/previous-buffer keybindings (bound to M-n/M-p).
(crisp-unbury-buffer): New function.

Fixed bogus XEmacs/Lucid string-match checking.
Made modeline entry mouse2-able.

(crisp-mode-map): Make this a sparse keymap parented from
current-global-map.
(crisp-mode-original-keymap): Don't copy the keymap.
(crisp-last-last-command): Renamed from last-last-command.  defvar it.
(crisp-mode): Honor ARG.

(crisp-kill-line, crisp-copy-line): When a region isn't highlighted,
use the region from point to eol.  Honor prefix argument.

(crisp-submit-bug-report): New command, taken from cc-mode.

Shortened the version numbering, removed the release-version tracking

(crisp-version): New function.
New keybindings `C-home', `C-end', `M-home', `M-end', `C-f', `M-l',
`M-m'.

(crisp-copy-line): No need to save point.

Removed S-right and S-left bindings.

Abstract the marking and selection interfaces so that we can be
compatible with both Emacs and XEmacs.  And try and make the
behavior as close as possible under both environments so that there
are no surprises.
1998-07-14 22:17:35 +00:00
Richard M. Stallman
0ca03bbaa6 (tpu-include) Use insert-file-contents, remove save-excursion. 1998-06-12 22:05:42 +00:00
Richard M. Stallman
f7fc93d805 Comment change. 1998-06-08 02:09:03 +00:00
Karl Heuer
64c9affcc4 Update version number. 1998-05-30 14:41:23 +00:00
Karl Heuer
22b630585d (viper-surrounding-word): Added '_' to alpha modifiers. 1998-05-30 14:29:44 +00:00
Karl Heuer
63b98362a9 (viper-skip-syntax): Bug fix for eob/bob cases. 1998-05-30 14:29:25 +00:00
Karl Heuer
6d459c4d91 (viper-backward-Word, viper-skip-separators): Bug fixes.
(viper-switch-to-buffer, viper-switch-to-buffer-other-window): Bug fixes.
1998-05-30 14:28:56 +00:00
Dan Nicolaescu
f5f727f8ff *** empty log message *** 1998-05-26 09:23:23 +00:00
Richard M. Stallman
91f3402b8d Comment changes. 1998-05-07 22:28:23 +00:00
Michael Kifer
2eb4bdca8a new version 1998-05-04 22:42:59 +00:00