public inbox for guile-emacs@sourceware.org
 help / color / mirror / Atom feed
From: Keisuke Nishida <kxn30@po.cwru.edu>
To: guile-emacs@sourceware.cygnus.com
Subject: Re: scheme-find-definition
Date: Tue, 09 May 2000 23:46:00 -0000	[thread overview]
Message-ID: <m3hfc6x5q3.fsf@kei.cwru.edu> (raw)
In-Reply-To: <87d7mvmwp0.fsf@PC486.Niemitalo.local>

Kalle Olavi Niemitalo <tosi@ees2.oulu.fi> writes:

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

I think combining the source property and the textual search you
write may be enough.  Only when no source property exists or it is
not correct, we can search the module.  If a module stores its file
location as a property, we can use it.

      reply	other threads:[~2000-05-09 23:46 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   ` scheme-find-definition Kalle Olavi Niemitalo
2000-05-09 23:46     ` Keisuke Nishida [this message]

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=m3hfc6x5q3.fsf@kei.cwru.edu \
    --to=kxn30@po.cwru.edu \
    --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).