gnu: icedove: Update to 78.4.3.
[jackhill/guix/guix.git] / .dir-locals.el
CommitLineData
1722d680
LC
1;; Per-directory local variables for GNU Emacs 23 and later.
2
d53e8ba6
LC
3((nil
4 . ((fill-column . 78)
5 (tab-width . 8)
afb325d8 6 (sentence-end-double-space . t)
d53e8ba6
LC
7
8 ;; For use with 'bug-reference-prog-mode'.
9 (bug-reference-url-format . "http://bugs.gnu.org/%s")
10 (bug-reference-bug-regexp
0e1b0958
MC
11 . "<https?://\\(debbugs\\|bugs\\)\\.gnu\\.org/\\([0-9]+\\)>")
12
13 ;; Emacs-Guix
14 (eval . (setq guix-directory
15 (locate-dominating-file default-directory ".dir-locals.el")))
16
17 ;; Geiser
18 ;; This allows automatically setting the `geiser-guile-load-path'
19 ;; variable when using various Guix checkouts (e.g., via git worktrees).
20 (eval . (let* ((root-dir (expand-file-name
21 (locate-dominating-file
22 default-directory ".dir-locals.el")))
23 ;; Workaround for bug https://issues.guix.gnu.org/43818.
24 (root-dir* (directory-file-name root-dir)))
25 (unless (boundp 'geiser-guile-load-path)
26 (defvar geiser-guile-load-path '()))
27 (make-local-variable 'geiser-guile-load-path)
96d0f0b1 28 (require 'cl-lib)
0e1b0958
MC
29 (cl-pushnew root-dir* geiser-guile-load-path
30 :test #'string-equal)))))
31
1722d680
LC
32 (c-mode . ((c-file-style . "gnu")))
33 (scheme-mode
34 .
35 ((indent-tabs-mode . nil)
21b679f6 36 (eval . (put 'eval-when 'scheme-indent-function 1))
2abcc97f 37 (eval . (put 'call-with-prompt 'scheme-indent-function 1))
0bdba772 38 (eval . (put 'test-assert 'scheme-indent-function 1))
d664f1b4 39 (eval . (put 'test-assertm 'scheme-indent-function 1))
22ef06b8 40 (eval . (put 'test-equalm 'scheme-indent-function 1))
0bdba772 41 (eval . (put 'test-equal 'scheme-indent-function 1))
81deef27 42 (eval . (put 'test-eq 'scheme-indent-function 1))
0bdba772
LC
43 (eval . (put 'call-with-input-string 'scheme-indent-function 1))
44 (eval . (put 'guard 'scheme-indent-function 1))
1722d680
LC
45 (eval . (put 'lambda* 'scheme-indent-function 1))
46 (eval . (put 'substitute* 'scheme-indent-function 1))
f4596f76 47 (eval . (put 'match-record 'scheme-indent-function 2))
da99126c
AK
48
49 ;; 'modify-phases' and its keywords.
8ddc41e1 50 (eval . (put 'modify-phases 'scheme-indent-function 1))
da99126c
AK
51 (eval . (put 'replace 'scheme-indent-function 1))
52 (eval . (put 'add-before 'scheme-indent-function 2))
53 (eval . (put 'add-after 'scheme-indent-function 2))
54
cd6f6c22 55 (eval . (put 'modify-services 'scheme-indent-function 1))
1722d680 56 (eval . (put 'with-directory-excursion 'scheme-indent-function 1))
b7178c22 57 (eval . (put 'with-file-lock 'scheme-indent-function 1))
6fbd8fde 58 (eval . (put 'with-file-lock/no-wait 'scheme-indent-function 1))
55e1dfa4 59 (eval . (put 'with-profile-lock 'scheme-indent-function 1))
14c422c1 60 (eval . (put 'with-writable-file 'scheme-indent-function 2))
b7178c22 61
2a8417ac 62 (eval . (put 'package 'scheme-indent-function 0))
8d0e5c26 63 (eval . (put 'package/inherit 'scheme-indent-function 1))
35ef3633 64 (eval . (put 'origin 'scheme-indent-function 0))
0d5a559f
LC
65 (eval . (put 'build-system 'scheme-indent-function 0))
66 (eval . (put 'bag 'scheme-indent-function 0))
969df974 67 (eval . (put 'graft 'scheme-indent-function 0))
83bcd0b8
LC
68 (eval . (put 'operating-system 'scheme-indent-function 0))
69 (eval . (put 'file-system 'scheme-indent-function 0))
a2078770
LC
70 (eval . (put 'manifest-entry 'scheme-indent-function 0))
71 (eval . (put 'manifest-pattern 'scheme-indent-function 0))
073c34d7 72 (eval . (put 'substitute-keyword-arguments 'scheme-indent-function 1))
ce4a4829 73 (eval . (put 'with-store 'scheme-indent-function 1))
19c924af 74 (eval . (put 'with-external-store 'scheme-indent-function 1))
03323862 75 (eval . (put 'with-error-handling 'scheme-indent-function 0))
b860f382 76 (eval . (put 'with-mutex 'scheme-indent-function 1))
04d4c8a4 77 (eval . (put 'with-atomic-file-output 'scheme-indent-function 1))
01ac19dc
LC
78 (eval . (put 'call-with-compressed-output-port 'scheme-indent-function 2))
79 (eval . (put 'call-with-decompressed-port 'scheme-indent-function 2))
72153902
LC
80 (eval . (put 'call-with-gzip-input-port 'scheme-indent-function 1))
81 (eval . (put 'call-with-gzip-output-port 'scheme-indent-function 1))
66229b04
LC
82 (eval . (put 'call-with-lzip-input-port 'scheme-indent-function 1))
83 (eval . (put 'call-with-lzip-output-port 'scheme-indent-function 1))
81deef27 84 (eval . (put 'signature-case 'scheme-indent-function 1))
75f3b1a1
MW
85 (eval . (put 'emacs-batch-eval 'scheme-indent-function 0))
86 (eval . (put 'emacs-batch-edit-file 'scheme-indent-function 1))
87 (eval . (put 'emacs-substitute-sexps 'scheme-indent-function 1))
88 (eval . (put 'emacs-substitute-variables 'scheme-indent-function 1))
6eebbab5 89 (eval . (put 'with-derivation-narinfo 'scheme-indent-function 1))
c63d9403 90 (eval . (put 'with-derivation-substitute 'scheme-indent-function 2))
dc0f74e5 91 (eval . (put 'with-status-report 'scheme-indent-function 1))
7804c45b 92 (eval . (put 'with-status-verbosity 'scheme-indent-function 1))
041b340d 93 (eval . (put 'with-build-handler 'scheme-indent-function 1))
b860f382 94
f9704f17
LC
95 (eval . (put 'mlambda 'scheme-indent-function 1))
96 (eval . (put 'mlambdaq 'scheme-indent-function 1))
b860f382
LC
97 (eval . (put 'syntax-parameterize 'scheme-indent-function 1))
98 (eval . (put 'with-monad 'scheme-indent-function 1))
405a9d4e 99 (eval . (put 'mbegin 'scheme-indent-function 1))
21caa6de
LC
100 (eval . (put 'mwhen 'scheme-indent-function 1))
101 (eval . (put 'munless 'scheme-indent-function 1))
b860f382
LC
102 (eval . (put 'mlet* 'scheme-indent-function 2))
103 (eval . (put 'mlet 'scheme-indent-function 2))
21b679f6 104 (eval . (put 'run-with-store 'scheme-indent-function 1))
81a97734 105 (eval . (put 'run-with-state 'scheme-indent-function 1))
b1ec2233 106 (eval . (put 'wrap-program 'scheme-indent-function 1))
0bb9929e 107 (eval . (put 'with-imported-modules 'scheme-indent-function 1))
838e17d8 108 (eval . (put 'with-extensions 'scheme-indent-function 1))
cf2ac04f 109 (eval . (put 'with-parameters 'scheme-indent-function 1))
644cb40c 110 (eval . (put 'let-system 'scheme-indent-function 1))
21b679f6 111
7f9d184d 112 (eval . (put 'with-database 'scheme-indent-function 2))
1d40e6fd 113 (eval . (put 'call-with-transaction 'scheme-indent-function 1))
5d6e2255 114 (eval . (put 'with-statement 'scheme-indent-function 3))
1d40e6fd 115 (eval . (put 'call-with-retrying-transaction 'scheme-indent-function 1))
37545de4 116 (eval . (put 'call-with-savepoint 'scheme-indent-function 1))
8971f626 117 (eval . (put 'call-with-retrying-savepoint 'scheme-indent-function 1))
7f9d184d 118
c1f6a0c2
DT
119 (eval . (put 'call-with-container 'scheme-indent-function 1))
120 (eval . (put 'container-excursion 'scheme-indent-function 1))
1563d6c7 121 (eval . (put 'eventually 'scheme-indent-function 1))
c1f6a0c2 122
1fafa2f5 123 (eval . (put 'call-with-progress-reporter 'scheme-indent-function 1))
43badf26 124 (eval . (put 'with-repository 'scheme-indent-function 2))
873f6f13 125 (eval . (put 'with-temporary-git-repository 'scheme-indent-function 2))
5800d2aa 126 (eval . (put 'with-temporary-git-worktree 'scheme-indent-function 2))
c83eedba
LC
127 (eval . (put 'with-environment-variables 'scheme-indent-function 1))
128 (eval . (put 'with-fresh-gnupg-setup 'scheme-indent-function 1))
1fafa2f5 129
c39693d7
LC
130 (eval . (put 'with-paginated-output-port 'scheme-indent-function 1))
131
667b2508
LC
132 ;; This notably allows '(' in Paredit to not insert a space when the
133 ;; preceding symbol is one of these.
21b679f6 134 (eval . (modify-syntax-entry ?~ "'"))
667b2508
LC
135 (eval . (modify-syntax-entry ?$ "'"))
136 (eval . (modify-syntax-entry ?+ "'"))))
1722d680
LC
137 (emacs-lisp-mode . ((indent-tabs-mode . nil)))
138 (texinfo-mode . ((indent-tabs-mode . nil)
139 (fill-column . 72))))