Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download
2701 views
1
;;; ess-lsp-l.el --- Support for editing Lisp source code
2
3
;; Copyright (C) 1997 A.J. Rossini.
4
;; Copyright (C) 1998--2004 A.J. Rossini, Richard M. Heiberger, Martin
5
;; Maechler, Kurt Hornik, Rodney Sparapani, and Stephen Eglen.
6
7
;; Author: A.J. Rossini <[email protected]>
8
;; Created: 1 Sept 1997
9
;; Maintainer: ESS-core <[email protected]>
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
;; A copy of the GNU General Public License is available at
24
;; http://www.r-project.org/Licenses/
25
26
;;; Commentary:
27
28
;; Configurations for editing XLispStat source code. Contains any underlying
29
;; changes that need to be made.
30
31
;;; Code:
32
33
; Requires and autoloads
34
35
;; Contents "translated" from lisp-mode.el
36
(require 'lisp-mode)
37
38
; Configuration variables
39
40
41
42
(defvar Lisp-editing-alist
43
'((paragraph-start . (concat "^$\\|" page-delimiter))
44
(paragraph-separate . (concat "^$\\|" page-delimiter))
45
(paragraph-ignore-fill-prefix . t)
46
(fill-paragraph-function . 'lisp-fill-paragraph)
47
(adaptive-fill-mode . nil)
48
(indent-line-function . 'lisp-indent-line)
49
(indent-region-function . 'lisp-indent-region)
50
(require-final-newline . mode-require-final-newline)
51
(comment-start . ";")
52
(comment-start-skip . "\\(\\(^\\|[^\\\\\n]\\)\\(\\\\\\\\\\)*\\);+ *")
53
(comment-column . 40)
54
(comment-indent-function . 'lisp-comment-indent)
55
(parse-sexp-ignore-comments . t)
56
(ess-style . ess-default-style)
57
(ess-local-process-name . nil)
58
;;(ess-keep-dump-files . 'ask)
59
(ess-mode-syntax-table . lisp-mode-syntax-table)
60
(font-lock-defaults . '(lisp-font-lock-keywords)))
61
"General options for editing LispStat, XLispStat, and ViSta source files.")
62
63
(provide 'ess-lsp-l)
64
65
; Local variables section
66
67
;;; This file is automatically placed in Outline minor mode.
68
;;; The file is structured as follows:
69
;;; Chapters: ^L ;
70
;;; Sections: ;;*;;
71
;;; Subsections: ;;;*;;;
72
;;; Components: defuns, defvars, defconsts
73
;;; Random code beginning with a ;;;;* comment
74
75
;;; Local variables:
76
;;; mode: emacs-lisp
77
;;; outline-minor-mode: nil
78
;;; mode: outline-minor
79
;;; outline-regexp: "\^L\\|\\`;\\|;;\\*\\|;;;\\*\\|(def[cvu]\\|(setq\\|;;;;\\*"
80
;;; End:
81
82
;;; ess-lsp-l.el ends here
83
84