Here's the chronology:
An inexperienced programmer posted a question to SO. He had a weird behavior that he didn't understand.
I saw the problem in his code and posted an answer highlighting where his problem was and why it was a problem. I suggested how he might rectify the situation.
He posted a comment a while later asking me for specific details of how to do that.
His follow-up question (in the comment) was a fairly basic question that even a beginner should know or could figure out by looking in the documentation or a simple google search. I had moved on to other questions that were more interesting so I didn't go back and respond.
Since then, he has deleted and reposted that comment 6 times. I get a little inbox notice every time. This is annoying. I get that he wants me to write his code for him, but I don't want to. How should I handle this situation (perhaps not this particular situation, but in general, if this should arise again)?
For completeness, this has taken place within a 24 hour period and no one else has answered or commented on his post.
However, that has to do with an ongoing exchange -- my issue is that the user keeps deleting and re-commenting and that little red badge keeps alerting me to this fact.