.dir-locals.el 4.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. ;;; Directory Local Variables
  2. ;;; For more information see (info "(emacs) Directory Variables")
  3. ((nil
  4. . ((fill-column . 78)
  5. (tab-width . 8)
  6. (sentence-end-double-space . t)
  7. (eval
  8. . (with-eval-after-load 'geiser-guile
  9. (add-to-list
  10. 'geiser-guile-load-path
  11. (file-name-directory
  12. (locate-dominating-file default-directory ".dir-locals.el")))))))
  13. (scheme-mode
  14. .
  15. ((indent-tabs-mode . nil)
  16. (eval . (put 'eval-when 'scheme-indent-function 1))
  17. (eval . (put 'call-with-prompt 'scheme-indent-function 1))
  18. (eval . (put 'test-assert 'scheme-indent-function 1))
  19. (eval . (put 'test-assertm 'scheme-indent-function 1))
  20. (eval . (put 'test-equalm 'scheme-indent-function 1))
  21. (eval . (put 'test-equal 'scheme-indent-function 1))
  22. (eval . (put 'test-eq 'scheme-indent-function 1))
  23. (eval . (put 'call-with-input-string 'scheme-indent-function 1))
  24. (eval . (put 'guard 'scheme-indent-function 1))
  25. (eval . (put 'lambda* 'scheme-indent-function 1))
  26. (eval . (put 'substitute* 'scheme-indent-function 1))
  27. (eval . (put 'match-record 'scheme-indent-function 2))
  28. ;; 'modify-phases' and its keywords.
  29. (eval . (put 'modify-phases 'scheme-indent-function 1))
  30. (eval . (put 'replace 'scheme-indent-function 1))
  31. (eval . (put 'add-before 'scheme-indent-function 2))
  32. (eval . (put 'add-after 'scheme-indent-function 2))
  33. (eval . (put 'modify-services 'scheme-indent-function 1))
  34. (eval . (put 'with-directory-excursion 'scheme-indent-function 1))
  35. (eval . (put 'package 'scheme-indent-function 0))
  36. (eval . (put 'origin 'scheme-indent-function 0))
  37. (eval . (put 'build-system 'scheme-indent-function 0))
  38. (eval . (put 'bag 'scheme-indent-function 0))
  39. (eval . (put 'graft 'scheme-indent-function 0))
  40. (eval . (put 'operating-system 'scheme-indent-function 0))
  41. (eval . (put 'file-system 'scheme-indent-function 0))
  42. (eval . (put 'manifest-entry 'scheme-indent-function 0))
  43. (eval . (put 'manifest-pattern 'scheme-indent-function 0))
  44. (eval . (put 'substitute-keyword-arguments 'scheme-indent-function 1))
  45. (eval . (put 'with-store 'scheme-indent-function 1))
  46. (eval . (put 'with-error-handling 'scheme-indent-function 0))
  47. (eval . (put 'with-mutex 'scheme-indent-function 1))
  48. (eval . (put 'with-atomic-file-output 'scheme-indent-function 1))
  49. (eval . (put 'call-with-compressed-output-port 'scheme-indent-function 2))
  50. (eval . (put 'call-with-decompressed-port 'scheme-indent-function 2))
  51. (eval . (put 'call-with-gzip-input-port 'scheme-indent-function 1))
  52. (eval . (put 'call-with-gzip-output-port 'scheme-indent-function 1))
  53. (eval . (put 'signature-case 'scheme-indent-function 1))
  54. (eval . (put 'emacs-batch-eval 'scheme-indent-function 0))
  55. (eval . (put 'emacs-batch-edit-file 'scheme-indent-function 1))
  56. (eval . (put 'emacs-substitute-sexps 'scheme-indent-function 1))
  57. (eval . (put 'emacs-substitute-variables 'scheme-indent-function 1))
  58. (eval . (put 'with-derivation-narinfo 'scheme-indent-function 1))
  59. (eval . (put 'with-derivation-substitute 'scheme-indent-function 2))
  60. (eval . (put 'mlambda 'scheme-indent-function 1))
  61. (eval . (put 'mlambdaq 'scheme-indent-function 1))
  62. (eval . (put 'syntax-parameterize 'scheme-indent-function 1))
  63. (eval . (put 'with-monad 'scheme-indent-function 1))
  64. (eval . (put 'mbegin 'scheme-indent-function 1))
  65. (eval . (put 'mwhen 'scheme-indent-function 1))
  66. (eval . (put 'munless 'scheme-indent-function 1))
  67. (eval . (put 'mlet* 'scheme-indent-function 2))
  68. (eval . (put 'mlet 'scheme-indent-function 2))
  69. (eval . (put 'run-with-store 'scheme-indent-function 1))
  70. (eval . (put 'run-with-state 'scheme-indent-function 1))
  71. (eval . (put 'wrap-program 'scheme-indent-function 1))
  72. (eval . (put 'with-imported-modules 'scheme-indent-function 1))
  73. (eval . (put 'with-extensions 'scheme-indent-function 1))
  74. (eval . (put 'with-database 'scheme-indent-function 2))
  75. (eval . (put 'call-with-container 'scheme-indent-function 1))
  76. (eval . (put 'container-excursion 'scheme-indent-function 1))
  77. (eval . (put 'eventually 'scheme-indent-function 1))
  78. (eval . (put 'call-with-progress-reporter 'scheme-indent-function 1))
  79. ;; This notably allows '(' in Paredit to not insert a space when the
  80. ;; preceding symbol is one of these.
  81. (eval . (modify-syntax-entry ?~ "'"))
  82. (eval . (modify-syntax-entry ?$ "'"))
  83. (eval . (modify-syntax-entry ?+ "'"))))
  84. (texinfo-mode . ((indent-tabs-mode . nil)
  85. (fill-column . 72))))