diff options
| author | Tom Tromey | 1994-09-01 18:06:24 +0000 |
|---|---|---|
| committer | Tom Tromey | 1994-09-01 18:06:24 +0000 |
| commit | 2707a9d13d3fb057b64f031a7b3764f944f1219f (patch) | |
| tree | 416c1ea7893304e9e5bd7439a700ec9f6cb7a6a8 | |
| parent | 7bbbba3194f850c457482f9223b1ea0bfc55aed1 (diff) | |
| download | emacs-2707a9d13d3fb057b64f031a7b3764f944f1219f.tar.gz emacs-2707a9d13d3fb057b64f031a7b3764f944f1219f.zip | |
Added filename completion in inferior tcl mode
| -rw-r--r-- | lisp/progmodes/tcl.el | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/lisp/progmodes/tcl.el b/lisp/progmodes/tcl.el index 68db6d09c0a..8495b09389d 100644 --- a/lisp/progmodes/tcl.el +++ b/lisp/progmodes/tcl.el | |||
| @@ -6,7 +6,7 @@ | |||
| 6 | ;; Author: Tom Tromey <tromey@busco.lanl.gov> | 6 | ;; Author: Tom Tromey <tromey@busco.lanl.gov> |
| 7 | ;; Chris Lindblad <cjl@lcs.mit.edu> | 7 | ;; Chris Lindblad <cjl@lcs.mit.edu> |
| 8 | ;; Keywords: languages tcl modes | 8 | ;; Keywords: languages tcl modes |
| 9 | ;; Version: $Revision: 1.24 $ | 9 | ;; Version: $Revision: 1.25 $ |
| 10 | 10 | ||
| 11 | ;; This file is part of GNU Emacs. | 11 | ;; This file is part of GNU Emacs. |
| 12 | 12 | ||
| @@ -51,7 +51,7 @@ | |||
| 51 | ;; LCD Archive Entry: | 51 | ;; LCD Archive Entry: |
| 52 | ;; tcl|Tom Tromey|tromey@busco.lanl.gov| | 52 | ;; tcl|Tom Tromey|tromey@busco.lanl.gov| |
| 53 | ;; Major mode for editing Tcl| | 53 | ;; Major mode for editing Tcl| |
| 54 | ;; $Date: 1994/08/21 20:33:05 $|$Revision: 1.24 $|~/modes/tcl.el.Z| | 54 | ;; $Date: 1994/08/22 15:56:24 $|$Revision: 1.25 $|~/modes/tcl.el.Z| |
| 55 | 55 | ||
| 56 | ;; CUSTOMIZATION NOTES: | 56 | ;; CUSTOMIZATION NOTES: |
| 57 | ;; * tcl-proc-list can be used to customize a list of things that | 57 | ;; * tcl-proc-list can be used to customize a list of things that |
| @@ -65,6 +65,9 @@ | |||
| 65 | 65 | ||
| 66 | ;; Change log: | 66 | ;; Change log: |
| 67 | ;; $Log: tcl.el,v $ | 67 | ;; $Log: tcl.el,v $ |
| 68 | ;; Revision 1.25 1994/08/22 15:56:24 tromey | ||
| 69 | ;; tcl-load-file default to current buffer. | ||
| 70 | ;; | ||
| 68 | ;; Revision 1.24 1994/08/21 20:33:05 tromey | 71 | ;; Revision 1.24 1994/08/21 20:33:05 tromey |
| 69 | ;; Fixed bug in tcl-guess-application. | 72 | ;; Fixed bug in tcl-guess-application. |
| 70 | ;; | 73 | ;; |
| @@ -273,7 +276,7 @@ | |||
| 273 | (require 'imenu)) | 276 | (require 'imenu)) |
| 274 | ())) | 277 | ())) |
| 275 | 278 | ||
| 276 | (defconst tcl-version "$Revision: 1.24 $") | 279 | (defconst tcl-version "$Revision: 1.25 $") |
| 277 | (defconst tcl-maintainer "Tom Tromey <tromey@busco.lanl.gov>") | 280 | (defconst tcl-maintainer "Tom Tromey <tromey@busco.lanl.gov>") |
| 278 | 281 | ||
| 279 | ;; | 282 | ;; |
| @@ -463,6 +466,9 @@ quoted for Tcl.") | |||
| 463 | (define-key tcl-mode-map [S-down-mouse-2] 'tcl-popup-menu)))) | 466 | (define-key tcl-mode-map [S-down-mouse-2] 'tcl-popup-menu)))) |
| 464 | 467 | ||
| 465 | (defun tcl-fill-inferior-map () | 468 | (defun tcl-fill-inferior-map () |
| 469 | (define-key inferior-tcl-mode-map "\t" 'comint-dynamic-complete) | ||
| 470 | (define-key inferior-tcl-mode-map "\M-?" | ||
| 471 | 'comint-dynamic-list-filename-completions) | ||
| 466 | (define-key inferior-tcl-mode-map "\e\C-a" 'tcl-beginning-of-defun) | 472 | (define-key inferior-tcl-mode-map "\e\C-a" 'tcl-beginning-of-defun) |
| 467 | (define-key inferior-tcl-mode-map "\e\C-e" 'tcl-end-of-defun) | 473 | (define-key inferior-tcl-mode-map "\e\C-e" 'tcl-end-of-defun) |
| 468 | (define-key inferior-tcl-mode-map "\177" 'backward-delete-char-untabify) | 474 | (define-key inferior-tcl-mode-map "\177" 'backward-delete-char-untabify) |