public inbox for guile-emacs@sourceware.org
 help / color / mirror / Atom feed
From: Kalle Olavi Niemitalo <tosi@stekt.oulu.fi>
To: guile-emacs@sourceware.cygnus.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)
In-Reply-To: <m3puqwm1db.fsf@kei.cwru.edu>

Keisuke Nishida <kxn30@po.cwru.edu> 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.

  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

Reply instructions:

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d7mvmwp0.fsf@PC486.Niemitalo.local \
    --to=tosi@stekt.oulu.fi \
    --cc=guile-emacs@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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).