From: Alex Kost <alezost@gmail.com>
To: Dmitry Bogatov <KAction@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: Emacs load path
Date: Mon, 28 Dec 2015 00:42:46 +0300 [thread overview]
Message-ID: <87mvsvva95.fsf@gmail.com> (raw)
In-Reply-To: <20151227164730.GB15526@sagulo> (Dmitry Bogatov's message of "Sun, 27 Dec 2015 19:47:30 +0300")
Dmitry Bogatov (2015-12-27 19:47 +0300) wrote:
> * Alex Kost <alezost@gmail.com> [2015-12-27 17:11:20+0300]
>> Dmitry Bogatov (2015-12-27 02:02 +0300) wrote:
>>
>> > * By default, ~/.guix-profile/share/emacs/site-lisp/guix.d is not in
>> > load-path. `emacs-no-x` exports no variables. So, if I install
>> > some emacs library, like `emacs-f`, evaluating (require 'f) in emacs
>> > fails. It is... unexpected. Is it intended behaviour?
>>
>> Yes, Federico Beffa (the author of emacs-build-system) explained it here:
>> <http://lists.gnu.org/archive/html/guix-devel/2015-06/msg00398.html>
>>
>> You either have to add guix.d directory manually or you can configure
>> emacs interface that comes with Guix, which means (require 'guix-init)
>> more or less. See (info "(guix) Emacs Initial Setup") for details.
>
> Read this email. It explain existance of guix.d subdirectory, but why
> can't we force emacs to execute following pseudo-code at start:
>
> (for dir in "${HOME}.guix-profile/share/emacs/site-lisp/guix.d"
> (push dir load-path))
This is more or less what (require 'guix-init) does (among other
things). And it works out of the box on GuixSD.
--
Alex
next prev parent reply other threads:[~2015-12-27 21:42 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-26 23:02 Multiple versions Dmitry Bogatov
2015-12-27 5:26 ` Pjotr Prins
2015-12-27 9:20 ` Dmitry Bogatov
2015-12-27 9:48 ` Andreas Enge
2015-12-27 10:41 ` Dmitry Bogatov
2015-12-27 12:28 ` Ricardo Wurmus
2015-12-27 12:41 ` Pjotr Prins
2015-12-27 14:40 ` Dmitry Bogatov
2015-12-27 15:41 ` Ricardo Wurmus
2015-12-27 16:41 ` Dmitry Bogatov
2015-12-27 15:58 ` Pjotr Prins
2015-12-29 15:21 ` Ludovic Courtès
2015-12-27 14:11 ` Alex Kost
2015-12-27 16:47 ` Emacs load path (was: Re: Multiple versions) Dmitry Bogatov
2015-12-27 21:42 ` Alex Kost [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-12-27 22:16 Federico Beffa
2015-12-28 22:15 ` Emacs load path Alex Kost
2015-12-29 0:30 ` Taylan Ulrich Bayırlı/Kammer
2015-12-30 12:16 ` Federico Beffa
2015-12-30 18:55 ` Alex Kost
2015-12-30 22:18 ` Federico Beffa
2015-12-31 9:02 ` Alex Kost
2015-12-31 9:27 ` Federico Beffa
2015-12-31 20:45 ` Alex Kost
2015-12-30 16:29 ` Ludovic Courtès
2015-12-30 16:55 ` Federico Beffa
2016-01-01 14:25 ` Federico Beffa
2016-01-01 15:22 ` Ludovic Courtès
2016-01-01 16:28 ` Alex Kost
2016-01-01 16:53 ` Federico Beffa
2016-01-02 14:13 ` Alex Kost
2016-01-04 10:18 ` Federico Beffa
2016-01-05 9:40 ` Alex Kost
2016-01-05 13:21 ` Federico Beffa
2016-01-06 16:56 ` Alex Kost
2016-01-01 16:28 ` Alex Kost
2015-12-31 22:47 ` Alex Kost
2016-01-01 15:24 ` Ludovic Courtès
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=87mvsvva95.fsf@gmail.com \
--to=alezost@gmail.com \
--cc=KAction@gnu.org \
--cc=guix-devel@gnu.org \
/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.