From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Bogatov Subject: Emacs load path (was: Re: Multiple versions) Date: Sun, 27 Dec 2015 19:47:30 +0300 Message-ID: <20151227164730.GB15526@sagulo> References: <87fuyo2d87.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IiVenqGWf+H9Y6IX" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49611) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDETz-0000Bc-E1 for guix-devel@gnu.org; Sun, 27 Dec 2015 11:47:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aDETy-0007d8-6V for guix-devel@gnu.org; Sun, 27 Dec 2015 11:47:47 -0500 Content-Disposition: inline In-Reply-To: <87fuyo2d87.fsf@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Alex Kost Cc: guix-devel@gnu.org --IiVenqGWf+H9Y6IX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Alex Kost [2015-12-27 17:11:20+0300] > Dmitry Bogatov (2015-12-27 02:02 +0300) wrote: >=20 > > * 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? >=20 > Yes, Federico Beffa (the author of emacs-build-system) explained it here: > >=20 > 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)) --=20 Accept: text/plain, text/x-diff Accept-Language: eo,en,ru X-Keep-In-CC: yes X-Web-Site: sinsekvu.github.io --IiVenqGWf+H9Y6IX Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJWgBYiAAoJEHiL4BJUt/ANW0sP/3iR/tL/OxjWEGVlLnRbGfVZ 4GgR2WMl3r2/9tACRwDn6voNovMmfZH+w21DdcA8Nb++VkweyNk1lsb4LGHD4Gke WMdaZlsp2rJehoGs0fhfoV0Ld9lCG6MTmIIY6n8/JbCxoBNyGrd6TjEu7ugcaUDn ToRw89vJ+HYRzD/jigklLe1InFT3YimgbUfqDKOIiMaZ12qLuZxVc8VDb4yp9uKZ IenxDh8smPijf8OlOjAJ38S/hO6NltFHJFAZGKJN/+JDG86T0xFqNG5KHobf5M74 B+yTsvgvXbZNbnkyrHNCp94+vweU0ECY5WS8ZLsuyTnbwIZZ4pxLqsNyOuWUUbE1 FYiJ7L//YGj8b/E/7kPLckm0ziH44wIdIHzqyFZfPTMgVHSx1opzuFOqFuYwaOuC 3bfsrl0Ia2Od5YyiuOglif3bGtsplSa5yFiyfMYCr5d8Op+3m4nEXCkjuiCZuRFh OFqUnjB6aVZUrdo8hnzmIlJiF6TPOUBRM2LwHXFFbS72BWjp8ULKQrpUYV5t59ov bnqmriDUuT1ZCe1BVV4wjrK0wtV1+WMm2Pz02Ho45bP6WR7RF/APa2ADFEoJ5CbT nniuoHLvMDI8IDmME31unF6qHwaMJo/EKH5rbqX7eW4A/85d4dc+S2ZKhR9GhMZV V12FU+ateO54ADCkMGdp =m8oS -----END PGP SIGNATURE----- --IiVenqGWf+H9Y6IX--