From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] doc: Fix 'geiser-guile-load-path' example. Date: Tue, 17 Nov 2015 22:40:32 +0100 Message-ID: <87a8qcs3sf.fsf@gnu.org> References: <87k2pkl8a6.fsf@gmail.com> <87y4dztb1g.fsf@gnu.org> <87egfp1282.fsf@gmail.com> <877flg7g92.fsf@gnu.org> <874mgksfqi.fsf@gmail.com> 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]:47862) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZynzS-0000PK-UC for guix-devel@gnu.org; Tue, 17 Nov 2015 16:40:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZynzO-0005ii-Sh for guix-devel@gnu.org; Tue, 17 Nov 2015 16:40:38 -0500 In-Reply-To: <874mgksfqi.fsf@gmail.com> (Alex Kost's message of "Tue, 17 Nov 2015 20:22:29 +0300") 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 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) > (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 point= 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. Ludo=E2=80=99.