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

482 Commits

Author SHA1 Message Date
Michael Kifer
50a07e1856 2002-01-07 Michael Kifer <kifer@cs.stonybrook.edu>
* viper-init.el (viper-cond-compile-for-xemacs-or-emacs):
	new macro that replaces viper-emacs-p and viper-xemacs-p in many
	cases. Used to reduce the number of warnings.

	* viper-cmd.el: use viper-cond-compile-for-xemacs-or-emacs.
	(viper-standard-value): moved here from viper.el.
	(viper-set-unread-command-events): moved to viper-util.el
	(viper-check-minibuffer-overlay): make sure
	viper-minibuffer-overlay is moved to cover the entire input field.

	* viper-util.el:  use viper-cond-compile-for-xemacs-or-emacs.
	(viper-read-key-sequence, viper-set-unread-command-events,
	viper-char-symbol-sequence-p, viper-char-array-p): moved here.

	* viper-ex.el: use viper-cond-compile-for-xemacs-or-emacs.

	* viper-keym.el: use viper-cond-compile-for-xemacs-or-emacs.

	* viper-mous.el: use viper-cond-compile-for-xemacs-or-emacs.

	* viper-macs.el (viper-char-array-p, viper-char-symbol-sequence-p,
	viper-event-vector-p): moved to viper-util.el

	* viper.el (viper-standard-value): moved to viper-cmd.el.
	Use viper-cond-compile-for-xemacs-or-emacs.

	* ediff-help.el: use ediff-cond-compile-for-xemacs-or-emacs.

	* ediff-hook.el: use ediff-cond-compile-for-xemacs-or-emacs.

	* ediff-init.el (ediff-cond-compile-for-xemacs-or-emacs): new
	macro designed to be used in many places where ediff-emacs-p or
	ediff-xemacs-p was previously used. Reduces the number of
	warnings.
	Use ediff-cond-compile-for-xemacs-or-emacs in many places in lieue
	of ediff-xemacs-p.
	(ediff-make-current-diff-overlay, ediff-highlight-diff-in-one-buffer,
	ediff-convert-fine-diffs-to-overlays, ediff-empty-diff-region-p,
	ediff-whitespace-diff-region-p, ediff-get-region-contents):
	moved to ediff-util.el.
	(ediff-event-key): moved here.

	* ediff-merge.el: got rid of unreferenced variables.

	* ediff-mult.el: use ediff-cond-compile-for-xemacs-or-emacs.

	* ediff-util.el: use ediff-cond-compile-for-xemacs-or-emacs.
	(ediff-cleanup-mess): improved the way windows are set up after
	quitting ediff.
	(ediff-janitor): use ediff-dispose-of-variant-according-to-user.
	(ediff-dispose-of-variant-according-to-user): new function
	designed to be smarter and also understands indirect buffers.
	(ediff-highlight-diff-in-one-buffer,
	ediff-unhighlight-diff-in-one-buffer,
	ediff-unhighlight-diffs-totally-in-one-buffer,
	ediff-highlight-diff, ediff-highlight-diff,
	ediff-unhighlight-diff, ediff-unhighlight-diffs-totally,
	ediff-empty-diff-region-p, ediff-whitespace-diff-region-p,
	ediff-get-region-contents, ediff-make-current-diff-overlay):
	moved here.
	(ediff-format-bindings-of): new function by Hannu Koivisto
	<azure@iki.fi>.
	(ediff-setup): make sure the merge buffer is always widened and
	modifiable.
	(ediff-write-merge-buffer-and-maybe-kill): refuse to write the
	result of a merge into a file visited by another buffer.
	(ediff-arrange-autosave-in-merge-jobs): check if the merge file
	is visited by another buffer and ask to save/delete that buffer.
	(ediff-verify-file-merge-buffer): new function to do the above.

	* ediff-vers.el: load ediff-init.el at compile time.

	* ediff-wind.el: use ediff-cond-compile-for-xemacs-or-emacs.

	* ediff.el (ediff-windows, ediff-regions-wordwise,
	ediff-regions-linewise): use indirect buffers to improve
	robustness and make it possible to compare regions of the same
	buffer (even overlapping regions).
	(ediff-clone-buffer-for-region-comparison,
	ediff-clone-buffer-for-window-comparison): new functions.
	(ediff-files-internal): refuse to compare identical files.
	(ediff-regions-internal): get rid of the warning about comparing
	regions of the same buffer.

	* ediff-diff.el (ediff-convert-fine-diffs-to-overlays): moved here.
	Plus the following fixes courtesy of Dave Love:
	Doc fixes.
	(ediff-word-1): Use word class and move - to the
	front per regexp documentation.
	(ediff-wordify): Bind forward-word-function outside loop.
	(ediff-copy-to-buffer): Use insert-buffer-substring rather than
	consing buffer contents.
	(ediff-goto-word): Move syntax table setting outside loop.
