Ron was so caught up in his own musings that he didn't even notice Snape approaching until he felt the back of Harry's hand smack against his side under the table. Ron jumped forward to do... something to make it look like he was helping in some kind of capacity.