;;; ess-s3-d.el --- S 3 (AT&T version) customization12;; Copyright (C) 1997 A. J. Rossini3;; Copyright (C) 1998--2005 A.J. Rossini, Richard M. Heiberger, Martin4;; Maechler, Kurt Hornik, Rodney Sparapani, and Stephen Eglen.56;; Author: A.J. Rossini <[email protected]>7;; Created: 12 Jun 19978;; Maintainer: ESS-core <[email protected]>910;; Keywords: languages1112;; This file is part of ESS.1314;; This file is free software; you can redistribute it and/or modify15;; it under the terms of the GNU General Public License as published by16;; the Free Software Foundation; either version 2, or (at your option)17;; any later version.1819;; This file is distributed in the hope that it will be useful,20;; but WITHOUT ANY WARRANTY; without even the implied warranty of21;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the22;; GNU General Public License for more details.2324;; A copy of the GNU General Public License is available at25;; http://www.r-project.org/Licenses/2627;;; Commentary:2829;; This file defines all the S 3 customizations for ess-mode.3031;;; Code:3233(autoload 'inferior-ess "ess-inf" "Run an ESS process.")3435(require 'ess-s-l)3637(defvar S3-customize-alist38(append39'((ess-local-customize-alist . 'S3-customize-alist)40(ess-dialect . "S3")41(ess-loop-timeout . ess-S-loop-timeout);fixme: dialect spec.42(ess-change-sp-regexp . ess-S-change-sp-regexp)43(ess-help-sec-keys-alist . ess-help-S3-sec-keys-alist)44(ess-object-name-db-file . "ess-s3-namedb.el" )45(inferior-ess-program . inferior-S3-program-name) ; "S")46(inferior-ess-help-command . "help(\"%s\")\n")47(inferior-ess-help-filetype . nil)48(inferior-ess-search-list-command . "search()\n")49(inferior-ess-objects-command . "objects(%d)\n")50(inferior-ess-start-file . nil) ;"~/.ess-S3")51(inferior-ess-start-args . "")52(ess-STERM . "iESS")53)54S+common-cust-alist); use S+ ones here; partly overwritten above!!5556"Variables to customize for S3")5758(defun S3 (&optional proc-name)59"Call 'S 3.x', the version from AT&T."60(interactive)61(setq ess-customize-alist S3-customize-alist)62(ess-write-to-dribble-buffer63(format "\n(S3): ess-dialect=%s, buf=%s\n" ess-dialect (current-buffer)))64(inferior-ess)65(if inferior-ess-language-start66(ess-eval-linewise inferior-ess-language-start)))676869(defun S3-mode (&optional proc-name)70"Major mode for editing S3 source. See `ess-mode' for more help."71(interactive)72(setq ess-customize-alist S3-customize-alist)73(ess-mode S3-customize-alist proc-name)74(if ess-imenu-use-S (ess-imenu-S)))757677; Provide package7879(provide 'ess-s3-d)8081; Local variables section8283;;; This file is automatically placed in Outline minor mode.84;;; The file is structured as follows:85;;; Chapters: ^L ;86;;; Sections: ;;*;;87;;; Subsections: ;;;*;;;88;;; Components: defuns, defvars, defconsts89;;; Random code beginning with a ;;;;* comment9091;;; Local variables:92;;; mode: emacs-lisp93;;; outline-minor-mode: nil94;;; mode: outline-minor95;;; outline-regexp: "\^L\\|\\`;\\|;;\\*\\|;;;\\*\\|(def[cvu]\\|(setq\\|;;;;\\*"96;;; End:9798;;; ess-s3-d.el ends here99100101