2002-01-08 04:36:01 +00:00
Richard M. Stallman
e31c1fd5e4 (ps-font-lock-face-attributes): Use :weight and :slant. 2001-12-31 20:32:52 +00:00
Pavel Janík
04b7de794f (tpu-reset-screen-size): Use set-frame-height and set-frame-width instead
of set-screen-height and set-screen-width.
2001-12-25 11:22:35 +00:00
Michael Kifer
b9fe4732f6 2001-12-24 Michael Kifer <kifer@cs.sunysb.edu>
* viper-cmd.el (viper-change-state): Got rid of make-local-hook.
	(viper-special-read-and-insert-char): Make C-m work right in the r
	comand.
	(viper-buffer-search-enable): Fixed format string.

	* viper-ex.el (ex-token-alist): Use ex-set-visited-file-name
	instead of viper-info-on-file.
	(ex-set-visited-file-name): New function.

	* viper.el (viper-emacs-state-mode-list): Added mail-mode.

	* ediff-mult.el (ediff-meta-mark-equal-files): Added optional
	action argument.

	* ediff-init.el: Fixed some doc strings.

	* ediff-util.el (ediff-after-quit-hook-internal): New variable.
	Got rid of make-local-hook.

	* ediff-wind.el (ediff-setup-control-frame): Got rid of
	make-local-hook.
2001-12-24 05:50:31 +00:00
Pavel Janík
e32abc829f Files removed. 2001-12-22 14:13:11 +00:00
Pavel Janík
f0529b5b1a Doc fix. 2001-12-20 19:01:00 +00:00
Stefan Monnier
fd4e5923fe Doc string fixes.
(pc-selection-mode): Don't treat macos as a tty.
2001-11-19 23:09:28 +00:00
Pavel Janík
8971f87bf6 Fix typo. 2001-11-16 18:37:52 +00:00
Michael Kifer
2d341681c8 2001-10-13 Michael Kifer <kifer@cs.sunysb.edu>
* viper-ex.el (ex-edit): make checks for modified buffer/file.
	(viper-get-ex-address-subr): more precise addr for the $ marker

	* viper-cmd.el: Fixed indentation.

	* viper.texi: Clarified that viper won't expand special symbols in
	search patterns.
2001-10-13 21:38:19 +00:00
Pavel Janík
744da4d88e use defalias instead of fset for user-visible commands. 2001-10-10 05:57:24 +00:00
Pavel Janík
cba04ae97e Make messages match original TPU/edt editor. 2001-10-03 19:44:55 +00:00
Michael Kifer
483e0218fe 2001-09-13 Michael Kifer <kifer@cs.sunysb.edu>
* viper-cmd.el (viper-replace-char-subr, viper-envelop-ESC-key):
	inhibit quit.
2001-09-14 03:34:31 +00:00
Michael Kifer
02f34c7046 2001-09-09 Michael Kifer <kifer@cs.sunysb.edu>
* ediff-init.el (ediff-highest-priority): bug fix.

	* viper-cmd.el (viper-special-read-and-insert-char): new function
	that reads a character and uses the current input method or
	iso-accents when appropriate.

	* viper.el and all others: corrections to the comment blocks at
	the top.
