all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Justin Veilleux <terramorpha@cock.li>
To: help-guix@gnu.org, Reza Housseini <reza.housseini@gmail.com>
Subject: Re: Activate multiple profiles inside emacs
Date: Tue, 08 Mar 2022 11:31:13 -0500	[thread overview]
Message-ID: <69D4CD8E-A571-4B58-AF66-558C17FF6600@cock.li> (raw)
In-Reply-To: <60d23adb-8515-7942-6520-229dcbff0bf4@gmail.com>

I use direnv for this. You could set up your profiles, then, in the envrc, source all of them in order(I personally would keep sourcing the emacs specific profile separately though). There is a package (emacs-direnv) which integrates emacs and direnv which makes the sort of workflow you are describing seamless.

Cheers.

On March 8, 2022 10:02:32 a.m. EST, Reza Housseini <reza.housseini@gmail.com> wrote:
>Hi Guix
>
>Say I have several projects each with their specific profile containing 
>the needed dependencies and a profile for all my Emacs specific stuff.
>
>Now I want to work on a projects inside Emacs and make therefore a union 
>of the project specific profile and my Emacs profile. So as for example 
>pylint does not complain about missing modules inside my project source 
>code.
>
>As I understand I could source my needed profile files in a shell and 
>then start Emacs from there, but this makes it quite cumbersome to 
>switch projects as I have to restart Emacs every time.
>
>Is there a possibility to achieve the same while Emacs keeps running?
>
>How do you guixers handle this scenario? Or is there an obvious solution 
>to my needs?
>
>
>Thanks for any input!
>
>
>Cheers,
>
>Reza
>
>

  reply	other threads:[~2022-03-08 16:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-08 15:02 Activate multiple profiles inside emacs Reza Housseini
2022-03-08 16:31 ` Justin Veilleux [this message]
2022-03-16 15:00 ` Maxim Cournoyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=69D4CD8E-A571-4B58-AF66-558C17FF6600@cock.li \
    --to=terramorpha@cock.li \
    --cc=help-guix@gnu.org \
    --cc=reza.housseini@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.