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
Romain Francoise
90066cb5e0 (viper-set-hooks): Quote forms passed to `eval-after-load' to avoid
evaluating their result.
2005-10-23 12:47:11 +00:00
Romain Francoise
4fe3f29711 * ibuf-ext.el (ibuffer-do-shell-command-pipe)
(ibuffer-do-shell-command-pipe-replace)
(ibuffer-do-shell-command-file, ibuffer-do-eval)
(ibuffer-do-view-and-eval, ibuffer-do-rename-uniquely)
(ibuffer-do-revert, ibuffer-do-replace-regexp)
(ibuffer-do-query-replace, ibuffer-do-query-replace-regexp)
(ibuffer-do-print, ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
(ibuffer-filter-by-name, ibuffer-filter-by-filename)
(ibuffer-filter-by-size-gt, ibuffer-filter-by-size-lt)
(ibuffer-filter-by-content, ibuffer-filter-by-predicate
(ibuffer-do-sort-by-major-mode, ibuffer-do-sort-by-mode-name)
(ibuffer-do-sort-by-alphabetic, ibuffer-do-sort-by-size):
Autoload file sans suffix.

* emulation/cua-base.el (cua-toggle-global-mark): Likewise.
2005-10-07 12:43:57 +00:00
Michael Kifer
e2de3a2945 2005-10-05 Michael Kifer <kifer@cs.stonybrook.edu>
* ediff-merge.el (ediff-merge-region-is-non-clash): new defsubst.
	(ediff-merge-region-is-non-clash-to-skip): previouslu called
	ediff-merge-region-is-non-clash.

	* ediff-mult.el (ediff-append-custom-diff,ediff-meta-show-patch): use
	insert-buffer-substring.

	* ediff-ptch.el (ediff-fixup-patch-map): use better heuristics for
	selecting files to patch. Also bug fixes.

	* ediff-util.el (ediff-setup): bug fix.
	(ediff-next-difference): Never skip clashes that differ in white space
	only.

	* ediff-wind.el (ediff-setup-control-frame,ediff-destroy-control-frame):
	check the menubar feature.

	* viper-cmd.el (viper-normalize-minor-mode-map-alist,
	viper-refresh-mode-line): use make-local-variable to localize some vars
	instead of make-variable-buffer-local. Suggested by Stefan Monnier.

	* viper-init.el (viper-make-variable-buffer-local): delete alias.
	(viper-restore-cursor-type,viper-set-insert-cursor-type): use
	make-local-variable instead of make-variable-buffer-local. Suggested by
	Stefan Monnier.

	* viper.el (viper-mode): don't use viper-make-variable-buffer-local.
	(viper-comint-mode-hook): use make-local-variable on
	require-final-newline.
	(viper-non-hook-settings): don't use make-variable-buffer-local.
2005-10-06 00:09:49 +00:00
Kim F. Storm
7266210374 Set CUA move property on additional commands:
up-list, down-list, backward-up-list, end-of-defun beginning-of-defun,
forward-sexp backward-sexp, forward-list, backward-list
2005-09-28 19:16:44 +00:00
Romain Francoise
5b76833fd5 2005-09-24 Emilio C. Lopes <eclig@gmx.net>
* woman.el (woman-file-name):
	* wid-edit.el (widget-file-prompt-value)
	(widget-coding-system-prompt-value):
	* w32-fns.el (set-w32-system-coding-system):
	* vc.el (vc-version-diff, vc-annotate):
	* textmodes/reftex-auc.el (reftex-arg-cite)
	(reftex-arg-index-tag):
	* textmodes/refer.el (refer-get-bib-files):
	* textmodes/artist.el (artist-figlet-choose-font):
	* terminal.el (terminal-emulator):
	* replace.el (occur-read-primary-args):
	* rect.el (string-rectangle, string-insert-rectangle):
	* ps-print.el (ps-print-preprint):
	* progmodes/pascal.el (pascal-goto-defun):
	* progmodes/etags.el (visit-tags-table, visit-tags-table-buffer):
	* progmodes/compile.el (compilation-find-file):
	* printing.el (pr-interactive-n-up):
	* play/animate.el (animate-birthday-present):
	* net/rcompile.el (remote-compile):
	* man.el (man, Man-goto-section, Man-follow-manual-reference):
	* mail/rmailsum.el (rmail-summary-search-backward)
	(rmail-summary-search):
	* mail/rmailout.el (rmail-output-read-rmail-file-name)
	(rmail-output-read-file-name):
	* mail/rmail.el (rmail-search, rmail-search-backwards):
	* mail/mailabbrev.el (merge-mail-abbrevs, rebuild-mail-abbrevs):
	* locate.el (locate):
	* international/quail.el (quail-show-keyboard-layout):
	* international/mule.el (set-buffer-file-coding-system)
	(revert-buffer-with-coding-system, set-file-name-coding-system)
	(set-terminal-coding-system, set-keyboard-coding-system)
	(set-next-selection-coding-system):
	* international/mule-diag.el (describe-coding-system)
	(describe-font, describe-fontset):
	* international/mule-cmds.el (universal-coding-system-argument)
	(search-unencodable-char, describe-input-method)
	(set-language-environment, describe-language-environment):
	* international/codepage.el (codepage-setup):
	* international/code-pages.el (codepage-setup):
	* info.el (Info-search, Info-follow-reference)
	(Info-search-backward):
	* emacs-lisp/advice.el (ad-read-advised-function)
	(ad-read-advice-class, ad-clear-cache, ad-activate)
	(ad-deactivate, ad-update, ad-unadvise, ad-read-advice-name)
	(ad-enable-advice, ad-disable-advice, ad-remove-advice)
	(ad-read-regexp):
	* ediff-util.el (ediff-toggle-regexp-match):
	* ediff-ptch.el (ediff-prompt-for-patch-file):
	* dired-aux.el (dired-diff):
	* diff.el (diff):
	* cus-edit.el (custom-variable-prompt):
	* calendar/timeclock.el (timeclock-ask-for-project):
	* calc/calcalg3.el (calc-get-fit-variables):
	* calc/calc-store.el (calc-edit-variable)
	(calc-permanent-variable):
	* vc-mcvs.el (vc-mcvs-register):
	* shadowfile.el (shadow-define-literal-group):
	* woman.el (woman-file-name):
	* vc.el (vc-version-diff, vc-merge):
	* textmodes/reftex-index.el (reftex-index-complete-tag):
	* format.el (format-decode-buffer, format-decode-region):
	* emulation/viper-cmd.el (viper-read-string-with-history):
	* emacs-lisp/debug.el (cancel-debug-on-entry):
	* emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
	* ediff.el (ediff-merge-revisions)
	(ediff-merge-revisions-with-ancestor, ediff-revision):
	* completion.el (interactive-completion-string-reader):
	* calc/calc-prog.el (calc-user-define-formula):
	Follow convention for reading with the minibuffer.
2005-09-24 13:44:02 +00:00
Michael Kifer
15c77b9ecd 2005-09-20 Michael Kifer <kifer@cs.stonybrook.edu>
* ediff-ptch.el (ediff-file-name-sans-prefix): treat nil as an empty
	string.
	(ediff-fixup-patch-map): better heuristic for intuiting the file names
	to patch.
	(ediff-prompt-for-patch-file): more intuitive prompt.

	* ediff-util.el: use insert-buffer-substring.

	* ediff-vers.el (cvs-run-ediff-on-file-descriptor): bug fix.

	* viper-cmd.el (viper-change-state): don't move over the field
	boundaries in the minibuffer.
	(viper-set-minibuffer-style): add viper-minibuffer-post-command-hook.
	(viper-minibuffer-post-command-hook): new hook.
	(viper-line): don't move cursor at bolp.

	* viper-ex.el (ex-pwd, viper-info-on-file): fixed message

	* viper-init.el: add alias to make-variable-buffer-local to avoid
	compiler warnings.

	* viper-macs.el (ex-map): better messages.

	* viper-utils.el (viper-beginning-of-field): new function.

	* viper.el: replace make-variable-buffer-local with
	viper-make-variable-buffer-local everywhere, to avoid warnings.
2005-09-20 17:47:28 +00:00
Deepak Goel
7b8a295e79 message format spec fixes, commit # 8 2005-09-18 12:39:40 +00:00
Kim F. Storm
ecd6106722 (cua-delete-region): Return t if
deleted region was non-empty.
(cua-replace-region): Inhibit overwrite-mode for
self-insert-command if replaced region was non-empty.
(cua--explicit-region-start, cua--status-string): Make them
buffer-local at top-level...
(cua-mode): ...rather than when mode is enabled.
2005-08-15 14:10:39 +00:00
Michael Kifer
44766d63ad 2005-08-06 Michael Kifer <kifer@cs.stonybrook.edu>
* viper.el (viper-emacs-state-mode-list): add recentf-dialog-mode.
	Change the date of last update.
2005-08-06 20:29:11 +00:00
Michael Kifer
3868558380 2005-08-06 Michael Kifer <kifer@cs.stonybrook.edu>
* viper-cmd.el (viper-harness-minor-mode,viper-exec-delete,
	viper-exec-yank,viper-put-back): don't display modification msg if in
	the minibuffer.

	* viper-init.el (viper-replace-overlay-cursor-color,
	viper-insert-state-cursor-color,viper-vi-state-cursor-color): make
	variables frame local.

	* viper-util.el (viper-append-filter-alist): use append instead of
	nconc.

	* viper.el (viper-vi-state-mode-list,viper-emacs-state-mode-list): move
	help-mode and completion-list-mode from the first list to the second.
	(viper-mode): docstring.
	(viper-go-away,viper-non-hook-settings): don't localize
	minor-mode-alist in newer emacsen.
	Add advice to set-cursor-color.
	Don't bind "\C-c\\".
2005-08-06 16:58:54 +00:00
Kim F. Storm
f28564957e (cua--highlight-rectangle): Only show
rectangle overlay in selected window.
2005-08-01 22:06:42 +00:00
Thien-Thi Nguyen
5fd6d89f46 Update years in copyright notice; nfc. 2005-08-01 15:47:19 +00:00
Juanma Barranquero
1023b16920 (cua-mode, cua-enable-register-prefix, cua-enable-cua-keys, cua-use-hyper-key,
cua-virtual-rectangle-edges): Fix typos in docstrings.
(cua--M/H-key, cua--init-keymaps): "?\ " -> "?\s".
2005-07-21 09:38:13 +00:00
Kim F. Storm
3685c8a4bf (cua-mode): Improve doc string. 2005-07-20 11:03:41 +00:00
Michael Kifer
acfb6f24f7 * viper-cmd.el (viper-escape-to-state): bug fix
(viper-envelop-ESC-key): changed the definition of fast keysequence so
	it'll work with keyboard macros

	* ediff.el (ediff-patch-buffer): changed the docstring.
2005-07-19 05:01:20 +00:00
Richard M. Stallman
b674ceaf81 (viper-activate-input-method): Avoid warning. 2005-07-16 17:39:49 +00:00
Kim F. Storm
01096a7b8c (cua--pre-command-handler-1, cua--pre-command-handler)
(cua--post-command-handler-1, cua--post-command-handler):
Split in two.  Check (buffer local) value of cua-mode.
(cua-selection-mode): New command.
2005-07-14 08:27:30 +00:00
Michael Kifer
8ea74b0e45 * viper-cmd.el (viper--key-maps): new variable.
(viper-normalize-minor-mode-map-alist): use viper--key-maps and
	emulation-mode-map-alists.
	(viper-envelop-ESC-key): use viper-subseq.
	(viper-search-forward/backward/next): disable debug-on-error.

	* viper-keym.el (viper-toggle-key,viper-quoted-insert-key,
	viper-ESC-key): new defcustoms.

	* viper-macs.el (ex-map-read-args): use viper-subseq.

	* viper-util.el (viper-key-to-emacs-key): use viper-subseq.
	(viper-subseq): copy of subseq from cl.el.

	* viper.el (viper-go-away,viper-set-hooks): use
	emulation-mode-map-alists, advise self-insert-command, add-minor-mode.

	* viper-mous.el (viper-current-frame-saved): use defvar.

	* viper-init.el: got rid of -face in face names.

	* ediff-diff.el (ediff-extract-diffs,ediff-extract-diffs3):
	Make it work with longlines mode

	* ediff-mult.el (ediff-meta-mode-hook): new variable.

	* ediff-ptch.el (ediff-file-name-sans-prefix): quote regexp.

	* ediff-init: got rid of -face in face names.
2005-07-10 18:46:24 +00:00
Stefan Monnier
a5717394ea (CSI-map, SS3-map, GOLD-map, GOLD-CSI-map)
(GOLD-SS3-map): Initialize in declaration.
(tpu-set-mode-line): Don't throw away other minor mode strings when
turning off the mode.
(tpu-set-match, tpu-match-beginning, tpu-check-match)
(tpu-show-match-markers): Use the insertion-type rather than the +1
offset kludge for tpu-match-beginning-mark.
(tpu-edt-mode): Use define-minor-mode.
(minibuffer-local-must-match-map, minibuffer-local-map): Try to avoid
using the escape sequence and use the real key name instead.
(tpu-reset-control-keys): Don't copy a keymap needlessly.
(tpu-arrow-history): Simplify.
(tpu-edt-on): Set control keys after changing the global map.
(tpu-edt-on, tpu-edt-off): Work unconditionally.
2005-07-07 04:59:32 +00:00
Lute Kamstra
3a35cf56e7 Update FSF's address. 2005-07-04 17:55:18 +00:00
Juanma Barranquero
eca4927a08 (viper-mouse): Finish `defgroup' description with period. 2005-07-04 02:49:51 +00:00
Juanma Barranquero
87c81c8987 (viper-ex): Finish `defgroup' description with period. 2005-07-04 02:48:53 +00:00
Richard M. Stallman
8a26ec4e18 (tpu-mark): Fix previous change.
(zmacs-regions): Add defvar.
(repeat-complex-command-map): Everything about that deleted.
2005-07-03 19:31:46 +00:00
Richard M. Stallman
c9b6a3a6d3 (tpu-lucid-emacs-p): Renamed from tpu-lucid-emacs19-p. Uses changed. 2005-07-03 19:27:34 +00:00
Richard M. Stallman
f24cd32e9b (tpu-emacs19-p): Var deleted. All references simplified. 2005-07-03 19:25:36 +00:00
Richard M. Stallman
65597a17ba (tpu-original-global-map): Don't copy global-map, save the same map.
(global-map): Don't alter it at top level.
(tpu-edt-on): Save global map in tpu-original-global-map, then copy.
Then alter it here instead.
(tpu-edt-off): Set global-map to the saved one.
2005-07-03 19:20:21 +00:00
Richard M. Stallman
70903d8ef7 (vip-replace-string, ex-map, ex-read): Use with-no-warnings. 2005-07-03 16:26:56 +00:00
Richard M. Stallman
3b72eca0a3 (vi-mark-region): Use c-mark-function.
(c-mark-function): Add point-moving-unit property.
(vi-goto-line): Use with-no-warnings.
2005-07-03 16:25:59 +00:00
Richard M. Stallman
4668b9f92d (edt-last-copied-word): Add defvar.
(zmacs-region-stays): Likewise.
(edt-mark-section-wisely): Use c-mark-function for C.
Use makr-defun for Fortran.
(time-string): defvar deleted.
(edt-display-the-time): Don't set time-string.
2005-07-03 16:24:30 +00:00
Juanma Barranquero
1324d580c5 (edt-save-function-key-map, EDT-key-name): `defvar' to silence the
byte-compiler.
2005-07-02 14:04:25 +00:00
Juanma Barranquero
3eb8967ae2 (*EDT-keys*, edt-default-global-map, edt-last-copied-word,
edt-learn-macro-count, edt-orig-page-delimiter, edt-orig-transient-mark-mode,
edt-rect-start-point, edt-user-global-map, rect-start-point, time-string,
zmacs-region-stays): `defvar' to silence the byte-compiler.
2005-07-02 14:01:11 +00:00
Juanma Barranquero
8482d727c3 (cua-do-rectangle-padding): Remove period from end of messages.
(cua--rectangle-seq-format): Fix typo in docstring.
(cua-sequence-rectangle, cua-fill-char-rectangle): Improve argument/docstring
consistency.
2005-06-30 01:15:52 +00:00
Juanma Barranquero
c23eed1b5f (cua-toggle-global-mark, cua-cut-region-to-global-mark,
cua--cut-rectangle-to-global-mark): Remove period from end of error messages.
2005-06-30 01:13:21 +00:00
Juanma Barranquero
c77d7c926b (cua-check-pending-input, cua-repeat-replace-region, cua-mode, cua-debug,
cua-auto-tabify-rectangles, cua-inhibit-cua-keys): Fix typos in docstrings.
2005-06-30 01:12:23 +00:00
Juanma Barranquero
2ae2e81e9b (vip-ex): Don't use format' on error' arguments. 2005-06-16 14:38:12 +00:00
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