(ess-r-args-get): Do not use zap-to-char within defun,
[ess.git] / lisp / essl-lsp.el
blobc12404e7ae09ad5d97c300f93804bb90cdd454e0
1 ;;; essl-lsp.el --- Support for editing Lisp source code
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.
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>
11 ;; This file is part of ESS.
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.
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.
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.
27 ;;; Commentary:
29 ;; Configurations for editing XLispStat source code. Contains any underlying
30 ;; changes that need to be made.
32 ;;; Code:
34 \f ; Requires and autoloads
36 ;; Contents "translated" from lisp-mode.el
37 (require 'lisp-mode)
39 \f ; Configuration variables
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.")
64 (provide 'essl-lsp)
66 \f ; Local variables section
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
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:
83 ;;; essl-lsp.el ends here