;;; ess-sp3-d.el --- S-PLUS 3.x customization12;; Copyright (C) 1997--2004 A.J. Rossini, Richard M. Heiberger, Martin3;; Maechler, Kurt Hornik, Rodney Sparapani, and Stephen Eglen.45;; Author: A.J. Rossini <[email protected]>6;; Created: 12 Jun 19977;; Maintainer: ESS-core <[email protected]>89;; Keywords: languages1011;; This file is part of ESS.1213;; This file is free software; you can redistribute it and/or modify14;; it under the terms of the GNU General Public License as published by15;; the Free Software Foundation; either version 2, or (at your option)16;; any later version.1718;; This file is distributed in the hope that it will be useful,19;; but WITHOUT ANY WARRANTY; without even the implied warranty of20;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the21;; GNU General Public License for more details.2223;; A copy of the GNU General Public License is available at24;; http://www.r-project.org/Licenses/2526;;; Commentary:2728;; This file defines all the S-PLUS 3.x customizations for ess-mode.2930;;; Code:3132(autoload 'inferior-ess "ess-inf" "Run an ESS process.")33(autoload 'ess-mode "ess-mode" "Edit an ESS process.")3435(require 'ess-s-l)3637(defvar S+3-dialect-name "S+3"38"Name of 'dialect' for S-PLUS 3.x.");easily changeable in a user's .emacs3940(defvar S+3-customize-alist41(append42'((ess-local-customize-alist . 'S+3-customize-alist)43(ess-dialect . S+3-dialect-name)44(ess-loop-timeout . ess-S-loop-timeout);fixme: dialect spec.45(ess-object-name-db-file . "ess-s+3-namedb.el" )46(inferior-ess-program . inferior-S+3-program-name)47(inferior-ess-help-command . "help(\"%s\", pager=\"cat\", window=FALSE)\n")48(inferior-ess-help-filetype . nil)49(inferior-ess-search-list-command . "search()\n")50(inferior-ess-start-file . nil) ;"~/.ess-S+3")51(inferior-ess-start-args . "")52(ess-STERM . "iESS")53)54S+common-cust-alist)5556"Variables to customize for S+3.")575859(defun S+3 (&optional proc-name)60"Call 'S-PLUS 3.x', the 'Real Thing' from StatSci."61(interactive)62(setq ess-customize-alist S+3-customize-alist)63(ess-write-to-dribble-buffer64(format "\n(S+3): ess-dialect=%s, buf=%s\n" ess-dialect (current-buffer)))65(inferior-ess)66(if inferior-ess-language-start67(ess-eval-linewise inferior-ess-language-start)))6869(defun S+3-mode (&optional proc-name)70"Major mode for editing S+3 source. See `ess-mode' for more help."71(interactive)72(setq ess-customize-alist S+3-customize-alist)73(ess-mode S+3-customize-alist proc-name)74(if ess-imenu-use-S (ess-imenu-S)))7576(defun S+3-transcript-mode ()77"S-PLUS 3.x transcript mode."78(interactive)79(ess-transcript-mode S+3-customize-alist))80818283; Provide package8485(provide 'ess-sp3-d)8687; Local variables section8889;;; This file is automatically placed in Outline minor mode.90;;; The file is structured as follows:91;;; Chapters: ^L ;92;;; Sections: ;;*;;93;;; Subsections: ;;;*;;;94;;; Components: defuns, defvars, defconsts95;;; Random code beginning with a ;;;;* comment9697;;; Local variables:98;;; mode: emacs-lisp99;;; outline-minor-mode: nil100;;; mode: outline-minor101;;; outline-regexp: "\^L\\|\\`;\\|;;\\*\\|;;;\\*\\|(def[cvu]\\|(setq\\|;;;;\\*"102;;; End:103104;;; ess-sp3-d.el ends here105106107