diff options
| -rw-r--r-- | lisp/comint.el | 35 |
1 files changed, 16 insertions, 19 deletions
diff --git a/lisp/comint.el b/lisp/comint.el index 2370e1395da..7bea60b5409 100644 --- a/lisp/comint.el +++ b/lisp/comint.el | |||
| @@ -428,7 +428,7 @@ Entry to this mode runs the hooks on `comint-mode-hook'." | |||
| 428 | ;; Menu bars: | 428 | ;; Menu bars: |
| 429 | ;; completion: | 429 | ;; completion: |
| 430 | (define-key comint-mode-map [menu-bar completion] | 430 | (define-key comint-mode-map [menu-bar completion] |
| 431 | (cons "Completion" (make-sparse-keymap "Completion"))) | 431 | (cons "Complete" (make-sparse-keymap "Complete"))) |
| 432 | (define-key comint-mode-map [menu-bar completion complete-expand] | 432 | (define-key comint-mode-map [menu-bar completion complete-expand] |
| 433 | '("Expand File Name" . comint-replace-by-expanded-filename)) | 433 | '("Expand File Name" . comint-replace-by-expanded-filename)) |
| 434 | (define-key comint-mode-map [menu-bar completion complete-listing] | 434 | (define-key comint-mode-map [menu-bar completion complete-listing] |
| @@ -445,11 +445,25 @@ Entry to this mode runs the hooks on `comint-mode-hook'." | |||
| 445 | '("Complete Before Point" . comint-dynamic-complete)) | 445 | '("Complete Before Point" . comint-dynamic-complete)) |
| 446 | ;; Input history: | 446 | ;; Input history: |
| 447 | (define-key comint-mode-map [menu-bar input] | 447 | (define-key comint-mode-map [menu-bar input] |
| 448 | (cons "Input" (make-sparse-keymap "Input"))) | 448 | (cons "In/Out" (make-sparse-keymap "In/Out"))) |
| 449 | (define-key comint-mode-map [menu-bar input kill-output] | ||
| 450 | '("Kill Current Output Group" . comint-kill-output)) | ||
| 451 | (define-key comint-mode-map [menu-bar input next-prompt] | ||
| 452 | '("Forward Output Group" . comint-next-prompt)) | ||
| 453 | (define-key comint-mode-map [menu-bar input previous-prompt] | ||
| 454 | '("Backward Output Group" . comint-previous-prompt)) | ||
| 455 | (define-key comint-mode-map [menu-bar input show-maximum-output] | ||
| 456 | '("Show Maximum Output" . comint-show-maximum-output)) | ||
| 457 | (define-key comint-mode-map [menu-bar input show-output] | ||
| 458 | '("Show Current Output Group" . comint-show-output)) | ||
| 449 | (define-key comint-mode-map [menu-bar input kill-input] | 459 | (define-key comint-mode-map [menu-bar input kill-input] |
| 450 | '("Kill Current Input" . comint-kill-input)) | 460 | '("Kill Current Input" . comint-kill-input)) |
| 451 | (define-key comint-mode-map [menu-bar input copy-input] | 461 | (define-key comint-mode-map [menu-bar input copy-input] |
| 452 | '("Copy Old Input" . comint-copy-old-input)) | 462 | '("Copy Old Input" . comint-copy-old-input)) |
| 463 | (define-key comint-mode-map [menu-bar input forward-matching-history] | ||
| 464 | '("Forward Matching Input..." . comint-forward-matching-input)) | ||
| 465 | (define-key comint-mode-map [menu-bar input backward-matching-history] | ||
| 466 | '("Backward Matching Input..." . comint-backward-matching-input)) | ||
| 453 | (define-key comint-mode-map [menu-bar input next-matching-history] | 467 | (define-key comint-mode-map [menu-bar input next-matching-history] |
| 454 | '("Next Matching Input..." . comint-next-matching-input)) | 468 | '("Next Matching Input..." . comint-next-matching-input)) |
| 455 | (define-key comint-mode-map [menu-bar input previous-matching-history] | 469 | (define-key comint-mode-map [menu-bar input previous-matching-history] |
| @@ -466,23 +480,6 @@ Entry to this mode runs the hooks on `comint-mode-hook'." | |||
| 466 | '("List Input History" . comint-dynamic-list-input-ring)) | 480 | '("List Input History" . comint-dynamic-list-input-ring)) |
| 467 | (define-key comint-mode-map [menu-bar input expand-history] | 481 | (define-key comint-mode-map [menu-bar input expand-history] |
| 468 | '("Expand History Before Point" . comint-replace-by-expanded-history)) | 482 | '("Expand History Before Point" . comint-replace-by-expanded-history)) |
| 469 | ;; Output: | ||
| 470 | (define-key comint-mode-map [menu-bar output] | ||
| 471 | (cons "Output" (make-sparse-keymap "Output"))) | ||
| 472 | (define-key comint-mode-map [menu-bar output kill-output] | ||
| 473 | '("Kill Current Output Group" . comint-kill-output)) | ||
| 474 | (define-key comint-mode-map [menu-bar input forward-matching-history] | ||
| 475 | '("Forward Matching Input..." . comint-forward-matching-input)) | ||
| 476 | (define-key comint-mode-map [menu-bar input backward-matching-history] | ||
| 477 | '("Backward Matching Input..." . comint-backward-matching-input)) | ||
| 478 | (define-key comint-mode-map [menu-bar output next-prompt] | ||
| 479 | '("Forward Output Group" . comint-next-prompt)) | ||
| 480 | (define-key comint-mode-map [menu-bar output previous-prompt] | ||
| 481 | '("Backward Output Group" . comint-previous-prompt)) | ||
| 482 | (define-key comint-mode-map [menu-bar output show-maximum-output] | ||
| 483 | '("Show Maximum Output" . comint-show-maximum-output)) | ||
| 484 | (define-key comint-mode-map [menu-bar output show-output] | ||
| 485 | '("Show Current Output Group" . comint-show-output)) | ||
| 486 | ;; Signals | 483 | ;; Signals |
| 487 | (define-key comint-mode-map [menu-bar signals] | 484 | (define-key comint-mode-map [menu-bar signals] |
| 488 | (cons "Signals" (make-sparse-keymap "Signals"))) | 485 | (cons "Signals" (make-sparse-keymap "Signals"))) |