ESS[SAS]: somebody forgot about the SUM statement (probably me)
[ess.git] / lisp / essd-vst.el
blob76b3afdba77f73a43a8a6ea6bb3aff00f7dfc97c
1 ;;; essd-vst.el --- ViSta customization
3 ;; Copyright (C) 1997 A. J. Rossini
4 ;; Copyright (C) 1997--2004 A.J. Rossini, Rich M. Heiberger, Martin
5 ;; Maechler, Kurt Hornik, Rodney Sparapani, and Stephen Eglen.
7 ;; Original Author: A.J. Rossini <rossini@u.washington.edu>
8 ;; Created: 26 Aug 1997
9 ;; Maintainers: ESS-core <ESS-core@stat.math.ethz.ch>
11 ;; Keywords: start up, configuration.
13 ;; This file is part of ESS
15 ;; This file is free software; you can redistribute it and/or modify
16 ;; it under the terms of the GNU General Public License as published by
17 ;; the Free Software Foundation; either version 2, or (at your option)
18 ;; any later version.
20 ;; This file is distributed in the hope that it will be useful,
21 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
22 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 ;; GNU General Public License for more details.
25 ;; You should have received a copy of the GNU General Public License
26 ;; along with GNU Emacs; see the file COPYING. If not, write to
27 ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
29 ;;; Commentary:
30 ;;; This file extends the XLispStat configuration for ViSta.
33 ;;; Requires and Autoloads:
35 (require 'essl-lsp)
37 (autoload 'inferior-ess "ess-inf" "Run an ESS process.")
39 ;;; Code:
41 (defvar VST-customize-alist
42 '((ess-customize-alist . VST-customize-alist )
43 (ess-language . "XLS" )
44 (ess-dialect . "ViSta" )
45 (ess-loop-timeout . ess-XLS-loop-timeout)
46 (ess-object-name-db-file . "ess-xls-namedb.el" )
47 (ess-help-sec-regex . " ")
48 (ess-help-sec-keys-alist . " ")
49 (inferior-ess-primary-prompt . "> ?" )
50 (comint-use-prompt-regexp-instead-of-fields . t) ;; emacs 21 and up
51 (inferior-ess-program . inferior-VST-program-name)
52 (inferior-ess-help-command . "(help '%s)\n" )
53 (inferior-ess-objects-command . "(variables)\n" )
54 (inferior-ess-exit-command . "(exit)\n" )
55 (inferior-ess-start-file . nil) ;"~/.ess-VST")
56 ;;(inferior-ess-start-args . nil)
58 "Variables to customize for XLS.")
61 (defun VST-mode (&optional proc-name)
62 "Major mode for editing ViSta source. NOT EVEN STARTED."
63 (interactive)
64 (setq ess-customize-alist VST-customize-alist)
65 (lisp-mode))
68 (defun ViSta ()
69 "Call 'ViSta', the extend XLispStat statistical system, from Forrest Young."
71 (interactive)
72 (setq ess-customize-alist VST-customize-alist)
73 (ess-write-to-dribble-buffer
74 (format "(ViSta): ess-dialect=%s , buf=%s\n"
75 ess-dialect (current-buffer)))
76 (inferior-ess))
78 \f ; Provide package
80 (provide 'essd-vst)
82 \f ; Local variables section
84 ;;; This file is automatically placed in Outline minor mode.
85 ;;; The file is structured as follows:
86 ;;; Chapters: ^L ;
87 ;;; Sections: ;;*;;
88 ;;; Subsections: ;;;*;;;
89 ;;; Components: defuns, defvars, defconsts
90 ;;; Random code beginning with a ;;;;* comment
92 ;;; Local variables:
93 ;;; mode: emacs-lisp
94 ;;; outline-minor-mode: nil
95 ;;; mode: outline-minor
96 ;;; outline-regexp: "\^L\\|\\`;\\|;;\\*\\|;;;\\*\\|(def[cvu]\\|(setq\\|;;;;\\*"
97 ;;; End:
99 ;;; ess-site.el ends here