Mercurial > emacs
comparison lisp/comint.el @ 4899:3b157c1195a6
(comint-mode-map): Merge menu bar item Output into Input.
Rename Completion to Complete.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 27 Oct 1993 03:32:10 +0000 |
parents | dab300dfe449 |
children | 63aed739d09d |
comparison
equal
deleted
inserted
replaced
4898:a9faadbe66cf | 4899:3b157c1195a6 |
---|---|
426 (define-key comint-mode-map "\C-c\C-p" 'comint-previous-prompt) | 426 (define-key comint-mode-map "\C-c\C-p" 'comint-previous-prompt) |
427 (define-key comint-mode-map "\C-c\C-d" 'comint-send-eof) | 427 (define-key comint-mode-map "\C-c\C-d" 'comint-send-eof) |
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] |
435 '("File Completion Listing" . comint-dynamic-list-filename-completions)) | 435 '("File Completion Listing" . comint-dynamic-list-filename-completions)) |
436 (define-key comint-mode-map [menu-bar completion complete-variable] | 436 (define-key comint-mode-map [menu-bar completion complete-variable] |
443 '("Complete File Name" . comint-dynamic-complete-filename)) | 443 '("Complete File Name" . comint-dynamic-complete-filename)) |
444 (define-key comint-mode-map [menu-bar completion complete] | 444 (define-key comint-mode-map [menu-bar completion complete] |
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] |
456 '("Previous Matching Input..." . comint-previous-matching-input)) | 470 '("Previous Matching Input..." . comint-previous-matching-input)) |
457 (define-key comint-mode-map [menu-bar input next-matching-history-from-input] | 471 (define-key comint-mode-map [menu-bar input next-matching-history-from-input] |
464 '("Previous Input" . comint-previous-input)) | 478 '("Previous Input" . comint-previous-input)) |
465 (define-key comint-mode-map [menu-bar input list-history] | 479 (define-key comint-mode-map [menu-bar input list-history] |
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"))) |
489 (define-key comint-mode-map [menu-bar signals eof] | 486 (define-key comint-mode-map [menu-bar signals eof] |
490 '("EOF" . comint-send-eof)) | 487 '("EOF" . comint-send-eof)) |