This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-06-28
Channels
- # adventofcode (12)
- # announcements (1)
- # asami (18)
- # aws (1)
- # babashka (20)
- # beginners (80)
- # calva (11)
- # cider (10)
- # circleci (5)
- # cljsrn (2)
- # clojure (37)
- # clojure-australia (15)
- # clojure-europe (32)
- # clojure-nl (2)
- # clojure-uk (26)
- # clojured (7)
- # clojurescript (10)
- # clojurewerkz (3)
- # cursive (45)
- # data-science (12)
- # datomic (3)
- # emacs (8)
- # events (3)
- # fulcro (23)
- # graphql (5)
- # helix (3)
- # jobs (1)
- # jobs-discuss (1)
- # juxt (3)
- # lsp (12)
- # malli (4)
- # meander (4)
- # reagent (11)
- # releases (1)
- # shadow-cljs (28)
- # sql (35)
- # tools-deps (9)
- # xtdb (25)
@janne.sauvala Projectile's file logic is pretty straightforward to customize if you are familiar with git as well. Coupling that with directory local variables can be pretty useful. :) https://docs.projectile.mx/projectile/2.2/projects.html#configuring-projectiles-behavior
great that there are ways to config this - I might want to change the defaults in some of my projects. Thanks for the tip! 🙂
what is this nil .
stuff?
From the (emacs) Directory Variables
info page, it's
> Instead of a mode name, you can
> specify ‘nil’, which means that the alist applies to any mode; or you
> can specify a subdirectory (a string), in which case the alist applies
> to all files in that subdirectory.
Here's an example of a '.dir-locals.el' file:
((nil . ((indent-tabs-mode . t)
(fill-column . 80)
(mode . auto-fill)))
(c-mode . ((c-file-style . "BSD")
(subdirs . nil)))
("src/imported"
. ((nil . ((change-log-default-name
. "ChangeLog.local"))))))
File and Directory Local Variables are a really cool feature of Emacs, IMHO. :) Read about them and more https://www.gnu.org/software/emacs/manual/html_node/elisp/Variables.html