aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ.D. Smith2004-11-18 05:28:03 +0000
committerJ.D. Smith2004-11-18 05:28:03 +0000
commitddd709d1007b3876cb7c3c70d9ac9fdb7d9f49c8 (patch)
treef5e5a09245507a0b6a4b5a3c8acdce3702326b1a
parent9f7a99189edb8acfb1ca1f9df4004db740b466d4 (diff)
downloademacs-ddd709d1007b3876cb7c3c70d9ac9fdb7d9f49c8.tar.gz
emacs-ddd709d1007b3876cb7c3c70d9ac9fdb7d9f49c8.zip
Re-applied diff 3.26->3.27, variable reorganization.
-rw-r--r--lisp/progmodes/idlw-shell.el33
1 files changed, 16 insertions, 17 deletions
diff --git a/lisp/progmodes/idlw-shell.el b/lisp/progmodes/idlw-shell.el
index e104c45d8ef..eaa6f3be4ea 100644
--- a/lisp/progmodes/idlw-shell.el
+++ b/lisp/progmodes/idlw-shell.el
@@ -566,11 +566,20 @@ the expression output by IDL."
566(defvar comint-last-input-start) 566(defvar comint-last-input-start)
567(defvar comint-last-input-end) 567(defvar comint-last-input-end)
568 568
569;; Other variables
570(defvar idlwave-shell-temp-pro-file nil
571 "Absolute pathname for temporary IDL file for compiling regions")
572
573(defvar idlwave-shell-temp-rinfo-save-file nil
574 "Absolute pathname for temporary IDL file save file for routine_info.
575This is used to speed up the reloading of the routine info procedure
576before use by the shell.")
577
569(defun idlwave-shell-temp-file (type) 578(defun idlwave-shell-temp-file (type)
570 "Return a temp file, creating it if necessary. 579 "Return a temp file, creating it if necessary.
571 580
572TYPE is either 'pro or 'rinfo, and idlwave-shell-temp-pro-file or 581TYPE is either 'pro' or 'rinfo', and `idlwave-shell-temp-pro-file' or
573idlwave-shell-temp-rinfo-save-file is set (respectively)." 582`idlwave-shell-temp-rinfo-save-file' is set (respectively)."
574 (cond 583 (cond
575 ((eq type 'rinfo) 584 ((eq type 'rinfo)
576 (or idlwave-shell-temp-rinfo-save-file 585 (or idlwave-shell-temp-rinfo-save-file
@@ -608,16 +617,6 @@ idlwave-shell-temp-rinfo-save-file is set (respectively)."
608 nil) 617 nil)
609 file))) 618 file)))
610 619
611;; Other variables
612(defvar idlwave-shell-temp-pro-file
613 nil
614 "Absolute pathname for temporary IDL file for compiling regions")
615
616(defvar idlwave-shell-temp-rinfo-save-file
617 nil
618 "Absolute pathname for temporary IDL file save file for routine_info.
619This is used to speed up the reloading of the routine info procedure
620before use by the shell.")
621 620
622(defvar idlwave-shell-dirstack-query "cd,current=___cur & print,___cur" 621(defvar idlwave-shell-dirstack-query "cd,current=___cur & print,___cur"
623 "Command used by `idlwave-shell-resync-dirs' to query IDL for 622 "Command used by `idlwave-shell-resync-dirs' to query IDL for
@@ -2952,6 +2951,10 @@ idlw-shell-examine-alist via mini-buffer shortcut key."
2952(defvar idlwave-shell-examine-window-alist nil 2951(defvar idlwave-shell-examine-window-alist nil
2953 "Variable to hold the win/height pairs for all *Examine* windows.") 2952 "Variable to hold the win/height pairs for all *Examine* windows.")
2954 2953
2954(defvar idlwave-shell-examine-map (make-sparse-keymap))
2955(define-key idlwave-shell-examine-map "q" 'idlwave-shell-examine-display-quit)
2956(define-key idlwave-shell-examine-map "c" 'idlwave-shell-examine-display-clear)
2957
2955(defun idlwave-shell-examine-display () 2958(defun idlwave-shell-examine-display ()
2956 "View the examine command output in a separate buffer." 2959 "View the examine command output in a separate buffer."
2957 (let (win cur-beg cur-end) 2960 (let (win cur-beg cur-end)
@@ -3032,10 +3035,6 @@ idlw-shell-examine-alist via mini-buffer shortcut key."
3032 (skip-chars-backward "\n") 3035 (skip-chars-backward "\n")
3033 (recenter -1))))) 3036 (recenter -1)))))
3034 3037
3035(defvar idlwave-shell-examine-map (make-sparse-keymap))
3036(define-key idlwave-shell-examine-map "q" 'idlwave-shell-examine-display-quit)
3037(define-key idlwave-shell-examine-map "c" 'idlwave-shell-examine-display-clear)
3038
3039(defun idlwave-shell-examine-display-quit () 3038(defun idlwave-shell-examine-display-quit ()
3040 (interactive) 3039 (interactive)
3041 (let ((win (selected-window))) 3040 (let ((win (selected-window)))
@@ -3411,7 +3410,7 @@ Otherwise return the filename in bp."
3411The breakpoint will be placed at the beginning of the statement on the 3410The breakpoint will be placed at the beginning of the statement on the
3412line specified by BP or at the next IDL statement if that line is not 3411line specified by BP or at the next IDL statement if that line is not
3413a statement. Determines IDL's internal representation for the 3412a statement. Determines IDL's internal representation for the
3414breakpoint, which may have occured at a different line than 3413breakpoint, which may have occurred at a different line than
3415specified. If NO-SHOW is non-nil, don't do any updating." 3414specified. If NO-SHOW is non-nil, don't do any updating."
3416 ;; Get and save the old breakpoints 3415 ;; Get and save the old breakpoints
3417 (idlwave-shell-send-command 3416 (idlwave-shell-send-command