unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Ray Soto <rsoto@secure.mailbox.org>
To: guile-user@gnu.org
Subject: Customising Guile's prompt
Date: Wed, 11 Dec 2024 15:33:05 +0000	[thread overview]
Message-ID: <Z1mwsXDrGD-8RYrz@dragonfly.nameserver.nu> (raw)

Hi! I've read the HTML manual and I have created a 'nice'
prompt for my machines as follows:

(use-modules ... (system repl common))
...
(repl-default-option-set! 'prompt
  (string-append
    (getlogin) "@" (gethostname) " > "))

What bothers me is that I have been unable to replicate
the default prompt's feature of printing the current
debug (level/frame? don't even know how to call it!)

I've searched in my /usr/local/share/guile (I am on BSD)
to no avail. Could you point me in the right direction here?
BR, Ray.-



             reply	other threads:[~2024-12-11 15:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-11 15:33 Ray Soto [this message]
2024-12-12  0:35 ` Customising Guile's prompt Matt Wette

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=Z1mwsXDrGD-8RYrz@dragonfly.nameserver.nu \
    --to=rsoto@secure.mailbox.org \
    --cc=abuhussain@mailbox.org \
    --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).