This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-07-25
Channels
- # babashka (9)
- # beginners (56)
- # calva (18)
- # clj-kondo (2)
- # clojars (2)
- # clojure (46)
- # clojure-boston (1)
- # clojure-europe (4)
- # clojurescript (10)
- # css (1)
- # data-science (2)
- # emacs (10)
- # girouette (1)
- # helix (10)
- # jobs-discuss (4)
- # malli (2)
- # off-topic (28)
- # polylith (5)
- # re-frame (4)
- # reitit (8)
- # releases (6)
- # rewrite-clj (1)
- # sci (44)
- # sql (10)
- # tools-deps (31)
Hey everyone 👋 while using Emacs, how can I avoid buffer files and specific Emacs’ files to be in my project folders? This is becoming a bit cumbersome as I see them and need to avoid them while using magit / git.
I don’t know the answer to your question, but you can set things up so that Git ignores those files in all projects: https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files#configuring-ignored-files-for-all-repositories-on-your-computer
What do you mean by "buffer files" and "specific Emacs' files"?
As an example, all this tilda files. I could certainly gitignore them but is there any better way of saving these files in a specific folder outside each project folder?
Are you using a pre-configured Emacs distribution similar to Doom/Prelude/Spacemacs etc. I am using Doom and this has never been a problem for me. I think Doom configures Emacs to put all extra files to a special directory and not in the current directory alongside your project files.
I’m not using any distro. I’m configuring Emacs from scratch to fit my needs. In the future I might use Doom but for now I think this is a great exercise. :thinking_face:
I know Doom handles this out-of-the-box (someone told me, not that I know by experience).
https://www.emacswiki.org/emacs/BackupDirectory might be relevant to you.
Oooh, that’s exactly what I need! Thanks @UJRDALZA5 🚀