aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/emulation (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* (cua--last-deleted-region-pos)Kim F. Storm2002-05-311-19/+44
| | | | | | (cua--last-deleted-region-text): New aux variables. (cua-delete-region): Set them. (cua-repeat-replace-region): Use them to find the replacement text.
* (viper-smart-suffix-list, viper-ask-level): Fix typos.Juanma Barranquero2002-05-311-2/+2
|
* (cua-set-mark): Align pop to markoKim F. Storm2002-05-271-14/+17
| | | | | | | behaviour with standard set-mark-command. (cua--pre-command-handler): Use push-mark-command. (cua-repeat-replace-region): Improve functionality when repeated after moving point or changing buffer.
* (cua--repeat-replace-text): New variable.Kim F. Storm2002-05-261-1/+55
| | | | | | (cua-repeat-replace-region): New command. (cua--init-keymaps): Bind it to M-v in cua--cua-keys-keymap. Misc improvements to the commantary.
* (cua--init-rectangles): Install defaultKim F. Storm2002-05-251-0/+4
| | | | | binding in cua--rectangle-keymap using cua--self-insert-char-p to handle all global self inserting characters in rectangle mode.
* (cua--init-global-mark): Install defaultKim F. Storm2002-05-251-0/+5
| | | | | binding in cua--global-mark-keymap using cua--self-insert-char-p to handle all global self inserting characters in gmark mode.
* (cua--self-insert-char-p): New function.Kim F. Storm2002-05-251-0/+7
|
* Fix typo.Juanma Barranquero2002-05-161-1/+1
|
* (cua--rectangle-operation):Kim F. Storm2002-05-141-1/+2
| | | | Don't highlight empty lines in rectangles.
* Improved commentary.Kim F. Storm2002-05-141-67/+142
| | | | | | | | (keypad-setup, keypad-shifted-setup): Added choice to setup Numeric keypad with decimal key; value is selected character. (keypad-decimal-key, keypad-shifted-decimal-key): Removed options. (keypad-numlock-setup, keypad-numlock-shifted-setup): New options. (keypad-setup): Arg list changed to support the new options.
* (cua-enable-cursor-indications): Default off.Kim F. Storm2002-05-131-5/+43
| | | | | | | | (cua-mode): Print Enabled/Disabled messages if interactive. Disable delete-selection-mode and pc-selection-mode when cua-mode is enabled; reenable if cua-mode is turned off. Remember setting of transient-mark-mode when cua-mode is enabled; restore if cua-mode is disabled.
* (cua-enable-cua-keys)Kim F. Storm2002-05-101-2/+2
| | | | (cua-enable-register-prefix): Added value for `other' choice.
* (cua-mode): Misc. changes to useKim F. Storm2002-05-101-42/+22
| | | | emulation-mode-map-alists instead of minor-mode-map-alist.
* Follow coding conventions.Pavel Janík2002-05-022-0/+7
|
* (cua-inhibit-cua-keys): New buffer-local variable.Kim F. Storm2002-05-011-0/+9
|
* (cua--pre-command-handler): Only interpret delete-selection property if ↵Kim F. Storm2002-05-011-21/+22
| | | | mark-active.
* Fixed require for cua-mode variableKim F. Storm2002-04-301-1/+1
|
* Added cua-mode based files [split from original cua.el]:Kim F. Storm2002-04-284-0/+3078
| | | | cua-base.el, cua-rect.el, cua-gmrk.el, and keypad.el
* * viper-ex.el: Patch by Samuel Padgett. Copyright papers received.Michael Kifer2002-04-162-7/+50
| | | | | | | | | | | | | | | | | | | | (viper-ex-print-buf-name): New variable. (viper-ex-print-buf): New variable. (ex-token-alist): Invoke ex-print on ":print" Ex commands. (ex-g-marks): New variable. (ex-print): New function. (ex-print-display-lines): New function. * viper.el (viper-set-hooks): add window-setup-hook, which sets the cursor color. * ediff-util.el (ediff-cleanup-mess): delete ctl window on exit when the window is not in its own frame. (ediff-clone-buffer-for-region-comparison): more robust window arrangement while prompting for regions to compare. (ediff-make-cloned-buffer): use generate-new-buffer-name. (ediff-inferior-compare-regions): deleted unused vars ctl-buf and quit-now.
* (pc-selection-mode): Alter the existing global map, don't replace it.Richard M. Stallman2002-03-181-14/+10
|
* 2002-02-10 Michael Kifer <kifer@cs.stonybrook.edu>Michael Kifer2002-02-102-13/+11
| | | | | | | | | | | | | | | | | | | * viper-util.el (viper-read-key-sequence): fixed so it'll read fast key sequences in emacs native mode (viper-events-to-keys): deleted * viper.el (describe-key, describe-key-briefly): get rid of viper-events-to-keys. * ediff-init.el (ediff-has-gutter-support): Steven Turnbull's patch. * ediff-wind.el (ediff-setup-control-frame): Use ediff-has-gutter-support. * ediff-util.el (ediff-dispose-of-variant-according-to-user): check if buff is alive. * ediff.el: typo in comment.
* (pc-select-save-and-set-mode): Properly use MODE-VAR.Richard M. Stallman2002-02-011-9/+8
|
* (pc-selection-mode-hook)Richard M. Stallman2002-01-261-130/+325
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (pc-select-saved-settings-alist, pc-select-map) (pc-select-saved-global-map, pc-select-key-bindings-alist) (pc-select-default-key-bindings, pc-select-extra-key-bindings) (pc-select-meta-moves-sexps-key-bindings) (pc-select-tty-key-bindings, pc-select-old-M-delete-binding): New variables. (pc-select-define-keys, pc-select-restore-keys): New functions. (pc-select-add-to-alist, pc-select-save-and-set-var) (pc-select-save-and-set-mode, pc-select-restore-var) (pc-select-restore-mode): New macros. (pc-selection-mode): Completely rewrote the body of the function; the main goal was to make pc-selection-mode "turn-off"-able, like other minor modes. Use define-minore-mode instead of just a defun. Store the key bindings into four alists: pc-select-default-key-bindings, pc-select-extra-key-bindings, pc-select-meta-moves-sexps-key-bindings, and pc-select-tty-key-bindings; then have the pc-select-define-keys function walk those alists instead of calling define-key repeatedly. When the mode is turned on, set the keybindings in global-map and remember the old keybindings; when the mode is turned off, restore the previously-saved keybindings. (pc-selection-mode defcustom): Reflect the fact that the mode is now "turn-off"-able.
* Fix typo.Pavel Janík2002-01-121-1/+1
|
* 2002-01-09 Michael Kifer <kifer@cs.stonybrook.edu>Michael Kifer2002-01-091-0/+7
| | | | | * viper.el (viper-set-hooks): zap viper-unfriendly bindings in flyspell-mouse-map.
* 2002-01-07 Michael Kifer <kifer@cs.stonybrook.edu>Michael Kifer2002-01-088-328/+397
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* (ps-font-lock-face-attributes): Use :weight and :slant.Richard M. Stallman2001-12-311-2/+2
|
* (tpu-reset-screen-size): Use set-frame-height and set-frame-width insteadPavel Janík2001-12-251-2/+2
| | | | of set-screen-height and set-screen-width.
* 2001-12-24 Michael Kifer <kifer@cs.sunysb.edu>Michael Kifer2001-12-243-11/+51
| | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Files removed.Pavel Janík2001-12-222-723/+0
|
* Doc fix.Pavel Janík2001-12-204-4/+4
|
* Doc string fixes.Stefan Monnier2001-11-191-66/+66
| | | | (pc-selection-mode): Don't treat macos as a tty.
* Fix typo.Pavel Janík2001-11-161-1/+1
|
* 2001-10-13 Michael Kifer <kifer@cs.sunysb.edu>Michael Kifer2001-10-132-38/+44
| | | | | | | | | | * 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.
* use defalias instead of fset for user-visible commands.Pavel Janík2001-10-101-31/+35
|
* Make messages match original TPU/edt editor.Pavel Janík2001-10-031-14/+19
|
* 2001-09-13 Michael Kifer <kifer@cs.sunysb.edu>Michael Kifer2001-09-141-2/+3
| | | | | * viper-cmd.el (viper-replace-char-subr, viper-envelop-ESC-key): inhibit quit.
* 2001-09-09 Michael Kifer <kifer@cs.sunysb.edu>Michael Kifer2001-09-098-65/+131
| | | | | | | | | | | * 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.
* (viper-file-checked-in-p): Use `and'Gerd Moellmann2001-08-071-1/+1
| | | | instead of `progn'.
* Specify FSF as Maintainer.Pavel Janík2001-08-061-0/+1
|
* * viper-ex.el (ex-token-list,ex-cmd-execute): Revamped, courtesyMichael Kifer2001-07-215-138/+194
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Some fixes to follow coding conventions.Pavel Janík2001-07-1610-25/+42
|
* Fixes to follow coding conventions.Pavel Janík2001-07-161-3/+4
|
* Some fixes to follow coding conventions.Pavel Janík2001-07-161-1/+1
|
* Some fixes to follow coding conventions.Pavel Janík2001-07-159-25/+40
|
* Some fixes to follow coding conventions in files maintained by FSF.Pavel Janík2001-07-152-2/+2
|
* (pc-selection-mode): Don't turn onEli Zaretskii2001-04-131-3/+16
| | | | | | 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.
* (pc-selection-mode): Call normal-erase-is-backspace-mode instead ofEli Zaretskii2001-04-041-5/+6
| | | | binding keys individually.
* 2001-03-17 Michael Kifer <kifer@cs.sunysb.edu>Michael Kifer2001-03-173-226/+203
| | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* (viper-vi-state-mode-list): Add cperl-mode.Stefan Monnier2001-03-061-1/+1
|