unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Pierre Neidhardt <mail@ambrevar.xyz>
Cc: alezost@gmail.com, myglc2@gmail.com, help-guix@gnu.org,
	38015@debbugs.gnu.org
Subject: [bug#38015] Emacs in multiple profiles
Date: Fri, 01 Nov 2019 21:12:14 -0400	[thread overview]
Message-ID: <878sozaxox.fsf@gmail.com> (raw)
In-Reply-To: <87pnib76x1.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Fri, 01 Nov 2019 20:06:34 +0100")

Hello Pierre,

Pierre Neidhardt <mail@ambrevar.xyz> writes:

> Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
>
>> For one, I think restarting my Emacs server (started at login) won't be
>> enough to discover newly installed packages to my profile.
>
> Hmmm, I don't understand why this would be an issue.  With updated
> environment variables, a new instance of Emacs should successfully find
> everything, shouldn't it?

Yes, when the instance is really *new*, forked from a session where
EMACSLOADPATH is set right.  I typically start Emacs in server mode
using a shepherd user service, so rarely restart Emacs.  And even if I
was to do 'herd restart emacs', its variables would still be inherited
from the login process that spawned its service.

But that's not too big an issue for Emacs when using Emacs-Guix, as one
can do `guix-set-emacs-environment' and choose a profile to re-read and
set (in Emacs itself) its environment variables.  Re-running
'guix-emacs-autoload-packages' would then refresh the autoloads
corectly, given that EMACSLOADPATH would have been refreshed with an
updated profile.

>> I'll let some time pass (2 weeks), and if nobody objects, I'll merge it
>> to master.
>
> Sounds great, thanks for this awesome fix!

Thank you for your interested in it, you motivated me to dust off a year
old (maybe more) patch and fix the remaining bits.

Maxim

  reply	other threads:[~2019-11-02  1:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <9c395fd0-9458-7894-af8b-9294d212c60b@fastmail.net>
     [not found] ` <878tajzu03.fsf@gmail.com>
     [not found]   ` <m1efkb6x7v.fsf@ordinateur-de-catherine--konrad.home>
     [not found]     ` <87a7uyd7qy.fsf@gmail.com>
     [not found]       ` <m17eq17jsb.fsf@ordinateur-de-catherine--konrad.home>
     [not found]         ` <874ll51mq3.fsf@gmail.com>
     [not found]           ` <m1zi2v5jo0.fsf@ordinateur-de-catherine--konrad.home>
     [not found]             ` <87zi2t4jgh.fsf@gmail.com>
     [not found]               ` <877ep4z44b.fsf@gmail.com>
     [not found]                 ` <87tv88ihzc.fsf@ambrevar.xyz>
     [not found]                   ` <878spgo7ex.fsf@gmail.com>
     [not found]                     ` <87o8yccwtq.fsf@ambrevar.xyz>
     [not found]                       ` <871rv1ed8v.fsf@gmail.com>
     [not found]                         ` <87mudpm5nt.fsf@ambrevar.xyz>
     [not found]                           ` <874kzscpgs.fsf@gmail.com>
     [not found]                             ` <87eeyvespq.fsf@ambrevar.xyz>
     [not found]                               ` <87zhhhbhzl.fsf@gmail.com>
     [not found]                                 ` <877e4l5c9h.fsf@ambrevar.xyz>
2019-11-01  4:25                                   ` [bug#38015] Emacs in multiple profiles Maxim Cournoyer
2019-11-01 19:06                                     ` Pierre Neidhardt
2019-11-02  1:12                                       ` Maxim Cournoyer [this message]
2019-11-02  9:41                                         ` Pierre Neidhardt
2019-11-12  5:14                                     ` Chris Marusich
2019-11-12  7:16                                       ` Pierre Neidhardt
2019-11-13  7:18                                         ` Chris Marusich
2019-11-13 11:08                                           ` Pierre Neidhardt
2019-11-18  5:50                                           ` 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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=878sozaxox.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=38015@debbugs.gnu.org \
    --cc=alezost@gmail.com \
    --cc=help-guix@gnu.org \
    --cc=mail@ambrevar.xyz \
    --cc=myglc2@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).