[racket] "changed on disk" (was: Re: Buttons on the toolbar don't appear)

From: John Clements (clements at brinckerhoff.org)
Date: Tue Oct 5 13:35:36 EDT 2010

On Oct 2, 2010, at 7:20 AM, Matthias Felleisen wrote:

> On Oct 2, 2010, at 8:23 AM, Robby Findler wrote:
>> On Fri, Oct 1, 2010 at 10:29 PM, Nadeem Abdul Hamid <nadeem at acm.org> wrote:
>>> Do other people experience these things?...
>>> Why is it that sometimes when I open a *.rkt file with  #lang racket
>>> at the top, the "check syntax" "debug" "macro stepper" buttons don't
>>> appear unless I go that top #lang line and edit it -- delete the "t"
>>> of "racket" and retype it, for instance?
>> This bug I've heard about, but I'm not able to make it happen myself
>> (if you know how then I guess it would probably be easy to fix).
>>> Another strange thing that happens sometimes (I can't figure out why
>>> or what makes it happen) is that when I save a file, a dialog box pops
>>> up saying something about overwriting a newer file with the same name.
>>> I'm not sure, but this might only happen in #lang slideshow.
>> This one's new to me!
> I can confirm both bugs. They happen on occasion, but not a repeatable 
> basis. (So I don't report.).

I've seen both of these on OS X, and the second one happens to me *all the time*.  In my case, I suspect it may have something to do with my compulsive save/run cmd-s cmd-t keystroke, though I just tried and couldn't reproduce it by hitting them really fast or waiting for an auto-save.

Specifically, I usually hit cmd-t and see the message similar to "file has changed on disk. ignore or revert?" The next time it happens to me I'll check the disk to see whether the date on the file is actually newer than I expect.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4669 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20101005/8ff15da6/attachment.p7s>

Posted on the users mailing list.