From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: sirgazil Newsgroups: gmane.lisp.guile.user Subject: Re: Geiser vs. guile-mode? Date: Thu, 20 Feb 2020 19:01:37 -0500 Message-ID: <170650cb9cf.efeb26959270.2176808306828065230@zoho.com> References: <87eevamlds.fsf@ambrevar.xyz> <897B58B1-A727-4224-938E-5F7D826DA963@korwin-zmijowski.fr> <87a75yl2zx.fsf@ambrevar.xyz> <87d0aqfqwg.fsf@ambrevar.xyz> <2EBAB5D5-D677-4F95-B253-41DFA9016009@korwin-zmijowski.fr> <03362389-6170-a57b-9cd1-380be34b5697@gmail.com> <17020c6ae18.bf06ef5b71547.6717873688020963681@zoho.com> <1705ab86de0.124b9a35210423.8624681576554917312@zoho.com> <871rqoc1r6.fsf@gnus.jao.io> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="47791"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Zoho Mail Cc: "guile-user" To: "Jose A. Ortega Ruiz" Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Fri Feb 21 01:02:03 2020 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j4vla-000CJl-UD for guile-user@m.gmane-mx.org; Fri, 21 Feb 2020 01:02:02 +0100 Original-Received: from localhost ([::1]:50604 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j4vlZ-0003ex-Jp for guile-user@m.gmane-mx.org; Thu, 20 Feb 2020 19:02:01 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60275) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j4vlP-0003eI-6x for guile-user@gnu.org; Thu, 20 Feb 2020 19:01:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j4vlO-00083c-5h for guile-user@gnu.org; Thu, 20 Feb 2020 19:01:51 -0500 Original-Received: from sender4-pp-o91.zoho.com ([136.143.188.91]:25149) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j4vlL-0007uK-C2; Thu, 20 Feb 2020 19:01:47 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1582243303; cv=none; d=zohomail.com; s=zohoarc; b=YOir1kVCZwTQDH3pFYf27Yw+NdaJuPBXU9l3Dfgt5XJEue0uqRqyYP1CyKiQmef8gWaayxlSPjqdjw1EtoozG1dil6523skInUzSFkdP7VCBCfojV7moGUx9LsAeEJAjNZGIww57lvZJPo2Z6pXGyFDgc+mapBnKYjJSvS/sNuQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1582243303; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=YvC1qnIfvCEFg5NV25QXFFGH9s1dbp9qpeOmm7BwrqQ=; b=FP+ajmZLPDYQvscOY+TBo+hsWFc9XZFvUC6nRQFNwwhuEx6tCQusa/j1WuAk4eWpQvv5yn5RZKq9yk+dyTnvywur4d5aV6E8pN4EuGQu1ypMLXmF3zX7VN2jhPYJoHwjj0nWsaq9mp3nf//knw80VdMwZnsLWYiunkcqvyCQG8E= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=zoho.com; spf=pass smtp.mailfrom=sirgazil@zoho.com; dmarc=pass header.from= header.from= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=date:from:to:cc:message-id:in-reply-to:references:subject:mime-version:content-type:user-agent; b=ZdhAYX3KtclamPoV8jcdkTrAikGH+pUj8uL+rls5h7V4WXgDxC81aB/LMCgIT5fYP56FPtbssS+7 jWYc5f+AnTo3U5zcsjMCwu4VC0ucRsD2jy5YpC3b2cu6Qv73KjnL DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1582243303; s=zm2020; d=zoho.com; i=sirgazil@zoho.com; h=Date:From:To:Cc:Message-ID:In-Reply-To:References:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=YvC1qnIfvCEFg5NV25QXFFGH9s1dbp9qpeOmm7BwrqQ=; b=H4Dx5LtW6IsUeMH3OWfH1aRTbcRGp1viHiqgackMJJln0LgZWE7/DWvr79n91yFJ C5C7iD6kuWppQ1UFbUDx+CBWH+ZzFMprtoh0SnxKyihSSpWFu7MoZuH/wsL5aiGpFgk 51DCrE+/60Y+zq9/Krzw8Soi56mgbtkJbstAjqPQ= Original-Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1582243297746974.0082197781179; Thu, 20 Feb 2020 16:01:37 -0800 (PST) Original-Received: from [179.15.13.185] by mail.zoho.com with HTTP;Thu, 20 Feb 2020 16:01:37 -0800 (PST) In-Reply-To: <871rqoc1r6.fsf@gnus.jao.io> Importance: Medium X-Mailer: Zoho Mail X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 136.143.188.91 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:16222 Archived-At: Hi Jose, ---- On Thu, 20 Feb 2020 17:50:05 -0500 Jose A. Ortega Ruiz wrote ---- > On Tue, Feb 18 2020, sirgazil wrote: > > > 2. Immediate availability of new symbols after importing a module. > > I'm not sure what you mean here by "importing a module". Loading or > compiling a given module makes transitively availabe all the symbols in > modules it imports, provided you're in the context of a module where > they're visible. If you mean automatically loading a module when you > open its file in emacs, that's just > > (add-hook 'geiser-mode-hook #'geiser-compile-current-buffer) > > But possibly you mean something else? By importing a module I mean adding it to (use-modules ...) while working on a Guile Scheme file. But now that you mention opening a file, I think the complete behavior I would expect would be that doing the following, 1. Visit path/to/file.scm 2. M-x run-guile would make symbols of all existing modules in (use-modules ...) to become available for autocomplete, autodoc, etc. And 3. Add more modules to (use-modules ...) during my work would also make the symbols of the new modules available for autocomplete, etc. Currently, I have to evaluate the buffer manually (C-c C-b) for these things to happen.