diff options
| author | Miles Bader | 2006-11-07 23:22:48 +0000 |
|---|---|---|
| committer | Miles Bader | 2006-11-07 23:22:48 +0000 |
| commit | dbc3b08c405a7b1c0ddb0fb0c98164b355802af5 (patch) | |
| tree | 00c6f28244409d14bec11e221fb3c03daef63fc6 /lisp/emulation | |
| parent | bbb6e8f2b6037dc1ee4ddd6cb63a1a6ddb04a591 (diff) | |
| parent | 86cb14475e9e76f0b3323d2e7110a4a2bd310cdb (diff) | |
| download | emacs-dbc3b08c405a7b1c0ddb0fb0c98164b355802af5.tar.gz emacs-dbc3b08c405a7b1c0ddb0fb0c98164b355802af5.zip | |
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 490-504)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 161-163)
- Update from CVS
- Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-130
Diffstat (limited to 'lisp/emulation')
| -rw-r--r-- | lisp/emulation/edt-mapper.el | 2 | ||||
| -rw-r--r-- | lisp/emulation/tpu-edt.el | 14 | ||||
| -rw-r--r-- | lisp/emulation/vip.el | 4 | ||||
| -rw-r--r-- | lisp/emulation/viper-init.el | 2 | ||||
| -rw-r--r-- | lisp/emulation/viper-keym.el | 6 | ||||
| -rw-r--r-- | lisp/emulation/viper.el | 14 |
6 files changed, 21 insertions, 21 deletions
diff --git a/lisp/emulation/edt-mapper.el b/lisp/emulation/edt-mapper.el index 14838987d1d..cee60c6ec8e 100644 --- a/lisp/emulation/edt-mapper.el +++ b/lisp/emulation/edt-mapper.el | |||
| @@ -202,7 +202,7 @@ | |||
| 202 | 202 | ||
| 203 | Sometimes, edt-mapper will ignore a key you press, and just continue to | 203 | Sometimes, edt-mapper will ignore a key you press, and just continue to |
| 204 | prompt for the same key. This can happen when your window manager sucks | 204 | prompt for the same key. This can happen when your window manager sucks |
| 205 | up the key and doesn't pass it on to emacs, or it could be an emacs bug. | 205 | up the key and doesn't pass it on to Emacs, or it could be an Emacs bug. |
| 206 | Either way, there's nothing that edt-mapper can do about it. You must | 206 | Either way, there's nothing that edt-mapper can do about it. You must |
| 207 | press RETURN, to skip the current key and continue. Later, you and/or | 207 | press RETURN, to skip the current key and continue. Later, you and/or |
| 208 | your local system guru can try to figure out why the key is being ignored. | 208 | your local system guru can try to figure out why the key is being ignored. |
diff --git a/lisp/emulation/tpu-edt.el b/lisp/emulation/tpu-edt.el index 878ac56ac8d..5d90728898a 100644 --- a/lisp/emulation/tpu-edt.el +++ b/lisp/emulation/tpu-edt.el | |||
| @@ -432,7 +432,7 @@ CSI is DEC's name for the sequence <ESC>[.") | |||
| 432 | (let ((map (make-keymap))) | 432 | (let ((map (make-keymap))) |
| 433 | (define-key map "\e[" GOLD-CSI-map) ; GOLD-CSI map | 433 | (define-key map "\e[" GOLD-CSI-map) ; GOLD-CSI map |
| 434 | (define-key map "\eO" GOLD-SS3-map) ; GOLD-SS3 map | 434 | (define-key map "\eO" GOLD-SS3-map) ; GOLD-SS3 map |
| 435 | ;; | 435 | ;; |
| 436 | (define-key map "\C-A" 'tpu-toggle-overwrite-mode) ; ^A | 436 | (define-key map "\C-A" 'tpu-toggle-overwrite-mode) ; ^A |
| 437 | (define-key map "\C-B" 'nil) ; ^B | 437 | (define-key map "\C-B" 'nil) ; ^B |
| 438 | (define-key map "\C-C" 'nil) ; ^C | 438 | (define-key map "\C-C" 'nil) ; ^C |
| @@ -557,7 +557,7 @@ GOLD is the ASCII 7-bit escape sequence <ESC>OP.") | |||
| 557 | (defvar SS3-map | 557 | (defvar SS3-map |
| 558 | (let ((map (make-sparse-keymap))) | 558 | (let ((map (make-sparse-keymap))) |
| 559 | (define-key map "P" GOLD-map) ; GOLD map | 559 | (define-key map "P" GOLD-map) ; GOLD map |
| 560 | ;; | 560 | ;; |
| 561 | (define-key map "A" 'tpu-previous-line) ; up | 561 | (define-key map "A" 'tpu-previous-line) ; up |
| 562 | (define-key map "B" 'tpu-next-line) ; down | 562 | (define-key map "B" 'tpu-next-line) ; down |
| 563 | (define-key map "C" 'tpu-forward-char) ; right | 563 | (define-key map "C" 'tpu-forward-char) ; right |
| @@ -1141,7 +1141,7 @@ This is useful for inserting control characters." | |||
| 1141 | R Toggle rectangular mode for remove and insert | 1141 | R Toggle rectangular mode for remove and insert |
| 1142 | S Search and substitute - line mode REPLACE command | 1142 | S Search and substitute - line mode REPLACE command |
| 1143 | 1143 | ||
| 1144 | ^T Toggle control key bindings between TPU and emacs | 1144 | ^T Toggle control key bindings between TPU and Emacs |
| 1145 | U Undo - undo the last edit | 1145 | U Undo - undo the last edit |
| 1146 | W Write - save current buffer | 1146 | W Write - save current buffer |
| 1147 | X Exit - save all modified buffers and exit | 1147 | X Exit - save all modified buffers and exit |
| @@ -1292,7 +1292,7 @@ kills modified buffers without asking." | |||
| 1292 | (kill-buffer (current-buffer))) | 1292 | (kill-buffer (current-buffer))) |
| 1293 | 1293 | ||
| 1294 | (defun tpu-save-all-buffers-kill-emacs nil | 1294 | (defun tpu-save-all-buffers-kill-emacs nil |
| 1295 | "Save all buffers and exit emacs." | 1295 | "Save all buffers and exit Emacs." |
| 1296 | (interactive) | 1296 | (interactive) |
| 1297 | (let ((delete-old-versions t)) | 1297 | (let ((delete-old-versions t)) |
| 1298 | (save-buffers-kill-emacs t))) | 1298 | (save-buffers-kill-emacs t))) |
| @@ -1852,8 +1852,8 @@ A negative argument means replace all occurrences of the search string." | |||
| 1852 | (message "Replaced %s occurrence%s." strings (if (not (= 1 strings)) "s" "")))) | 1852 | (message "Replaced %s occurrence%s." strings (if (not (= 1 strings)) "s" "")))) |
| 1853 | 1853 | ||
| 1854 | (defun tpu-emacs-replace (&optional dont-ask) | 1854 | (defun tpu-emacs-replace (&optional dont-ask) |
| 1855 | "A TPU-edt interface to the emacs replace functions. If TPU-edt is | 1855 | "A TPU-edt interface to the Emacs replace functions. If TPU-edt is |
| 1856 | currently in regular expression mode, the emacs regular expression | 1856 | currently in regular expression mode, the Emacs regular expression |
| 1857 | replace functions are used. If an argument is supplied, replacements | 1857 | replace functions are used. If an argument is supplied, replacements |
| 1858 | are performed without asking. Only works in forward direction." | 1858 | are performed without asking. Only works in forward direction." |
| 1859 | (interactive "P") | 1859 | (interactive "P") |
| @@ -2285,7 +2285,7 @@ Accepts a prefix argument for the number of tpu-pan-columns to scroll." | |||
| 2285 | (setq tpu-control-keys t)) | 2285 | (setq tpu-control-keys t)) |
| 2286 | 2286 | ||
| 2287 | (defun tpu-reset-control-keys (tpu-style) | 2287 | (defun tpu-reset-control-keys (tpu-style) |
| 2288 | "Set control keys to TPU or emacs style functions." | 2288 | "Set control keys to TPU or Emacs style functions." |
| 2289 | (let* ((tpu (and tpu-style (not tpu-control-keys))) | 2289 | (let* ((tpu (and tpu-style (not tpu-control-keys))) |
| 2290 | (emacs (and (not tpu-style) tpu-control-keys)) | 2290 | (emacs (and (not tpu-style) tpu-control-keys)) |
| 2291 | (doit (or tpu emacs))) | 2291 | (doit (or tpu emacs))) |
diff --git a/lisp/emulation/vip.el b/lisp/emulation/vip.el index 227fe88b1a1..8b5109793c0 100644 --- a/lisp/emulation/vip.el +++ b/lisp/emulation/vip.el | |||
| @@ -45,7 +45,7 @@ | |||
| 45 | ;; external variables | 45 | ;; external variables |
| 46 | 46 | ||
| 47 | (defvar vip-emacs-local-map nil | 47 | (defvar vip-emacs-local-map nil |
| 48 | "Local map used in emacs mode. (Buffer-specific.)") | 48 | "Local map used in Emacs mode. (Buffer-specific.)") |
| 49 | 49 | ||
| 50 | (defvar vip-insert-local-map nil | 50 | (defvar vip-insert-local-map nil |
| 51 | "Local map used in insert command mode. (Buffer-specific.)") | 51 | "Local map used in insert command mode. (Buffer-specific.)") |
| @@ -447,7 +447,7 @@ Type `n' to quit this window for now.\n") | |||
| 447 | (vip-change-mode 'insert-mode)) | 447 | (vip-change-mode 'insert-mode)) |
| 448 | 448 | ||
| 449 | (defun vip-change-mode-to-emacs () | 449 | (defun vip-change-mode-to-emacs () |
| 450 | "Change mode to emacs mode." | 450 | "Change mode to Emacs mode." |
| 451 | (interactive) | 451 | (interactive) |
| 452 | (vip-change-mode 'emacs-mode)) | 452 | (vip-change-mode 'emacs-mode)) |
| 453 | 453 | ||
diff --git a/lisp/emulation/viper-init.el b/lisp/emulation/viper-init.el index 465f6e5cfb8..bf85d282fed 100644 --- a/lisp/emulation/viper-init.el +++ b/lisp/emulation/viper-init.el | |||
| @@ -438,7 +438,7 @@ delete the text being replaced, as in standard Vi." | |||
| 438 | ;; confused in some cases. So, this var is nulled for now. | 438 | ;; confused in some cases. So, this var is nulled for now. |
| 439 | ;; (defcustom viper-emacs-state-cursor-color "Magenta" | 439 | ;; (defcustom viper-emacs-state-cursor-color "Magenta" |
| 440 | (defcustom viper-emacs-state-cursor-color nil | 440 | (defcustom viper-emacs-state-cursor-color nil |
| 441 | "Cursor color when Viper is in emacs state." | 441 | "Cursor color when Viper is in Emacs state." |
| 442 | :type 'string | 442 | :type 'string |
| 443 | :group 'viper) | 443 | :group 'viper) |
| 444 | (if (fboundp 'make-variable-frame-local) | 444 | (if (fboundp 'make-variable-frame-local) |
diff --git a/lisp/emulation/viper-keym.el b/lisp/emulation/viper-keym.el index 6f9ade2f9e4..8eeb5b4f3fc 100644 --- a/lisp/emulation/viper-keym.el +++ b/lisp/emulation/viper-keym.el | |||
| @@ -144,7 +144,7 @@ viper-insert-basic-map. Not recommended, except for novice users.") | |||
| 144 | "Auxiliary map for global user-defined bindings in Emacs state.") | 144 | "Auxiliary map for global user-defined bindings in Emacs state.") |
| 145 | 145 | ||
| 146 | (defvar viper-emacs-kbd-map (make-sparse-keymap) | 146 | (defvar viper-emacs-kbd-map (make-sparse-keymap) |
| 147 | "This keymap keeps Vi-style kbd macros for emacs mode.") | 147 | "This keymap keeps Vi-style kbd macros for Emacs mode.") |
| 148 | 148 | ||
| 149 | (viper-deflocalvar viper-emacs-local-user-map (make-sparse-keymap) | 149 | (viper-deflocalvar viper-emacs-local-user-map (make-sparse-keymap) |
| 150 | "Auxiliary map for local user-defined bindings in Emacs state.") | 150 | "Auxiliary map for local user-defined bindings in Emacs state.") |
| @@ -160,10 +160,10 @@ viper-insert-basic-map. Not recommended, except for novice users.") | |||
| 160 | 160 | ||
| 161 | ;; Some important keys used in viper | 161 | ;; Some important keys used in viper |
| 162 | (defcustom viper-toggle-key [(control ?z)] ; "\C-z" | 162 | (defcustom viper-toggle-key [(control ?z)] ; "\C-z" |
| 163 | "The key used to change states from emacs to Vi and back. | 163 | "The key used to change states from Emacs to Vi and back. |
| 164 | In insert mode, this key also functions as Meta. | 164 | In insert mode, this key also functions as Meta. |
| 165 | 165 | ||
| 166 | Enter as a sexp. Examples: \"\\C-z\", [(control ?z)]." | 166 | Enter as a sexp. Examples: \"\\C-z\", [(control ?z)]." |
| 167 | :type 'sexp | 167 | :type 'sexp |
| 168 | :group 'viper | 168 | :group 'viper |
| 169 | :set (lambda (symbol value) | 169 | :set (lambda (symbol value) |
diff --git a/lisp/emulation/viper.el b/lisp/emulation/viper.el index 82c070d5264..fd1a8aa92ea 100644 --- a/lisp/emulation/viper.el +++ b/lisp/emulation/viper.el | |||
| @@ -359,7 +359,7 @@ user decide when to invoke Viper in a major mode." | |||
| 359 | (defcustom viper-mode (cond (noninteractive nil) | 359 | (defcustom viper-mode (cond (noninteractive nil) |
| 360 | (t 'ask)) | 360 | (t 'ask)) |
| 361 | "To Viperize or not to Viperize. | 361 | "To Viperize or not to Viperize. |
| 362 | If t, viperize emacs. If nil -- don't. If `ask', ask the user. | 362 | If t, viperize Emacs. If nil -- don't. If `ask', ask the user. |
| 363 | This variable is used primatily when Viper is being loaded. | 363 | This variable is used primatily when Viper is being loaded. |
| 364 | 364 | ||
| 365 | Must be set in `~/.emacs' before Viper is loaded. | 365 | Must be set in `~/.emacs' before Viper is loaded. |
| @@ -502,10 +502,10 @@ unless it is coming up in a wrong Viper state." | |||
| 502 | The list has the structure: ((mode viper-state keymap) (mode viper-state | 502 | The list has the structure: ((mode viper-state keymap) (mode viper-state |
| 503 | keymap) ...). If `mode' is on the list, the `kemap' will be made active (on | 503 | keymap) ...). If `mode' is on the list, the `kemap' will be made active (on |
| 504 | the minor-mode-map-alist) in the specified viper state. | 504 | the minor-mode-map-alist) in the specified viper state. |
| 505 | If you change this list, have to restart emacs for the change to take effect. | 505 | If you change this list, have to restart Emacs for the change to take effect. |
| 506 | However, if you did the change through the customization widget, then emacs | 506 | However, if you did the change through the customization widget, then Emacs |
| 507 | needs to be restarted only if you deleted a triple mode-state-keymap from the | 507 | needs to be restarted only if you deleted a triple mode-state-keymap from the |
| 508 | list. No need to restart emacs in case of insertion or modification of an | 508 | list. No need to restart Emacs in case of insertion or modification of an |
| 509 | existing triple." | 509 | existing triple." |
| 510 | :type '(repeat | 510 | :type '(repeat |
| 511 | (list symbol | 511 | (list symbol |
| @@ -891,7 +891,7 @@ It also can't undo some Viper settings." | |||
| 891 | (eval-after-load | 891 | (eval-after-load |
| 892 | "passwd" | 892 | "passwd" |
| 893 | '(defadvice read-passwd-1 (before viper-passwd-ad activate) | 893 | '(defadvice read-passwd-1 (before viper-passwd-ad activate) |
| 894 | "Switch to emacs state while reading password." | 894 | "Switch to Emacs state while reading password." |
| 895 | (viper-change-state-to-emacs))) | 895 | (viper-change-state-to-emacs))) |
| 896 | 896 | ||
| 897 | (defadvice self-insert-command (around viper-self-insert-ad activate) | 897 | (defadvice self-insert-command (around viper-self-insert-ad activate) |
| @@ -939,7 +939,7 @@ It also can't undo some Viper settings." | |||
| 939 | (eval-after-load | 939 | (eval-after-load |
| 940 | "rmailedit" | 940 | "rmailedit" |
| 941 | '(defadvice rmail-cease-edit (after viper-rmail-advice activate) | 941 | '(defadvice rmail-cease-edit (after viper-rmail-advice activate) |
| 942 | "Switch to emacs state when done editing message." | 942 | "Switch to Emacs state when done editing message." |
| 943 | (viper-change-state-to-emacs))) | 943 | (viper-change-state-to-emacs))) |
| 944 | ;; In case RMAIL was loaded before Viper. | 944 | ;; In case RMAIL was loaded before Viper. |
| 945 | (defadvice rmail-cease-edit (after viper-rmail-advice activate) | 945 | (defadvice rmail-cease-edit (after viper-rmail-advice activate) |
| @@ -1121,7 +1121,7 @@ It also can't undo some Viper settings." | |||
| 1121 | (save-window-excursion | 1121 | (save-window-excursion |
| 1122 | (with-output-to-temp-buffer " *viper-info*" | 1122 | (with-output-to-temp-buffer " *viper-info*" |
| 1123 | (princ " | 1123 | (princ " |
| 1124 | You have loaded Viper, and are about to Viperize your emacs! | 1124 | You have loaded Viper, and are about to Viperize your Emacs! |
| 1125 | 1125 | ||
| 1126 | Viper is a Package for Emacs Rebels and a venomous VI PERil, | 1126 | Viper is a Package for Emacs Rebels and a venomous VI PERil, |
| 1127 | 1127 | ||