diff options
| author | Karoly Lorentey | 2004-11-13 18:34:40 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2004-11-13 18:34:40 +0000 |
| commit | e417405015c93c81641f5c4a33ec898b5c353772 (patch) | |
| tree | 017a980c35c8a71c372304418d151e3826f88636 /lisp/progmodes/idlw-shell.el | |
| parent | f590a2a442d19f3a74d7bbd02bbcb4e3239f2327 (diff) | |
| parent | 68d1b30d251b4771f739d20f507cd9523ae3919b (diff) | |
| download | emacs-e417405015c93c81641f5c4a33ec898b5c353772.tar.gz emacs-e417405015c93c81641f5c4a33ec898b5c353772.zip | |
Merged in changes from CVS trunk.
Patches applied:
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-673
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-674
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-675
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-676
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-677
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-678
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-679
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-680
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-681
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-682
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-683
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-684
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-685
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-686
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-687
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-688
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-689
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-690
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-691
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-692
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-693
Update from CVS
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-69
Merge from emacs--cvs-trunk--0
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-70
Update from CVS
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-71
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-267
Diffstat (limited to 'lisp/progmodes/idlw-shell.el')
| -rw-r--r-- | lisp/progmodes/idlw-shell.el | 31 |
1 files changed, 14 insertions, 17 deletions
diff --git a/lisp/progmodes/idlw-shell.el b/lisp/progmodes/idlw-shell.el index 692fce0234e..6720014ed31 100644 --- a/lisp/progmodes/idlw-shell.el +++ b/lisp/progmodes/idlw-shell.el | |||
| @@ -508,11 +508,19 @@ the expression output by IDL." | |||
| 508 | (defvar comint-last-input-start) | 508 | (defvar comint-last-input-start) |
| 509 | (defvar comint-last-input-end) | 509 | (defvar comint-last-input-end) |
| 510 | 510 | ||
| 511 | (defvar idlwave-shell-temp-pro-file nil | ||
| 512 | "Absolute pathname for temporary IDL file for compiling regions") | ||
| 513 | |||
| 514 | (defvar idlwave-shell-temp-rinfo-save-file nil | ||
| 515 | "Absolute pathname for temporary IDL file save file for routine_info. | ||
| 516 | This is used to speed up the reloading of the routine info procedure | ||
| 517 | before use by the shell.") | ||
| 518 | |||
| 511 | (defun idlwave-shell-temp-file (type) | 519 | (defun idlwave-shell-temp-file (type) |
| 512 | "Return a temp file, creating it if necessary. | 520 | "Return a temp file, creating it if necessary. |
| 513 | 521 | ||
| 514 | TYPE is either 'pro or 'rinfo, and idlwave-shell-temp-pro-file or | 522 | TYPE is either `pro' or `rinfo', and `idlwave-shell-temp-pro-file' or |
| 515 | idlwave-shell-temp-rinfo-save-file is set (respectively)." | 523 | `idlwave-shell-temp-rinfo-save-file' is set (respectively)." |
| 516 | (cond | 524 | (cond |
| 517 | ((eq type 'rinfo) | 525 | ((eq type 'rinfo) |
| 518 | (or idlwave-shell-temp-rinfo-save-file | 526 | (or idlwave-shell-temp-rinfo-save-file |
| @@ -550,17 +558,6 @@ idlwave-shell-temp-rinfo-save-file is set (respectively)." | |||
| 550 | nil) | 558 | nil) |
| 551 | file))) | 559 | file))) |
| 552 | 560 | ||
| 553 | ;; Other variables | ||
| 554 | (defvar idlwave-shell-temp-pro-file | ||
| 555 | nil | ||
| 556 | "Absolute pathname for temporary IDL file for compiling regions") | ||
| 557 | |||
| 558 | (defvar idlwave-shell-temp-rinfo-save-file | ||
| 559 | nil | ||
| 560 | "Absolute pathname for temporary IDL file save file for routine_info. | ||
| 561 | This is used to speed up the reloading of the routine info procedure | ||
| 562 | before use by the shell.") | ||
| 563 | |||
| 564 | (defvar idlwave-shell-dirstack-query "cd,current=___cur & print,___cur" | 561 | (defvar idlwave-shell-dirstack-query "cd,current=___cur & print,___cur" |
| 565 | "Command used by `idlwave-shell-resync-dirs' to query IDL for | 562 | "Command used by `idlwave-shell-resync-dirs' to query IDL for |
| 566 | the directory stack.") | 563 | the directory stack.") |
| @@ -2523,6 +2520,10 @@ idlw-shell-examine-alist from which to select the help command text." | |||
| 2523 | (defvar idlwave-shell-examine-window-alist nil | 2520 | (defvar idlwave-shell-examine-window-alist nil |
| 2524 | "Variable to hold the win/height pairs for all *Examine* windows.") | 2521 | "Variable to hold the win/height pairs for all *Examine* windows.") |
| 2525 | 2522 | ||
| 2523 | (defvar idlwave-shell-examine-map (make-sparse-keymap)) | ||
| 2524 | (define-key idlwave-shell-examine-map "q" 'idlwave-shell-examine-display-quit) | ||
| 2525 | (define-key idlwave-shell-examine-map "c" 'idlwave-shell-examine-display-clear) | ||
| 2526 | |||
| 2526 | (defun idlwave-shell-examine-display () | 2527 | (defun idlwave-shell-examine-display () |
| 2527 | "View the examine command output in a separate buffer." | 2528 | "View the examine command output in a separate buffer." |
| 2528 | (let (win cur-beg cur-end) | 2529 | (let (win cur-beg cur-end) |
| @@ -2603,10 +2604,6 @@ idlw-shell-examine-alist from which to select the help command text." | |||
| 2603 | (skip-chars-backward "\n") | 2604 | (skip-chars-backward "\n") |
| 2604 | (recenter -1))))) | 2605 | (recenter -1))))) |
| 2605 | 2606 | ||
| 2606 | (defvar idlwave-shell-examine-map (make-sparse-keymap)) | ||
| 2607 | (define-key idlwave-shell-examine-map "q" 'idlwave-shell-examine-display-quit) | ||
| 2608 | (define-key idlwave-shell-examine-map "c" 'idlwave-shell-examine-display-clear) | ||
| 2609 | |||
| 2610 | (defun idlwave-shell-examine-display-quit () | 2607 | (defun idlwave-shell-examine-display-quit () |
| 2611 | (interactive) | 2608 | (interactive) |
| 2612 | (let ((win (selected-window))) | 2609 | (let ((win (selected-window))) |