From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Arne Babenhauserheide Newsgroups: gmane.lisp.guile.user Subject: Re: Geiser vs. guile-mode? Date: Fri, 21 Feb 2020 09:41:55 +0100 Message-ID: <87zhdc9vsc.fsf@web.de> 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> <170650cb9cf.efeb26959270.2176808306828065230@zoho.com> <87wo8gaf3o.fsf@gnus.jao.io> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="19722"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.2.0; emacs 26.1 To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Fri Feb 21 09:44:08 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 1j53uo-0004xN-B3 for guile-user@m.gmane-mx.org; Fri, 21 Feb 2020 09:44:06 +0100 Original-Received: from localhost ([::1]:53818 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j53un-0001nN-3W for guile-user@m.gmane-mx.org; Fri, 21 Feb 2020 03:44:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56745) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j53sn-0000DF-N7 for guile-user@gnu.org; Fri, 21 Feb 2020 03:42:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j53sm-0002XY-4w for guile-user@gnu.org; Fri, 21 Feb 2020 03:42:01 -0500 Original-Received: from mout.web.de ([212.227.15.3]:40985) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j53sl-0002Sg-7B for guile-user@gnu.org; Fri, 21 Feb 2020 03:41:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1582274516; bh=MYt9vMcOgXLiapBDk/amUoO8dfWyavyCdUH6YZCWbUg=; h=X-UI-Sender-Class:References:From:To:Subject:In-reply-to:Date; b=JNXN8RnOwLUeHrN0giNfpXrn6g/znDqqETmxA0p8mrWiyihkttTbHh3mC8iuQpKFw ruBS0b49QBm6jn/iES1bSaxgf0g32K2ietcY7zQ023xUZGBlEKvV/Io2syG0I+cRa1 4PuRjsZ/cmckkBuMNrxisr62UjBC/osJnTRMlM0E= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Original-Received: from fluss ([84.149.93.38]) by smtp.web.de (mrweb003 [213.165.67.108]) with ESMTPSA (Nemesis) id 0LZvfZ-1jjNr444Nh-00lkGA for ; Fri, 21 Feb 2020 09:41:56 +0100 In-reply-to: <87wo8gaf3o.fsf@gnus.jao.io> X-Provags-ID: V03:K1:2DJZQa0QRf0vHfGPlSAeQoRSiaL2T4JkVPeVdeXDuaqNMcBIzrW 6ExfFATgdZP//RBIejaVRmKxLcW6oRhaonr9hvy8UfOYqAXEqB311J/QiD4XRtfGvtLQvaQ GlJyM1GNRDHm/suvqnEWQLSqcT4pR7ydv2dpE7lNfjMsSQPIjIPCxpE/LwIQu0Ar/wMiNNj lJSdEACwtwOzIbkkwC8gQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:7ntxQGqPrIM=:yavO2PcnVqSBAVNAF1Mozu bjo0DjFkc5FK882rG2aR6nz9cQVBsoEYJ0tYLoNT/BaGGCzJbDJUsoB6cu7B0dh3EjB9X2gqI BeYd+qZhM+uwNWUHWUVg2Hqb3avDVU5qNmPS6ZXnOZjvgUfl+XcsXTQYF2jw+7vK4Osa+oorb Peq1I68r01w6wbzVJaMbZaqllJX0Wn6JLhuWcHkj2sOt9YA22jqZIUpcD4QfExNPxgGix4gTe k4PVPPSizs/Fcv/xHOlbPJx/fZDSJZLNSgZ0vTkOdCJlrHMp3g4rdJOaZR6tOE74dEmxL+OJF HlTonRjFXVNmgaAB2+h8bPCGi5IUvtKOTKLzYLwPX59Elahbg+0VaWFFr6RyXCFr1THpl15vB AxSA2IA85ulvfaqFiQ4UApeIP7mo6JhvklnAAlJh92ICXAuuj9a8EDsxcp3AdXiECQ8vYCiqC HzW3b2yIQIjISFiDzzu15lcdiHQvsOAGwa9E0MHZHweChzs/O64EcqPj7mpJBOU+dDZzeSFu/ RqZ5HN6wx+y8r4yJOk7k4QKMnTMjsL9RKXFGTL1AFqxzQ9EvwRpyWxQdCIzgKDgMUbWyukHRf 0cKBLkZvuCtPGACkBPgacxaayakTw41b/7vFpbmQrOIw8OPCZNbdFLy5/jps8987bB2V+o48b C0P9nBXXjK0octOJ3BRp1ud/hqF3iN/+bE7Es7lwAbXtWwy8Ky8Dsv4iauJBf41uL/NClESNS bMo7AjDoiYmwCy8Yj4P1H2GK8Kvm3YYXIiHCedVQByptGnFQ90kq//amqQlBBnyIGUH/ZsnK X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.3 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:16224 Archived-At: Jose A. Ortega Ruiz writes: > we don't continuously evaluate > what you write in a buffer. writing something by mistake in use-modules > would then pollute the whole namespace, invisibly if one later removes > the use-modules subclause. maybe that flymake/flycheck function will do > that for you? (to be honest, it's not something i find natural, so i'd > add it to geiser only if someone else contributes it and it's an > opt-in). Would it be possible to recognize when something is removed from use-modules and to re-evaluate the whole file in a fresh REPL then? Basically what I want is the quality of configuration-free auto-completion I get in IntelliJ for Java. And I know that that=E2=80=99s a very high bar. Avoiding the need for extra-actions is also important for new users, because it reduces the amount of extra-actions needed to start working efficiently. Would it be possible to re-evaluate on save? (defun re-evaluate-buffer () =E2=80=A6) (add-hook 'after-save-hook 're-evaluate-buffer) Best wishes, Arne -- Unpolitisch sein hei=C3=9Ft politisch sein ohne es zu merken