From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jose A. Ortega Ruiz" Newsgroups: gmane.lisp.guile.devel Subject: Re: Can `make tags' generate tags for Scheme source, as well as C? Date: Tue, 12 Oct 2010 00:24:48 +0200 Message-ID: <877hhoe5an.fsf@newton.homeunix.net> References: <87d3skxjd6.fsf@ossau.uklinux.net> <87ocbzf4xn.fsf@gnu.org> <87pqvphb4d.fsf@ossau.uklinux.net> <87r5g5h99i.fsf@newton.homeunix.net> <87lj64pfto.fsf@ossau.uklinux.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1286836489 21001 80.91.229.12 (11 Oct 2010 22:34:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 11 Oct 2010 22:34:49 +0000 (UTC) Cc: guile-devel@gnu.org, Neil Jerram To: Andy Wingo Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Oct 12 00:34:46 2010 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P5QxC-00056t-MF for guile-devel@m.gmane.org; Tue, 12 Oct 2010 00:34:46 +0200 Original-Received: from localhost ([127.0.0.1]:34914 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P5Qnk-0007ka-MU for guile-devel@m.gmane.org; Mon, 11 Oct 2010 18:25:00 -0400 Original-Received: from [140.186.70.92] (port=54220 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P5Qng-0007i8-RH for guile-devel@gnu.org; Mon, 11 Oct 2010 18:24:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P5Qnf-0000iT-TJ for guile-devel@gnu.org; Mon, 11 Oct 2010 18:24:56 -0400 Original-Received: from mail-ww0-f49.google.com ([74.125.82.49]:44057) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P5Qnf-0000iL-OI for guile-devel@gnu.org; Mon, 11 Oct 2010 18:24:55 -0400 Original-Received: by wwd20 with SMTP id 20so3563578wwd.30 for ; Mon, 11 Oct 2010 15:24:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:received:from:to:cc :subject:in-reply-to:references:user-agent:x-attribution:x-url:date :message-id:mime-version:content-type; bh=O5zUpGOQGCcbXHqZab7M8pJefCDpSvYrGGQtDCRF9vE=; b=GbEimSZhc/tDFW72TadoPwe4Ru6lklQ1i1P8aMlSIjHbt88LTDk6fqb5ROuad+J9Z+ nR6piYTWCcXnXApN+Zs08OmhnKyQurwWy/kpBWWKVtFpYYki8+2rmZPMM6VspO3ZNvtk Wayc0PbT0dyuIDP/MVg+dUTU+SafjHSeazI7Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:in-reply-to:references:user-agent :x-attribution:x-url:date:message-id:mime-version:content-type; b=iR8xXZWYDR3e9FdjDCI+lLSLrq2kmpUWemXcxxIucUaN0aGGUvXgZCbEfkiheTEIQx i02gYiWeeolLMyk8jhqXzo7ZKACIKYVUz66Ugf5ZyMaBUe1GBuB97RuGJrWH+sOZJ2Qu rL205fXGYWxDOqzIZVG1ipswOfdyYt99M5l6A= Original-Received: by 10.216.11.205 with SMTP id 55mr5889793wex.51.1286835892257; Mon, 11 Oct 2010 15:24:52 -0700 (PDT) Original-Received: from newton.homeunix.net ([79.155.158.31]) by mx.google.com with ESMTPS id x12sm759030weq.42.2010.10.11.15.24.50 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 11 Oct 2010 15:24:51 -0700 (PDT) Original-Received: from localhost ([127.0.0.1] helo=newton.homeunix.net ident=jao) by newton.homeunix.net with esmtp (Exim 4.72) (envelope-from ) id 1P5QnY-0005rF-Ki; Tue, 12 Oct 2010 00:24:48 +0200 In-Reply-To: (Andy Wingo's message of "Tue, 12 Oct 2010 00:11:09 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Attribution: jao X-URL: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:11032 Archived-At: On Tue, Oct 12 2010, Andy Wingo wrote: [...] >> I'm sorry, I think I was being a bit stupid - expecting that it would >> work even before starting a REPL. > > Is this a bad expectation? It is the first impression. Expecting anything to work in Geiser before starting (or connecting to) a REPL is a bad expectation, yes :) I guess you mean symbol locations not being available until you compile the module? > If your source code is loaded it is autocompiled and you should find the > edit locations, but if they is not loaded, are the module headers enough > to autoload the needed pieces? If the module is not loaded (or compiled), Geiser provides information for those symbols visible in the REPL's current namespace. I don't think it's a good a idea to load modules behind the user's back. It could in principle provide info for those symbols in modules in the import list that are already loaded, but i'm not sure the amount of work that entails is worth it :)