From: Kalle Olavi Niemitalo <email@example.com>
Subject: Re: scheme-find-definition
Date: Tue, 09 May 2000 22:16:00 -0000 [thread overview]
Message-ID: <87d7mvmwp0.fsf@PC486.Niemitalo.local> (raw)
Keisuke Nishida <firstname.lastname@example.org> writes:
> Great! I'll be working on some more low level stuff for a while,
> so feel free to commit it.
Actually, I'm not satisfied with this implementation and won't
commit it. It requires the reader to save source positions,
which might be expensive. It doesn't work well with macros which
define procedures. It can't find non-procedure variables. It
goes out of sync if the source file is changed. And it can't
find anything evaluated with M-C-x.
I think it would be better to make `define' save the source
location in the symbol. Or if all variables are defined in
modules, scheme-find-definition could just 1. find from which
module the variable was imported, 2. locate the module's source
in %load-path, 3. load it in a buffer and 4. find the variable's
definition with a textual search.
next prev parent reply other threads:[~2000-05-09 22:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-05-09 3:23 scheme-find-definition Kalle Olavi Niemitalo
2000-05-09 4:03 ` scheme-find-definition Keisuke Nishida
2000-05-09 22:16 ` Kalle Olavi Niemitalo [this message]
2000-05-09 23:46 ` scheme-find-definition Keisuke Nishida
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).