#| -*-Scheme-*-
-$Id: hlpcom.scm,v 1.126 2003/02/14 18:28:12 cph Exp $
+$Id: hlpcom.scm,v 1.127 2003/07/31 02:33:01 cph Exp $
Copyright 1986,1989,1990,1991,1993,1998 Massachusetts Institute of Technology
Copyright 2000,2002,2003 Massachusetts Institute of Technology
(define (mode-apropos regexp)
(for-each (lambda (mode)
- (write (mode-name mode))
+ (write-string (symbol-name (mode-name mode)))
(newline)
(print-short-description "Mode" (mode-description mode)))
(string-table-apropos editor-modes regexp)))
#| -*-Scheme-*-
-$Id: imail-imap.scm,v 1.198 2003/02/14 18:28:14 cph Exp $
+$Id: imail-imap.scm,v 1.199 2003/07/31 02:33:46 cph Exp $
Copyright 1999,2000,2001,2003 Massachusetts Institute of Technology
(flush-output imap-trace-port)))
(imap-transcript-write-string tag port)
(imap-transcript-write-char #\space port)
- (imap-transcript-write command port)
+ (imap-transcript-write-string (symbol-name command) port)
(for-each (lambda (argument)
(if argument
(begin
(define (imap:send-command-argument connection tag argument)
(let ((port (imap-connection-port connection)))
(let loop ((argument argument))
- (cond ((or (symbol? argument)
- (exact-nonnegative-integer? argument))
+ (cond ((exact-nonnegative-integer? argument)
(imap-transcript-write argument port))
+ ((symbol? argument)
+ (imap-transcript-write-string (symbol-name argument) port))
((and (pair? argument)
(eq? (car argument) 'QUOTE)
(pair? (cdr argument))
#| -*-Scheme-*-
-$Id: dbgutl.scm,v 14.23 2003/02/14 18:28:32 cph Exp $
+$Id: dbgutl.scm,v 14.24 2003/07/31 02:32:02 cph Exp $
-Copyright (c) 1988-2002 Massachusetts Institute of Technology
+Copyright 1988,1989,1990,1991,1992,2001 Massachusetts Institute of Technology
+Copyright 2002,2003 Massachusetts Institute of Technology
This file is part of MIT/GNU Scheme.
(debugger-failure port "No procedure for this environment."))))
(define (write-dbg-name name port)
- (if (string? name) (write-string name port) (write name port)))
+ (cond ((string? name)
+ (write-string name port))
+ ((interned-symbol? name)
+ (write-string (symbol-name name) port))
+ (else
+ (write name port))))
(define (write-dbg-upcase-name name port)
(cond ((string? name)