Index: slime/ChangeLog diff -u slime/ChangeLog:1.1165 slime/ChangeLog:1.1171 --- slime/ChangeLog:1.1165 Sat Aug 25 16:05:00 2007 +++ slime/ChangeLog Sun Aug 26 19:36:43 2007 @@ -1,3 +1,83 @@ +2007-08-26 Tobias C. Rittweiler tcr@freebits.de + + Reduces needless interning of symbols that was introduced by my + recent work on autodoc to a minimum. Also fixes this issue for + `slime-complete-form' which always interned symbols even before my + changes. + + * slime.el (slime-sexp-at-point): If N is given, but there aren't + N sexps available at point, make it return a list of just as many + as there are. + (slime-make-form-spec-from-string): New. Creates a ``raw form + spec'' from a string that's suited for determining newly interned + symbols later in Swank. + (slime-parse-extended-operator/declare): Uses it. + + * swank.lisp (parse-symbol): Returns internal knowledge, to + provide a means for callers to perform a sanity check. + (call-with-ignored-reader-errors): New. Abstracted out from + `read-incomplete-form-from-string.' + + * swank.lisp (read-form-spec): New. Only READs elements of a form + spec if necessary. And if it does have to READ, it keeps track + of newly interned symbols which are returned as secondary + return value. + (parse-form-spec): Use it. Propagate newly interned symbols. + (parse-first-valid-form-spec): Likewise. + (arglist-for-echo-area, complete-form, completions-for-keyword): + Adapted to unintern the newly interned symbols. + + +2007-08-26 Tobias C. Rittweiler tcr@freebits.de + + * slime.el (current-slime-narrowing-configuration): + Renamed to `slime-current-narrowing-configuration'. + (set-slime-narrowing-configuration): + Renamed to `slime-set-narrowing-configuration'. + (current-slime-emacs-snapshot): + Renamed to `slime-current-emacs-snapshot'. + (current-slime-emacs-snapshot-fingerprint): + Renamed to `slime-current-emacs-snapshot-fingerprint'. + (set-slime-emacs-snapshot): + Renamed to `slime-set-emacs-snapshot'. + +2007-08-26 Tobias C. Rittweiler tcr@freebits.de + + * slime.el (save-restriction-if-possible): Fixed another typo, + duh! Thanks again to Matthias Koeppe. + +2007-08-26 Tobias C. Rittweiler tcr@freebits.de + + * slime.el (slime-cl-symbol-name): Handle vertical bars (|) + (%slime-nesting-until-point): Renamed to `slime-nesting-until-point'. + +2007-08-25 Matthias Koeppe mkoeppe@mail.math.uni-magdeburg.de + + Fix a bug where REPL results would sometimes be indented by a + random amount. + + * slime.el (slime-insert-presentation): Make the + rectangle-ification of multi-line presentations, introduced + 2006-12-19, optional. + (slime-write-string): Use it here only for regular output, but not + for REPL results. + (sldb-insert-locals): Use it here. + (slime-inspector-insert-ispec): Use it here. + +2007-08-25 Matthias Koeppe mkoeppe@mail.math.uni-magdeburg.de + + Fix handling of user-input type-ahead in the REPL. + Reported by Madhu enometh@meer.net on 2007-04-24. + + * slime.el (slime-write-string): Make sure text properties are + rear-nonsticky, so typed-ahead user input does not pick up the + text properties. Fix up some markers. + (slime-reset-repl-markers): Make the marker slime-output-end of + insertion type nil (no automatic advances on insertions). + (slime-with-output-end-mark): Update the location of + slime-output-end here manually. + (slime-repl-update-banner): Use insert-before-markers. + 2007-08-25 Matthias Koeppe mkoeppe@mail.math.uni-magdeburg.de
New command slime-redirect-trace-output creates a separate Emacs @@ -5,14 +85,16 @@ * slime.el (slime-last-output-target-id): New variable. (slime-output-target-to-marker): New variable. + (slime-output-target-marker): New function. (slime-write-string): Handle general "target" arguments using - slime-output-target-to-marker. + slime-output-target-marker. (slime-redirect-trace-output): New command. (slime-easy-menu): Add a menu item for it.
* slime.el (slime-mark-presentation-start) (slime-mark-presentation-end): Make "target" argument optional. - + Use slime-output-target-to-marker. + * swank.lisp (make-output-stream-for-target): New function, factored out from open-streams. (open-streams): Use it here.