unix-conf/.emacs.d/elpa/ess-20160208.453/lisp/ess-arc-d.el
2016-02-18 14:53:30 +01:00

101 lines
3.1 KiB
EmacsLisp
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

;;; ess-arc-d.el --- ARC customization
;; Copyright (C) 2000 A. J. Rossini
;; Copyright (C) 2001--2004 A.J. Rossini, Richard M. Heiberger, Martin
;; Maechler, Kurt Hornik, Rodney Sparapani, and Stephen Eglen.
;; Author: A.J. Rossini <rossini@stat.sc.edu>
;; Created: 30 Jun 2000
;; Maintainer: ESS-core <ESS-core@r-project.org>
;; Keywords: languages
;; This file is part of ESS
;; This file is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 2, or (at your option)
;; any later version.
;; This file is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; A copy of the GNU General Public License is available at
;; http://www.r-project.org/Licenses/
;;; Commentary:
;; This file extends the XLispStat configuration for ARC, the extension of the
;; R-Code.
;;; Code:
(require 'ess-lsp-l)
(autoload 'inferior-ess "ess-inf" "Run an ESS process.")
(defvar ARC-customize-alist
'((ess-customize-alist . ARC-customize-alist )
(ess-language . "XLS" )
(ess-dialect . "ARC" )
(ess-loop-timeout . ess-XLS-loop-timeout)
(ess-object-name-db-file . "ess-xls-namedb.el" )
(ess-help-sec-regex . " ")
(ess-help-sec-keys-alist . " ")
(inferior-ess-primary-prompt . "> ?" )
(comint-use-prompt-regexp . t)
(inferior-ess-program . inferior-ARC-program-name)
(inferior-ess-help-command . "(help '%s)\n" )
(inferior-ess-objects-command . "(variables)\n" )
(inferior-ess-exit-command . "(exit)\n" )
;;(inferior-ess-start-args . nil)
(inferior-ess-start-file . nil)) ; "~/.ess-ARC")
"Variables to customize for ARC, a dialect of XLS.")
(defun ARC-mode (&optional proc-name)
"Major mode for editing ARC source. NOT EVEN STARTED."
(interactive)
(setq ess-customize-alist ARC-customize-alist)
(lisp-mode))
(defun ARC ()
"Call 'ARC', the extend XLispStat statistical system, from Forrest Young."
(interactive)
(setq ess-customize-alist ARC-customize-alist)
(ess-write-to-dribble-buffer
(format "(ARC): ess-dialect=%s , buf=%s\n"
ess-dialect (current-buffer)))
(inferior-ess))
(fset 'arc 'ARC)
; Provide package
(provide 'ess-arc-d)
; Local variables section
;;; This file is automatically placed in Outline minor mode.
;;; The file is structured as follows:
;;; Chapters: ^L ;
;;; Sections: ;;*;;
;;; Subsections: ;;;*;;;
;;; Components: defuns, defvars, defconsts
;;; Random code beginning with a ;;;;* comment
;;; Local variables:
;;; mode: emacs-lisp
;;; outline-minor-mode: nil
;;; mode: outline-minor
;;; outline-regexp: "\^L\\|\\`;\\|;;\\*\\|;;;\\*\\|(def[cvu]\\|(setq\\|;;;;\\*"
;;; End:
;;; ess-arc-d.el ends here