From 588b11871548e3eb8712cca5dc710462e34d8e03 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Sat, 16 May 2009 00:31:20 +0200 Subject: PLT: A bit more sensible prompt format. --- elisp/geiser-plt.el | 2 +- scheme/plt/geiser/eval.ss | 2 +- scheme/plt/geiser/modules.ss | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/elisp/geiser-plt.el b/elisp/geiser-plt.el index 7c66682..337c43d 100644 --- a/elisp/geiser-plt.el +++ b/elisp/geiser-plt.el @@ -67,7 +67,7 @@ This function uses `geiser-plt-init-file' if it exists." ,@(and init-file (file-readable-p init-file) (list "-f" init-file)) "-f" ,(expand-file-name "plt/geiser.ss" geiser-scheme-dir)))) -(defconst geiser-plt-prompt-regexp "^mzscheme@([^)]*?)> ") +(defconst geiser-plt-prompt-regexp "^mzscheme@[^ ]*?> ") (defun switch-to-plt (&optional ask) (interactive "P") diff --git a/scheme/plt/geiser/eval.ss b/scheme/plt/geiser/eval.ss index 56a321e..8022a4c 100644 --- a/scheme/plt/geiser/eval.ss +++ b/scheme/plt/geiser/eval.ss @@ -88,7 +88,7 @@ (define (make-repl-reader builtin-reader) (lambda (ns) (last-namespace ns) - (printf "mzscheme@(~a)" (namespace->module-name ns)) + (printf "mzscheme@~a" (namespace->module-name ns)) (builtin-reader))) ;;; eval.ss ends here diff --git a/scheme/plt/geiser/modules.ss b/scheme/plt/geiser/modules.ss index 142cf1e..5819bc4 100644 --- a/scheme/plt/geiser/modules.ss +++ b/scheme/plt/geiser/modules.ss @@ -87,7 +87,7 @@ ((eq? path '#%kernel) "(kernel)") ((string? path) path) ((symbol? path) (symbol->string path)) - (else ""))) + (else ""))) (define (skippable-dir? path) -- cgit v1.2.3