all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Can Emacs packages define their own EMACSLOADPATH in their open script?
@ 2020-06-02 15:14 Zhu Zihao
  2020-06-03  9:31 ` Pierre Neidhardt
  0 siblings, 1 reply; 4+ messages in thread
From: Zhu Zihao @ 2020-06-02 15:14 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 378 bytes --]

I use guix to manage different version of Emacs in a foreign distro. However, the Emacs package in the source will record its modification of EMACSLOADPATH in profile, which will cause conflict in different version of Emacs, and also conflict with Emacs in foreign distro.


My idea is move the setting of EMACSLOADPATH into the wrapper script. What's you guys opinions? Thanks.

[-- Attachment #2: Type: text/html, Size: 604 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Can Emacs packages define their own EMACSLOADPATH in their open script?
  2020-06-02 15:14 Can Emacs packages define their own EMACSLOADPATH in their open script? Zhu Zihao
@ 2020-06-03  9:31 ` Pierre Neidhardt
  2020-06-03 10:18   ` Zhu Zihao
  0 siblings, 1 reply; 4+ messages in thread
From: Pierre Neidhardt @ 2020-06-03  9:31 UTC (permalink / raw)
  To: Zhu Zihao, guix-devel

[-- Attachment #1: Type: text/plain, Size: 306 bytes --]

Hi,

Can you clarify what you mean with

> the Emacs package in the source

? The source of what?

and

> will record its modification of EMACSLOADPATH in profile,

Where is it recorded?  Which modification?  What is "EMACSLOADPATH in profile"?

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re:Re: Can Emacs packages define their own EMACSLOADPATH in their open script?
  2020-06-03  9:31 ` Pierre Neidhardt
@ 2020-06-03 10:18   ` Zhu Zihao
  2020-06-03 10:25     ` Pierre Neidhardt
  0 siblings, 1 reply; 4+ messages in thread
From: Zhu Zihao @ 2020-06-03 10:18 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 594 bytes --]

I'm newbie to Guix and know little about Guix jargon. I'm sorry about that my words make you puzzled.


>? The source of what?

I mean the emacs package in guix source, the emacs-next package, precisely.




>> will record its modification of EMACSLOADPATH in profile,
>

>Where is it recorded?  Which modification?  What is "EMACSLOADPATH in profile"?


The package definition of emacs-next has native-search-path field, which add customized EMACSLOADPATH environment variable.
And I guess it modified ~/.guix-profile/etc/profile.

If you still doesn't understand, please ask me again, thanks!

[-- Attachment #2: Type: text/html, Size: 1025 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re:Re: Can Emacs packages define their own EMACSLOADPATH in their open script?
  2020-06-03 10:18   ` Zhu Zihao
@ 2020-06-03 10:25     ` Pierre Neidhardt
  0 siblings, 0 replies; 4+ messages in thread
From: Pierre Neidhardt @ 2020-06-03 10:25 UTC (permalink / raw)
  To: Zhu Zihao; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 762 bytes --]

"Zhu Zihao" <all_but_last@163.com> writes:

> I'm newbie to Guix and know little about Guix jargon. I'm sorry about that my words make you puzzled.

No problem!

>>Where is it recorded?  Which modification?  What is "EMACSLOADPATH in profile"?
>
> The package definition of emacs-next has native-search-path field, which add customized EMACSLOADPATH environment variable.
> And I guess it modified ~/.guix-profile/etc/profile.

This is correct.

> If you still doesn't understand, please ask me again, thanks!

EMACSLOADPATH takes a ':'-separated list of paths which should not
conflict with anything.

Can you detail precisely the conflict you are experiencing?
Maybe give a concrete example?

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-06-03 10:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-02 15:14 Can Emacs packages define their own EMACSLOADPATH in their open script? Zhu Zihao
2020-06-03  9:31 ` Pierre Neidhardt
2020-06-03 10:18   ` Zhu Zihao
2020-06-03 10:25     ` Pierre Neidhardt

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.