<div dir="ltr">Yes: as an experiment we decided to treat files that are open differently than other files for the purposes of recompiling them.<div><br></div><div>Looks like that's probably a bad design decision. But it may just be a bug too, since I thought it was re-compiling more, not less, when you have the file open.</div>
<div><br></div><div>Robby</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jan 3, 2014 at 7:22 PM, Jens Axel Søgaard <span dir="ltr"><<a href="mailto:jensaxel@soegaard.net" target="_blank">jensaxel@soegaard.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Try this:<br>
  - open the menu "Language" in DrRacket<br>
  - choose the menu item "Choose language..."<br>
  - click the button "Show details"<br>
  - remove the tick in "Populate 'compiled' directories (for faster loading)<br>
<br>
/Jens Axel<br>
<br>
<br>
<br>
2014/1/4 Neil Toronto <<a href="mailto:neil.toronto@gmail.com">neil.toronto@gmail.com</a>>:<br>
<div class="HOEnZb"><div class="h5">> I do this:<br>
><br>
>  * In DrRacket, open "pkgs/plot-pkgs/plot-lib/plot/private/common/draw.rkt"<br>
><br>
>  * Make a small change, save<br>
><br>
>  * At the command line, "racket/bin/raco setup --no-docs -l plot"<br>
><br>
>  * Run a test file in another tab in DrRacket that has (require plot)<br>
><br>
><br>
> I wait a long time (I think it's recompiling) and get this error:<br>
><br>
> link: bad variable linkage;<br>
>  reference to a variable that has the wrong procedure or structure-type<br>
> shape<br>
>   reference phase level: 0<br>
>   variable module:<br>
> "/home/neil/plt/pkgs/plot-pkgs/plot-lib/plot/private/common/draw.rkt"<br>
>   variable phase: 0<br>
>   reference in module:<br>
> "/home/neil/plt/pkgs/plot-pkgs/plot-gui-lib/plot/private/gui/plot2d.rkt" in:<br>
> draw-bitmap<br>
><br>
><br>
> So I remove the "compiled" directory and try again. Same problem.<br>
><br>
> Here's the kicker: I always get link errors *until I close "draw.rkt" in<br>
> DrRacket*. After that, I can remove the "compiled" directory, rebuild, and<br>
> run the program without errors.<br>
><br>
> Does anybody know what's going on?<br>
><br>
> Neil ⊥<br>
> _________________________<br>
>  Racket Developers list:<br>
>  <a href="http://lists.racket-lang.org/dev" target="_blank">http://lists.racket-lang.org/dev</a><br>
<br>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
--<br>
Jens Axel Søgaard<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_________________________<br>
  Racket Developers list:<br>
  <a href="http://lists.racket-lang.org/dev" target="_blank">http://lists.racket-lang.org/dev</a><br>
</div></div></blockquote></div><br></div>