build: Add guix/tests.scm to the distribution.
[guix.git] / .dir-locals.el
blob106c35bce65a6b28c35995155bc054748f17bb89
1 ;; Per-directory local variables for GNU Emacs 23 and later.
3 ((nil
4 . ((fill-column . 78)
5 (tab-width . 8)
7 ;; For use with 'bug-reference-prog-mode'.
8 (bug-reference-url-format . "http://bugs.gnu.org/%s")
9 (bug-reference-bug-regexp
10 . "<https?://\\(debbugs\\|bugs\\)\\.gnu\\.org/\\([0-9]+\\)>")))
11 (c-mode . ((c-file-style . "gnu")))
12 (scheme-mode
14 ((indent-tabs-mode . nil)
15 (eval . (put 'eval-when 'scheme-indent-function 1))
16 (eval . (put 'test-assert 'scheme-indent-function 1))
17 (eval . (put 'test-equal 'scheme-indent-function 1))
18 (eval . (put 'test-eq 'scheme-indent-function 1))
19 (eval . (put 'call-with-input-string 'scheme-indent-function 1))
20 (eval . (put 'guard 'scheme-indent-function 1))
21 (eval . (put 'lambda* 'scheme-indent-function 1))
22 (eval . (put 'substitute* 'scheme-indent-function 1))
23 (eval . (put 'with-directory-excursion 'scheme-indent-function 1))
24 (eval . (put 'package 'scheme-indent-function 0))
25 (eval . (put 'origin 'scheme-indent-function 0))
26 (eval . (put 'build-system 'scheme-indent-function 0))
27 (eval . (put 'bag 'scheme-indent-function 0))
28 (eval . (put 'graft 'scheme-indent-function 0))
29 (eval . (put 'operating-system 'scheme-indent-function 0))
30 (eval . (put 'file-system 'scheme-indent-function 0))
31 (eval . (put 'manifest-entry 'scheme-indent-function 0))
32 (eval . (put 'manifest-pattern 'scheme-indent-function 0))
33 (eval . (put 'substitute-keyword-arguments 'scheme-indent-function 1))
34 (eval . (put 'with-store 'scheme-indent-function 1))
35 (eval . (put 'with-error-handling 'scheme-indent-function 0))
36 (eval . (put 'with-mutex 'scheme-indent-function 1))
37 (eval . (put 'with-atomic-file-output 'scheme-indent-function 1))
38 (eval . (put 'call-with-compressed-output-port 'scheme-indent-function 2))
39 (eval . (put 'call-with-decompressed-port 'scheme-indent-function 2))
40 (eval . (put 'signature-case 'scheme-indent-function 1))
41 (eval . (put 'emacs-batch-eval 'scheme-indent-function 0))
42 (eval . (put 'emacs-batch-edit-file 'scheme-indent-function 1))
43 (eval . (put 'emacs-substitute-sexps 'scheme-indent-function 1))
44 (eval . (put 'emacs-substitute-variables 'scheme-indent-function 1))
46 (eval . (put 'syntax-parameterize 'scheme-indent-function 1))
47 (eval . (put 'with-monad 'scheme-indent-function 1))
48 (eval . (put 'mbegin 'scheme-indent-function 1))
49 (eval . (put 'mlet* 'scheme-indent-function 2))
50 (eval . (put 'mlet 'scheme-indent-function 2))
51 (eval . (put 'run-with-store 'scheme-indent-function 1))
53 ;; Recognize '~', '+', and '$', as used for gexps, as quotation symbols.
54 ;; This notably allows '(' in Paredit to not insert a space when the
55 ;; preceding symbol is one of these.
56 (eval . (modify-syntax-entry ?~ "'"))
57 (eval . (modify-syntax-entry ?$ "'"))
58 (eval . (modify-syntax-entry ?+ "'"))))
59 (emacs-lisp-mode . ((indent-tabs-mode . nil)))
60 (texinfo-mode . ((indent-tabs-mode . nil)
61 (fill-column . 72))))