Initial Commit
[packages] / xemacs-packages / ess / lisp / essl-lsp.el
1 ;;; essl-lsp.el --- Support for editing Lisp source code
2
3 ;; Copyright (C) 1997 A.J. Rossini.
4 ;; Copyright (C) 1998--2004 A.J. Rossini, Rich M. Heiberger, Martin
5 ;;      Maechler, Kurt Hornik, Rodney Sparapani, and Stephen Eglen.
6
7 ;; Original Author: A.J. Rossini <rossini@stat.sc.edu>
8 ;; Created: 1 Sept 1997
9 ;; Maintainers: ESS-core <ESS-core@stat.math.ethz.ch>
10
11 ;; This file is part of ESS.
12
13 ;; This file is free software; you can redistribute it and/or modify
14 ;; it under the terms of the GNU General Public License as published by
15 ;; the Free Software Foundation; either version 2, or (at your option)
16 ;; any later version.
17
18 ;; This file is distributed in the hope that it will be useful,
19 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
20 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21 ;; GNU General Public License for more details.
22
23 ;; You should have received a copy of the GNU General Public License
24 ;; along with GNU Emacs; see the file COPYING.  If not, write to
25 ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
26
27 ;;; Commentary:
28
29 ;; Configurations for editing XLispStat source code.  Contains any underlying
30 ;; changes that need to be made.
31
32 ;;; Code:
33
34 \f ; Requires and autoloads
35
36 ;; Contents "translated" from lisp-mode.el
37 (require 'lisp-mode)
38
39 \f ; Configuration variables
40
41
42
43 (defvar Lisp-editing-alist
44   '((paragraph-start              . (concat "^$\\|" page-delimiter))
45     (paragraph-separate           . (concat "^$\\|" page-delimiter))
46     (paragraph-ignore-fill-prefix . t)
47     (fill-paragraph-function      . 'lisp-fill-paragraph)
48     (adaptive-fill-mode           . nil)
49     (indent-line-function         . 'lisp-indent-line)
50     (indent-region-function       . 'lisp-indent-region)
51     (require-final-newline        . t)
52     (comment-start                . ";")
53     (comment-start-skip           . "\\(\\(^\\|[^\\\\\n]\\)\\(\\\\\\\\\\)*\\);+ *")
54     (comment-column               . 40)
55     (comment-indent-function      . 'lisp-comment-indent)
56     (parse-sexp-ignore-comments   . t)
57     (ess-set-style                . ess-default-style)
58     (ess-local-process-name       . nil)
59     ;;(ess-keep-dump-files          . 'ask)
60     (ess-mode-syntax-table        . lisp-mode-syntax-table)
61     (font-lock-defaults           . '(lisp-font-lock-keywords)))
62   "General options for editing LispStat, XLispStat, and ViSta source files.")
63
64 (provide 'essl-lsp)
65
66 \f ; Local variables section
67
68 ;;; This file is automatically placed in Outline minor mode.
69 ;;; The file is structured as follows:
70 ;;; Chapters:     ^L ;
71 ;;; Sections:    ;;*;;
72 ;;; Subsections: ;;;*;;;
73 ;;; Components:  defuns, defvars, defconsts
74 ;;;              Random code beginning with a ;;;;* comment
75
76 ;;; Local variables:
77 ;;; mode: emacs-lisp
78 ;;; outline-minor-mode: nil
79 ;;; mode: outline-minor
80 ;;; outline-regexp: "\^L\\|\\`;\\|;;\\*\\|;;;\\*\\|(def[cvu]\\|(setq\\|;;;;\\*"
81 ;;; End:
82
83 ;;; essl-lsp.el ends here