2001-09-09 22:33:38 +00:00
Gerd Moellmann
23f46f6fa4 (viper-file-checked-in-p): Use `and'
instead of `progn'.
2001-08-07 14:41:37 +00:00
Pavel Janík
070c251e74 Specify FSF as Maintainer. 2001-08-06 09:59:02 +00:00
Michael Kifer
4960e7572a * viper-ex.el (ex-token-list,ex-cmd-execute): Revamped, courtesy
of Scott Bronson.
	(ex-cmd-assoc,ex-compile,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-get-ex-address-subr): convert registers to char data type.

	* viper-util.el (viper-int-to-char,viper-char-equal): new
	functions.
	(viper-memq-char): use viper-int-to-char.
	(viper-file-checked-in-p): use vc-locking-user, if vc doesn't have
	vc-locking-state.
	(viper-read-key): use viper-read-key-sequence.

	* viper.el (viper-major-mode-modifier-list): added
	inferior-emacs-lisp-mode.
	(this-major-mode-requires-vi-state): new function that uses simple
	heuristics to decide if vi state is appropriate.
	(set-viper-state-in-major-mode): use this-major-mode-requires-vi-state.
	(viper-non-hook-settings): don't advise read-key-sequence.
	(viper-read-key-sequence): new function that replaces the
	previously used advice to read-key-sequence.

	* viper-cmd.el (viper-test-com-defun,viper-exec-change,
	viper-exec-Change,viper-execute-com,viper-insert,viper-append,
	viper-Append,viper-Insert,viper-open-line,viper-Open-line,
	viper-open-line-at-point,viper-substitute,viper-overwrite,
	viper-replace-char-subr,viper-forward-word,viper-forward-Word):
	got rid of the negative character hack.
	(viper-escape-to-state,viper-replace-state-exit-cmd):
	use viper-read-key-sequence.
	(viper-envelop-ESC-key): no need for ad-get-orig-definition.
	(viper-minibuffer-standard-hook,viper-read-string-with-history):
	don't override existing minibuffer-setup-hook.
	(viper-mark-point,viper-goto-mark-subr,viper-brac-function):
	convert registers to char data type.
	(viper-autoindent): use viper-indent-line.

	* viper-keym.el: use viper-exec-key-in-emacs.

	* viper.texi: Added credits, new commands, like :make.

	* ediff-util.el: Copyright years.
	(ediff-choose-syntax-table): New function.
	(ediff-setup): Use ediff-choose-syntax-table.
	(ediff-file-checked-out-p,ediff-file-checked-in-p): check if
	vc-state is available.
	(ediff-make-temp-file): use ediff-coding-system-for-write.

	* ediff-init.el (ediff-with-syntax-table): New macro, uses
	with-syntax-table.
	(ediff-coding-system-for-read): from ediff-diff.el
	(ediff-coding-system-for-write): new variable.
	(ediff-highest-priority): fixed the bug having to do with disappearing
	overlays.
	(ediff-file-remote-p): use file-remote-p, if available.
	(ediff-listable-file): new function.
	(ediff-file-attributes): use ediff-listable-file.

	* ediff-mult.el (ediff-meta-insert-file-info1): use
	ediff-listable-file.

	* ediff-ptch.el (ediff-prompt-for-patch-file): use
	ediff-coding-system-for-read.
	(ediff-patch-file-internal): use ediff-coding-system-for-write.

	* ediff-diff.el (ediff-coding-system-for-read): moved to ediff-init.el.
	(ediff-match-diff3-line,ediff-get-diff3-group): improved pattern.

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

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

	* ediff.texi: added clarifications, acknowledgements.
