summaryrefslogtreecommitdiff
path: root/.dir-locals.el
blob: a963011ff2a6586b97446e4ca7ea5b3ee26784fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
;;; -*- no-byte-compile: t; -*-
((nil . ((tab-width . 8)
         (fill-column . 80)
         ;; (commment-fill-column . 80)
         (emacs-lisp-docstring-fill-column . 65)
         (bug-reference-url-format . "https://github.com/djcb/mu/issues/%s")
         ;;   uncomment below (or put in .dir-locals-2.el)
         ;;   to dtrt for M-x compile
         ;;
         ;; (eval . (setq compile-command
         ;;               (format "make -C %s"
         ;;                       (shell-quote-argument
         ;;                        (locate-dominating-file "." "Makefile")))))
         ))
 (c-mode . ((c-file-style . "linux")
            (indent-tabs-mode . t)
            (mode . bug-reference-prog)))
 (c-ts-mode . ((indent-tabs-mode . t)
               (c-ts-mode-indent-style . linux)
               (c-ts-mode-indent-offset . 8)
               (mode . bug-reference-prog)))
 (c++-mode . ((c-file-style . "linux")
              (fill-column . 100)
              ;; (comment-fill-column . 80)
              (mode . bug-reference-prog)))
 (c++-ts-mode . ((indent-tabs-mode . t)
                 (c-ts-mode-indent-style . linux)
                 (c-ts-mode-indent-offset . 8)
                 (mode . bug-reference-prog)))
 (emacs-lisp-mode . ((indent-tabs-mode . nil)
                     (mode . bug-reference-prog)))
 (lisp-data-mode . ((indent-tabs-mode . nil)))
 (texinfo-mode . ((mode . bug-reference-prog)))
 (org-mode . ((mode . bug-reference))))