<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
John Clements wrote at 08/27/2010 05:38 PM:
<blockquote
cite="mid:6AD73CFE-88C7-4FC2-8EE9-AE3A2CC1E92D@brinckerhoff.org"
type="cite">
<pre wrap="">On Aug 26, 2010, at 11:09 PM, Ryan Culpepper wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Another, less invasive, way of making the stepper-definition connection might be on every step to scroll the definitions window and highlight the term from which the redex is derived. For function application the function definition could be highlighted too in a different color. The highlighting would require some creativity for forms like cond (maybe de-highlight clauses as they're eliminated?), but it would be a more incremental approach than forcing the stepper UI into the definitions window.
</pre>
</blockquote>
<pre wrap=""><!---->
This might be awesome, or it might be confusing; I can imagine students seeing the definitions window jumping around and at a minimum being distracted, or even think that the definitions were changing. I guess I'd want to see it, first.</pre>
</blockquote>
<br>
If anyone wants to try out a simple stepper for Lisp-ish code that
scrolls your window to highlight the current expression in your actual
source files, your Emacs has EDebug:<br>
<br>
<a class="moz-txt-link-freetext" href="http://www.gnu.org/software/emacs/emacs-lisp-intro/html_node/edebug.html">http://www.gnu.org/software/emacs/emacs-lisp-intro/html_node/edebug.html</a><br>
<br>
It actually only highlights if you have some kind of matching-paren
highlighting enabled; otherwise it just puts the cursor on the first
character of the expression. My favorite for matching paren
highlighting in Emacs is to have this in my "~/.emacs", and to
elsewhere configure my cursor to be a full-size solid unblinking red
background:<br>
<br>
(setq show-paren-style 'parenthesis)<br>
(require 'paren)<br>
(show-paren-mode t)<br>
<br>
In Emacs, experienced users are already accustomed to the current
window switching which file/buffer it's showing, so EDebug just does
that when moving between files. I don't know whether that's
appropriate for DrRacket.<br>
<br>
<div class="moz-signature">-- <br>
<a class="moz-txt-link-freetext" href="http://www.neilvandyke.org/">http://www.neilvandyke.org/</a>
</div>
</body>
</html>