unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: dalanicolai <dalanicolai@gmail.com>
To: guile-user@gnu.org
Subject: Unable to find/access obarray with global-bindings / jump to source
Date: Tue, 11 May 2021 11:39:07 +0200	[thread overview]
Message-ID: <CACJP=3mdJapoLkUpH6uRtHQQopu7bgvkZAv+av0z+bGLxM3TYg@mail.gmail.com> (raw)

I am new to guile but/and I am an (Spac)Emacs user. I have two questions
for which I could not find an answer easily:

First, Emacs provides nice completion facilities like Helm/Ivy to explore
obarrays.
In Emacs, the global bindings are simply stored in the variable `obarray`.
I would like to access the equivalent ob-array in guile.
I have found all kinds of docs about environments and modules, and also an
old page <https://gnu.huihoo.org/guile/1.6/Obarray-Symbols.html> that
suggests that this once was available via the (now deprecated) procedure
`builtin-bindings`, but I could not figure out the current way to access it.

Second, I would like to jump easily to guile's source code. I am using
`geiser` in Emacs but that does not seem to provide this functionality.
When I am within the guile-source directory Emacs let's me jump to source
via the xref facility
<https://www.gnu.org/software/emacs/manual/html_node/emacs/Looking-Up-Identifiers.html>.
But is there also a way to jump to definitions in the guile source from
outside the guile-source directory?

Thanks for your help


                 reply	other threads:[~2021-05-11  9:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

  List information: https://www.gnu.org/software/guile/

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

  git send-email \
    --in-reply-to='CACJP=3mdJapoLkUpH6uRtHQQopu7bgvkZAv+av0z+bGLxM3TYg@mail.gmail.com' \
    --to=dalanicolai@gmail.com \
    --cc=guile-user@gnu.org \
    /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).