Post Ab869ZzN2ipprAnAjw by Ninjatrappeur@social.alternativebit.fr
 (DIR) More posts by Ninjatrappeur@social.alternativebit.fr
 (DIR) Post #Ab869YfpvrcDmIe3ea by civodul@toot.aquilenet.fr
       2023-10-24T20:19:34Z
       
       1 likes, 0 repeats
       
       Dear #Emacs folks, believe it or not, it wasn’t until today that I looked at ‘project.el’!Very nice, though I’m disappointed that it wouldn’t pick the ‘vc’ backend when it should, and that searching isn’t as good as with Counsel + Ivy.Perhaps I’m missing tips and tricks?
       
 (DIR) Post #Ab869ZzN2ipprAnAjw by Ninjatrappeur@social.alternativebit.fr
       2023-10-25T13:16:50.497190Z
       
       0 likes, 0 repeats
       
       @civodul Nice :) I used to be a project.el user as well! I sadly don't have an answer for your problem :(I just wanted to share my hapiness: I found a workflow I really like for this: `helm-ls-git (mapped to C-p) for in-project vc-aware file/branch jumping + 'my-repo-pins (mapped to M-h, shameless self plug :D) to seamlessly git clone/jump on a project already checked out on my disk.Likely won't help you much though haha
       
 (DIR) Post #Ab86DrKoUeRgoPrXSC by ramin_hal9001@emacs.ch
       2023-10-25T00:19:12Z
       
       1 likes, 1 repeats
       
        @ArneBab @daviwil @pkal > "believe it or not, it wasn’t until today that I looked at ‘project.el’"@civodul  "project.el" is a relatively new addition to Emacs.I have been on-and-off working on a thing that makes use of the "project.el" functionality. I call it dir-local-env.el which is supposed to work like direnv, but it is written in Emacs Lisp. It is not complete yet, my hope is that soon it will be able to detect if there is a .guix-profile directory in a project, run a command such as "guix shell -- printenv", capture the output, and automatically set the environment variables that Emacs uses to launch processes. So if you ever run a command such as "M-x compile" from within a file buffer that is part of your project directory, it will automatically set the correct environment variables for that project as they are set by the Guix profile.The code is on my GitHub page. Again, it is not complete yet, but I thought I would mention it. It does allow you to define project-local variables so far, which operates using the same mechanism as dir-local variables but without the need for a ".dir-locals.el" file. When it is finished, I hope you can run the Compile command in one buffer and then and another, each in its own project, and each command invocation gets its own unique environment defined by the Guix profile.