aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/emulation (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-0625-25/+28
|
* (cua-mode): Doc fix.Luc Teirlinck2006-02-021-1/+2
|
* (cua-mode): Mention that CUA enablesKim F. Storm2006-02-011-1/+5
| | | | transient-mark-mode in doc string.
* Revision: emacs@sv.gnu.org/emacs--devo--0--patch-27Miles Bader2006-01-301-0/+5
| | | | | | Creator: Michael Olson <mwolson@gnu.org> Merge ERC-related Viper hacks into Viper.
* (cua--extract-rectangle): Undo recent change re. \s in strings.Kim F. Storm2005-12-091-2/+2
|
* (cua--rectangle-aux-replace): FixKim F. Storm2005-12-081-0/+1
| | | | indention of text on right side of replaced rectangle.
* * emulation/cua-base.el (cua-use-hyper-key): Replaced by ...Kim F. Storm2005-12-082-24/+34
| | | | | | | | | | | | | | | (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.
* (cua--extract-rectangle): Don't use \s in strings.Kim F. Storm2005-12-081-2/+2
|
* (cua--select-keymaps): Enable repeatKim F. Storm2005-12-081-3/+25
| | | | | | | | | 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.
* (cua--rectangle-overlays): Make permanent-local.Kim F. Storm2005-11-291-1/+7
| | | | | (cua--rectangle-post-command): Cleanup overlays and deactivate mark after revert-buffer (or anything else which kills all local variables).
* (cua--highlight-rectangle): PreserveKim F. Storm2005-11-261-1/+1
| | | | existing face when partially highlighting a TAB in a rectangle.
* 2005-11-25 Michael Kifer <kifer@cs.stonybrook.edu>Michael Kifer2005-11-252-4/+6
| | | | | | | | * 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-15 Michael Kifer <kifer@cs.stonybrook.edu>Michael Kifer2005-11-152-1/+7
| | | | | | | | * viper-utils (viper-non-word-characters-reformed-vi): quote `-' in string. * viper.el (viper-emacs-state-mode-list): Ensure that rcirc-mode buffers come up in Emacs state.
* (viper-set-hooks): Quote forms passed to `eval-after-load' to avoidRomain Francoise2005-10-231-39/+39
| | | | evaluating their result.
* * ibuf-ext.el (ibuffer-do-shell-command-pipe)Romain Francoise2005-10-071-1/+1
| | | | | | | | | | | | | | | | | (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-05 Michael Kifer <kifer@cs.stonybrook.edu>Michael Kifer2005-10-063-42/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Set CUA move property on additional commands:Kim F. Storm2005-09-281-0/+4
| | | | | up-list, down-list, backward-up-list, end-of-defun beginning-of-defun, forward-sexp backward-sexp, forward-list, backward-list
* 2005-09-24 Emilio C. Lopes <eclig@gmx.net>Romain Francoise2005-09-242-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-20 Michael Kifer <kifer@cs.stonybrook.edu>Michael Kifer2005-09-205-13/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* message format spec fixes, commit # 8Deepak Goel2005-09-183-6/+10
|
* (cua-delete-region): Return t ifKim F. Storm2005-08-151-6/+11
| | | | | | | | | 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-06 Michael Kifer <kifer@cs.stonybrook.edu>Michael Kifer2005-08-061-1/+2
| | | | | * viper.el (viper-emacs-state-mode-list): add recentf-dialog-mode. Change the date of last update.
* 2005-08-06 Michael Kifer <kifer@cs.stonybrook.edu>Michael Kifer2005-08-064-26/+59
| | | | | | | | | | | | | | | | | | | | | * 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\\".
* (cua--highlight-rectangle): Only showKim F. Storm2005-08-011-0/+1
| | | | rectangle overlay in selected window.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-0125-28/+47
|
* (cua-mode, cua-enable-register-prefix, cua-enable-cua-keys, cua-use-hyper-key,Juanma Barranquero2005-07-211-10/+10
| | | | | cua-virtual-rectangle-edges): Fix typos in docstrings. (cua--M/H-key, cua--init-keymaps): "?\ " -> "?\s".
* (cua-mode): Improve doc string.Kim F. Storm2005-07-201-4/+20
|
* * viper-cmd.el (viper-escape-to-state): bug fixMichael Kifer2005-07-191-3/+7
| | | | | | | (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.
* (viper-activate-input-method): Avoid warning.Richard M. Stallman2005-07-161-2/+2
|
* (cua--pre-command-handler-1, cua--pre-command-handler)Kim F. Storm2005-07-141-99/+112
| | | | | | (cua--post-command-handler-1, cua--post-command-handler): Split in two. Check (buffer local) value of cua-mode. (cua-selection-mode): New command.
* * viper-cmd.el (viper--key-maps): new variable.Michael Kifer2005-07-107-79/+199
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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.
* (CSI-map, SS3-map, GOLD-map, GOLD-CSI-map)Stefan Monnier2005-07-071-370/+345
| | | | | | | | | | | | | | | | (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.
* Update FSF's address.Lute Kamstra2005-07-0425-50/+50
|
* (viper-mouse): Finish `defgroup' description with period.Juanma Barranquero2005-07-041-1/+1
|
* (viper-ex): Finish `defgroup' description with period.Juanma Barranquero2005-07-041-1/+1
|
* (tpu-mark): Fix previous change.Richard M. Stallman2005-07-031-13/+1
| | | | | (zmacs-regions): Add defvar. (repeat-complex-command-map): Everything about that deleted.
* (tpu-lucid-emacs-p): Renamed from tpu-lucid-emacs19-p. Uses changed.Richard M. Stallman2005-07-031-7/+7
|
* (tpu-emacs19-p): Var deleted. All references simplified.Richard M. Stallman2005-07-031-20/+10
|
* (tpu-original-global-map): Don't copy global-map, save the same map.Richard M. Stallman2005-07-031-4/+6
| | | | | | | (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.
* (vip-replace-string, ex-map, ex-read): Use with-no-warnings.Richard M. Stallman2005-07-031-5/+8
|
* (vi-mark-region): Use c-mark-function.Richard M. Stallman2005-07-031-3/+4
| | | | | (c-mark-function): Add point-moving-unit property. (vi-goto-line): Use with-no-warnings.
* (edt-last-copied-word): Add defvar.Richard M. Stallman2005-07-031-9/+10
| | | | | | | | (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.
* (edt-save-function-key-map, EDT-key-name): `defvar' to silence theJuanma Barranquero2005-07-021-1/+5
| | | | byte-compiler.
* (*EDT-keys*, edt-default-global-map, edt-last-copied-word,Juanma Barranquero2005-07-021-0/+14
| | | | | | 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.
* (cua-do-rectangle-padding): Remove period from end of messages.Juanma Barranquero2005-06-301-9/+9
| | | | | | (cua--rectangle-seq-format): Fix typo in docstring. (cua-sequence-rectangle, cua-fill-char-rectangle): Improve argument/docstring consistency.
* (cua-toggle-global-mark, cua-cut-region-to-global-mark,Juanma Barranquero2005-06-301-4/+4
| | | | cua--cut-rectangle-to-global-mark): Remove period from end of error messages.
* (cua-check-pending-input, cua-repeat-replace-region, cua-mode, cua-debug,Juanma Barranquero2005-06-301-7/+7
| | | | cua-auto-tabify-rectangles, cua-inhibit-cua-keys): Fix typos in docstrings.
* (vip-ex): Don't use `format' on `error' arguments.Juanma Barranquero2005-06-161-1/+1
|
* (vi-goto-insert-state): Fix quoting in docstring.Juanma Barranquero2005-06-141-1/+1
|
* (cua-mode): Use add-to-ordered-list toKim F. Storm2005-06-131-1/+1
| | | | add cua--keymap-alist to emulation-mode-map-alists.