From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: [PATCH] doc: Fix 'geiser-guile-load-path' example. Date: Wed, 18 Nov 2015 20:26:31 +0300 Message-ID: <87h9kji5h4.fsf@gmail.com> References: <87k2pkl8a6.fsf@gmail.com> <87y4dztb1g.fsf@gnu.org> <87egfp1282.fsf@gmail.com> <877flg7g92.fsf@gnu.org> <874mgksfqi.fsf@gmail.com> <87a8qcs3sf.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59814) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zz6VD-0003Z5-4q for guix-devel@gnu.org; Wed, 18 Nov 2015 12:26:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zz6V8-0002el-1s for guix-devel@gnu.org; Wed, 18 Nov 2015 12:26:39 -0500 In-Reply-To: <87a8qcs3sf.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Tue, 17 Nov 2015 22:40:32 +0100") 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: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org Ludovic Court=C3=A8s (2015-11-18 00:40 +0300) wrote: > Alex Kost skribis: > >> OK. Actually I thought that you use 'with-eval-after-load' or >> 'eval-after-load' or 'use-package', and you just didn't mention it in >> the manual because it's a common Emacs thing. But it looks like you use >> a straightforward (add-to-list ...), which can work only if >> "geiser-guile.el" is already loaded. Out of curiosity, do you somehow >> load the whole geiser in your emacs config? If so, why? >> >> I mean not just (require 'geiser), as it does not load >> "geiser-guile.el", but maybe (require 'geiser-mode) or something like >> it. > > I have: > > (require 'geiser-install) > (require 'geiser) You don't need (require 'geiser) as (require 'geiser-install) loads it anyway (look at "M-x find-library geiser-install"). But after this, 'geiser-guile-load-path' shouldn't be available, as it is placed in "geiser-guile.el" which is not loaded by "geiser.el". So if (featurep 'geiser-guile) gives you `t' right after Emacs start, then there is something else (I would say =E2=80=9Csomething evil=E2=80=9D :-)) = in your config that loads the whole Geiser functionality. >> (I personally don't touch 'geiser-guile-load-path' at all, I just set >> GUILE_LOAD_PATH in my ".bash_profile" instead) > > I touch =E2=80=98geiser-guile-load-path=E2=80=99 because I want it to poi= nt to a bunch > of source trees. > > Conversely, I don=E2=80=99t want GUILE_LOAD_PATH to point to source trees= , so it > only points to installation directories. Ah, I see your point, thanks. --=20 Alex