emacs

Consider also joining #cider, #lsp and #inf-clojure, where most of the tool-specific discussions are happening.
2021-06-28T13:10:15.094500Z

@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

Janne Sauvala 2021-06-28T13:18:56.094600Z

great that there are ways to config this - I might want to change the defaults in some of my projects. Thanks for the tip! 🙂

grazfather 2021-06-28T15:39:57.095100Z

what is this nil . stuff?

futuro 2021-06-28T16:07:35.095300Z

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.

futuro 2021-06-28T16:07:49.095500Z

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"))))))

☝️ 1
2021-06-28T16:09:41.095800Z

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

futuro 2021-06-28T16:10:46.096Z

Agreed; learning about them was a nice tip that made customizing a particular project/directory super easy (and allowed me to clean up my init file, to boot).

mpenet 2021-06-28T16:26:01.096300Z

project.el is also very decent if you're on a recent emacs version