You recognized that it wasn't what you ate or how much that was the issue.
It was the fact that when faced with some feelings you didn't know what to do with, you did what most of us have done our whole life which is APPLY FOOD UNTIL PAIN SUBSIDES.
With the surgery, it's pretty easy to say, "oh well, it was just a few bites and even though I did it, I'll still lose weight."
But I think if we don't learn these lessons as they come along of how to DO SOMETHING DIFFERENT, we're probably still going to always be struggling with food and the compulsion to overeat. I want less off that struggle and compulsion. I want more mastery of myself and my life.
Everything you've learned so far helped you do this better this than you used to. You know you did. So how do you take it to the next level and do better still the next time?
My suggestion is make a plan. "Next time I want to eat because of stress, I will take care of myself by doing the following things first." Write down 3 or 5 things or whatever and put it in your billfold where your paper money is to remind you it's there. Look at it frequently and visualize yourself carrying it out. See yourself having a sh*tty day at work. See yourself in the car on the way home from work with your brain steadily working on you going, "McDonalds! YAY! No? Ok, how about Wendy's - you can get a SALAD!(

yeah, right, like I haven't heard that one before.

) Hey, here's KFC! That sounds good. Turn here! Turn! Turn!.."
Get your plan ready. You'll handle it even better next time.
Love,
Bliss149
Owner of sneaky brain that oh-so-helpfully suggests Wendy's salad but who always suddenly decides on NOT salad once the drive-thru lady comes on speaker