2001-07-21 05:28:24 +00:00
Pavel Janík
e8af40eed4 Some fixes to follow coding conventions. 2001-07-16 12:23:00 +00:00
Pavel Janík
6a05d05faf Fixes to follow coding conventions. 2001-07-16 11:39:42 +00:00
Pavel Janík
3afbc435ac Some fixes to follow coding conventions. 2001-07-16 07:46:48 +00:00
Pavel Janík
60370d4073 Some fixes to follow coding conventions. 2001-07-15 19:53:53 +00:00
Pavel Janík
5553563924 Some fixes to follow coding conventions in files maintained by FSF. 2001-07-15 16:15:35 +00:00
Eli Zaretskii
5d5e7f5328 (pc-selection-mode): Don't turn on
normal-erase-is-backspace on a tty.  Instead, bind some keys such
as [delete] directly, like pc-select.el did before
normal-erase-is-backspace was invented.
2001-04-13 11:13:23 +00:00
Eli Zaretskii
58e4f61d20 (pc-selection-mode): Call normal-erase-is-backspace-mode instead of
binding keys individually.
2001-04-04 14:09:12 +00:00
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
Stephen Eglen
786b07e8f5 Customize. 1998-04-17 17:24:17 +00:00
Richard M. Stallman
a8c5f069fa (ex-expand-filsyms): store-match-data => set-match-data. 1998-03-14 04:50:54 +00:00
Stephen Eglen
0b5bb3ec88 Customized. 1998-02-22 22:01:28 +00:00
Michael Kifer
c004db972f new version 1997-11-25 02:10:08 +00:00
Karl Heuer
d73769eb97 (wordstar-mode): Run wordstar-mode-hook. 1997-11-11 02:56:56 +00:00
Michael Kifer
328b4b7052 new version 1997-11-01 01:46:51 +00:00
Karl Heuer
dafcda2057 (tpu-arrange-rectangle): Use FORCE arg of move-to-column. 1997-10-23 06:42:50 +00:00
Michael Kifer
8e41a31c5d new version 1997-09-30 01:13:53 +00:00
Richard M. Stallman
f0f90cfddf (viper-mouse-search-key): Fix custom type.
(viper-mouse-insert-key): Likewise.
1997-09-15 23:21:03 +00:00
Richard M. Stallman
085d66980f (viper-non-vi-major-modes): Fix customize type. 1997-09-13 06:16:55 +00:00
Richard M. Stallman
a27f97ee15 (viper-mouse-search-key, viper-mouse-insert-key): Fix customize type. 1997-09-13 06:16:07 +00:00
Richard M. Stallman
eabbaad87a (viper-repeat-from-history-key): Fix customize type. 1997-09-13 06:13:10 +00:00
Richard M. Stallman
5ee3742d67 (ex-unix-type-shell): Fix customize type. 1997-09-13 06:12:13 +00:00
Richard M. Stallman
454b1ed891 (viper-smart-suffix-list): Fix customize type. 1997-09-13 06:11:09 +00:00
Michael Kifer
5ce0578820 new version 1997-09-12 21:09:03 +00:00
Michael Kifer
73f5295803 new version 1997-09-11 01:20:27 +00:00
Michael Kifer
96dffd25b0 new version 1997-09-05 04:48:58 +00:00
Michael Kifer
34317da2d4 new version 1997-08-22 03:15:57 +00:00
Richard M. Stallman
83d1d58cbf Customized. 1997-08-11 00:23:00 +00:00
Michael Kifer
985d0dad78 new version 1997-08-09 04:30:41 +00:00
Richard M. Stallman
2d30d788ae (viper-replace-overlay-pixmap)
(viper-search-face-pixmap): Variables deleted.
(viper-replace-overlay-face, viper-search-face): Use "gray3" explicitly.
1997-08-09 02:23:32 +00:00
Michael Kifer
41497c90ae new version 1997-08-07 04:48:48 +00:00
Michael Kifer
8626cfa223 new version 1997-08-02 07:40:22 +00:00
Michael Kifer
2f3eb3b625 new version 1997-08-02 06:56:24 +00:00
Richard M. Stallman
27f20fc120 Comment change. 1997-07-27 20:04:29 +00:00
Michael Kifer
c81246f3a6 new version 1997-07-25 01:42:53 +00:00
Richard M. Stallman
d61e2ad997 Comment change. 1997-07-24 16:33:00 +00:00
Richard M. Stallman
26d814667a Comment change 1997-07-24 16:12:36 +00:00
Michael Kifer
b484aa0975 new version 1997-07-22 16:35:49 +00:00
Richard M. Stallman
aca9b721bb Require viper-init. 1997-07-21 18:24:06 +00:00
Michael Kifer
5489c3d3fd new version 1997-07-18 18:55:36 +00:00
Michael Kifer
1e70790f2f new version 1997-07-17 19:37:07 +00:00
Richard M. Stallman
c7909e025c (tpu-set-mode-line) Added mode-line-mule-info and
mode-line-frame-identification.
1997-07-12 18:26:11 +00:00
Richard M. Stallman
c93c42a61a (vip-mode-map): Add defvar; move earlier.
(vip-c-string): Variable renamed and defvar added.
(vip-save-minibuffer-local-map): Likewise.
(vip-end-with-a-newline-p): Use STRING (the arg) instead of `text'.
1997-06-23 19:18:36 +00:00
Richard M. Stallman
896546cd9b Add provide call. 1997-06-22 18:57:55 +00:00
Michael Kifer
f4ce0bd71e new version 1997-06-20 21:43:44 +00:00
Michael Kifer
e36a387ddd new version 1997-06-18 01:26:55 +00:00
Karl Heuer
b50c87ee6e (pc-select-selection-keys-only): New variable.
(pc-select-meta-moves-sexps): New variable.
(exchange-point-and-mark-nomark): New function.
(forward-sexp-mark, forward-sexp-nomark): New functions.
(backward-sexp-mark, backward-sexp-nomark): New functions.
(pc-selection-mode): Doc fix.
Bind exchange-point-and-mark-nomark, C-escape.
Honor pc-select-meta-moves-sexps, pc-select-selection-keys-only.
Unset highlight-nonselected-windows.
1997-06-10 19:44:44 +00:00
Michael Kifer
726e270f85 new version 1997-06-09 04:00:50 +00:00
Richard M. Stallman
20d4994d96 Re-add copying permission text. 1997-06-06 19:16:26 +00:00
Michael Kifer
d5e52f9968 new version 1997-06-02 22:50:31 +00:00
Michael Kifer
9b70a748ed new version 1997-05-31 00:02:53 +00:00
Michael Kifer
cec3612204 Initial revision 1997-05-30 23:37:13 +00:00
Richard M. Stallman
f1e13b4dd1 (edt-emulation-on): Handle absence of TERM envvar. 1997-05-29 06:57:11 +00:00
Richard M. Stallman
8b16c1f53d (vi-join-lines): Locally bind count.
(vi-search-forward, vi-search-backward): Use isearch-update-ring.
(vi-repeat-last-search, vi-reverse-last-search):
Get string from the ring.
(vi-mode-old-major-mode, vi-mode-old-mode-name): New defvars.
(vi-mode-old-local-map, vi-mode-old-case-fold): Likewise.
(vi-tilde-map): Move the defvar and bindings to the front.
1997-05-27 20:49:17 +00:00
Richard M. Stallman
4228277d98 Comment change. 1997-05-27 17:46:19 +00:00
Richard M. Stallman
8c4ba7c83f (pc-selection-mode): Swap meanings of f16 and f18;
they were backwards.
1997-05-22 02:06:07 +00:00
Richard M. Stallman
f5a5808ec6 (crisp-mode): Add autoload cookie. 1997-05-20 21:46:00 +00:00
Richard M. Stallman
f4ff0fb4fe (crisp-last-last-command): Renamed from last-last-command
and defvar added.
1997-05-20 18:49:06 +00:00
Richard M. Stallman
05e9907c40 (wordstar-mode): Add a mode-class property. 1997-05-05 04:19:41 +00:00
Richard M. Stallman
39445e6216 (edt-emulation-on): Load edt-pc.el under Windows. 1997-04-30 02:13:02 +00:00
Richard M. Stallman
a06e220dd6 (crisp-load-scroll-all): Renamed from ...-lock.
(crisp-mode): Use scroll-all... not scroll-lock...
1997-04-29 21:11:33 +00:00
Richard M. Stallman
d21b20858f Install the proper version. 1997-04-14 10:35:17 +00:00
Richard M. Stallman
8c7d9baf9f Comment change. 1997-04-10 21:42:07 +00:00
Richard M. Stallman
5e33ba39fe Initial revision 1997-04-10 20:43:54 +00:00
Michael Kifer
bf5d92c5e3 *** empty log message *** 1996-12-28 02:53:04 +00:00
Richard M. Stallman
5d137be3bd (edt-load-xkeys): Doc fix. 1996-10-12 02:41:07 +00:00
Richard M. Stallman
4907ce5b07 Doc fixes on most variables. 1996-10-12 02:39:33 +00:00
Richard M. Stallman
4408bb61c3 (tpu-load-xkeys): Doc fix. 1996-10-12 02:34:32 +00:00
Richard M. Stallman
8028cf8aad (vip-window-display-p): Don't treat MS-DOS as a windowed display. 1996-09-25 07:45:15 +00:00
Richard M. Stallman
a53e4a8bf6 Comment change. 1996-09-24 04:50:39 +00:00
Michael Kifer
92c51e075e *** empty log message *** 1996-09-20 01:10:05 +00:00
Michael Kifer
ab1244706c *** empty log message *** 1996-09-06 02:13:39 +00:00
Michael Kifer
34da0a2b03 *** empty log message *** 1996-09-06 01:17:30 +00:00
Richard M. Stallman
7003b25830 (vip-custom-file-name): Use convert-standard-filename. 1996-09-01 19:09:14 +00:00
Richard M. Stallman
2a81150148 (ensure-mark): Minor rewrite.
(scroll-down-mark): Handle pc-select-override-scroll-error,
(scroll-down-nomark): Likewise.
(scroll-up-mark, scroll-up-nomark): Likewise.
(pc-selection-mode): Get rid of the advice on scroll-up, scroll-down.
1996-08-26 15:15:02 +00:00
Richard M. Stallman
20c5a87d0b Replace \n in doc strings.
(pc-selection-mode): Big doc fix.  Don't bind f1.

(forward-line-mark): New function.
(forward-line-nomark): New function.
(backward-line-mark): New function.
(backward-line-nomark): New function.
(pc-selection-mode): Add keybindings for those functions.
(pc-select-override-scroll-error): New variable.
1996-08-24 16:10:28 +00:00
Karl Heuer
33341bdcc0 (vip-ms-style-os-p, vip-vms-os-p): Moved to viper-util.el. 1996-07-21 19:34:48 +00:00
Karl Heuer
74fb2f32db (vip-ms-style-os-p, vip-vms-os-p): Moved here from viper.el. 1996-07-21 19:34:15 +00:00
Karl Heuer
1fb87c7784 Fix FSF address in comment. 1996-07-20 18:10:35 +00:00
Karl Heuer
d63a37ea48 (vip-ms-style-os-p): Doc fix. 1996-07-20 17:20:16 +00:00
Karl Heuer
ffb7fd7c7f (vip-get-filenames-from-buffer): Add &optional. 1996-07-17 21:13:24 +00:00
Michael Kifer
20626291f6 (vip-read-key): inhibit quit added. 1996-07-01 02:34:51 +00:00
Michael Kifer
52fa07baf5 *** empty log message *** 1996-06-22 03:20:38 +00:00
Michael Kifer
bbe6126cba *** empty log message *** 1996-06-22 01:54:34 +00:00
Erik Naggum
b035a6780c Fixed up initial line 1996-05-20 21:07:10 +00:00
Michael Kifer
03fc124629 *** empty log message *** 1996-03-29 01:02:28 +00:00
Richard M. Stallman
9596811a3d Comment change. 1996-03-02 06:37:35 +00:00
Richard M. Stallman
b00bd89720 (tpu-load-xkeys): Fix previous change. 1996-02-26 23:48:28 +00:00
Michael Kifer
bf04a50e58 (vip-event-key): previous change undone. 1996-02-16 21:51:41 +00:00
Michael Kifer
df93b82b6f (vip-events-to-macro): discard events represented as lists in macro
definitions.
1996-02-16 21:50:58 +00:00
Michael Kifer
90e9c54bb0 (vip-mouse-click-insert-word): fixed a typo. 1996-02-16 21:49:32 +00:00
Michael Kifer
edff961b12 (ex-map-read-args,ex-unmap-read-args): fixed messages.
(vip-events-to-macro): delete nil in macro definitions.
1996-02-16 19:02:38 +00:00
Michael Kifer
f8169b5e8f (vip-event-key): ignore consp events. 1996-02-16 19:01:53 +00:00
Michael Kifer
4ae69eaccf *** empty log message *** 1996-02-16 06:36:35 +00:00
Michael Kifer
ae37fce932 *** empty log message *** 1996-02-16 05:25:08 +00:00
Michael Kifer
c992e21143 *** empty log message *** 1996-02-16 04:49:12 +00:00
Michael Kifer
39f002d2de *** empty log message *** 1996-02-16 04:27:19 +00:00
Karl Heuer
f8fbe212ec (vip-brac-function): Fix error format string. 1996-01-29 23:20:08 +00:00
Karl Heuer
21c78bce61 (vip-register-macro): Fix error format string. 1996-01-29 23:19:49 +00:00
Karl Heuer
0fd6a3e294 (vip-ex, ex-expand-filsyms, vip-execute-ex-command): Fix error format string. 1996-01-29 23:19:25 +00:00
Karl Heuer
195b04a4be (vip-execute-ex-command, ex-write): Fix error format string. 1996-01-29 23:19:04 +00:00
Michael Kifer
95d70c422a Moved code around to minimize compiler warnings. 1996-01-26 23:34:09 +00:00
Richard M. Stallman
14dacacd65 Add some keybindings.
(next-line-mark, next-line-nomark): Set this-command.
(previous-line-mark, previous-line-nomark): Likewise.
(end-of-line-mark, end-of-line-nomark): Likewise.
1996-01-26 19:53:32 +00:00
Karl Heuer
2bcbf51072 (ex-pwd, vip-info-on-file): Pass proper format string to message.
(ex-set): Delete format call inside message.
1996-01-25 01:17:24 +00:00
Karl Heuer
f0685fda1e (edt-display-the-time): Pass proper format string to message.
(edt-y-or-n-p): Delete format call inside message.
1996-01-25 01:15:21 +00:00
Karl Heuer
4cea11ffad (vip-replace-string, vip-search-forward, vip-search-backward): Delete format call inside message. 1996-01-25 01:13:01 +00:00
Karl Heuer
86fec58233 (tpu-y-or-n-p): Delete format call inside message. 1996-01-25 01:03:29 +00:00
Karl Heuer
9e68b613f2 (vip-save-setting): Pass proper format string to message. 1996-01-25 00:58:53 +00:00
Karl Heuer
91227bb206 (ex-map-read-args, ex-unmap-read-args, vip-record-kbd-macro): Pass proper format string to message. 1996-01-25 00:58:39 +00:00
Erik Naggum
ecbf5c22ea (vip-ask-level): Prefix \ to ( at start of line. 1996-01-24 19:17:51 +00:00
Michael Kifer
d3e1167fd1 *** empty log message *** 1996-01-20 03:19:26 +00:00
Michael Kifer
151496c02b Sat Jan 20 01:41:56 1996 Michael Kifer <kifer@sbkifer>
* viper.el (vip-auto-indent,vip-electric-mode): are now local
	variables.
	(vip-open-line,vip-Open-line,vip-autoindent):
	are now electrified functions.
	(vip-set-hooks): viperized awk, ksh, makefile, and html-helper modes.
	(vip-custom-file-name): adapted to non-Unix systems.
	(vip-move-minibuffer-overlay): removed.
	(vip-read-string-with-history):
	now accepts correct defaults when called to
	read a shell command.
1996-01-20 03:10:57 +00:00
Karl Heuer
e803d7673b Use `convert-standard-filename' to set the name
of the key mapping file.
1996-01-19 22:44:37 +00:00
Karl Heuer
a96c462fce (tpu-load-xkeys): Use `convert-standard-filename' to
set the name of the key mapping file.
1996-01-19 22:43:41 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Karl Heuer
f750c3604e (edt-emulation-on): system-type is a symbol. 1996-01-09 23:08:24 +00:00
Karl Heuer
a7acbbe4d4 Comment fixes. 1996-01-05 22:21:28 +00:00
Karl Heuer
05497fc618 (vip-insert-diehard-minor-mode, vip-toggle-search-style,
vip-del-backward-char-in-replace, vip-query-replace): Doc fix.
1996-01-04 23:52:13 +00:00
Karl Heuer
7231c3d528 (vip-shift-width): Doc fix. 1996-01-04 23:51:47 +00:00
Karl Heuer
f7eee6c6dd (GOLD-map, GOLD-CSI-map, GOLD-SS3-map, tpu-set-mark):
Doc fix.
1996-01-04 23:51:12 +00:00
Karl Heuer
896b732936 (edt-find-forward, edt-find-backward, edt-find,
edt-find-next-forward, edt-find-next-backward, edt-find-next): Doc fix.
1996-01-04 23:34:16 +00:00
Karl Heuer
4f9da2416a (vi-backward-windowful): Renamed from vi-backward-windowfull.
(vi-forward-windowful): Renamed from vi-forward-windowfull.
1996-01-04 23:11:02 +00:00
Richard M. Stallman
f719b45aaa (vip-startup-file): New variable.
(vip-mode): Use `vip-startup-file' for the startup file name.
1996-01-01 23:40:10 +00:00
Richard M. Stallman
91760fd69c (vip-custom-file-name): Use convert-standard-filename. 1996-01-01 23:36:51 +00:00
Karl Heuer
c968bd1308 Don't list any faces in menu. 1995-11-10 18:57:42 +00:00
Richard M. Stallman
4bba4654c6 (pc-selection-mode): Don't mess with c-mode-map. 1995-11-10 17:19:47 +00:00
Karl Heuer
0c6d8148e6 (tpu-set-mode-line): Add element for column number. 1995-11-02 04:40:07 +00:00
Richard M. Stallman
be01074898 Comment change. 1995-10-30 17:35:01 +00:00
Richard M. Stallman
ad837797de Comment change. 1995-10-30 17:22:28 +00:00
Richard M. Stallman
3eeb7b9f68 (pc-selection-mode): Add autoload cookie. 1995-10-17 18:13:25 +00:00
Richard M. Stallman
215e89e594 Initial revision 1995-10-17 18:10:37 +00:00
Michael Kifer
04090c34c5 (vip-set-hooks): Use view-mode-hook in emacs and view
hook in xemacs.
(vip-read-string-with-history): minibuffer-setup-hook no longer
waits for the user to type, if there are unread events.
Added (vip-leave-region-active) to all simple movement commands.
Harnessed view-minor-mode.
Viper now understands syntactic tables.
(vip-read-string-with-history,vip-search): won't pause inside
macros any more.
1995-10-14 02:32:56 +00:00
Michael Kifer
e0c82342d8 (vip-leave-region-active): new function. 1995-10-14 02:27:42 +00:00
Michael Kifer
a595547cc5 * viper-mous.el (vip-surrounding-word): modified to understand tripple clicks. 1995-10-14 02:26:46 +00:00
Michael Kifer
f90edb57db (vip-record-kbd-macro): correctly escapes .' and [' now. 1995-10-14 02:25:42 +00:00
Michael Kifer
c6b52c4645 (ex-write): uses better defaults. 1995-10-14 02:21:19 +00:00