Emotion l eating is a serious issue. When I get that urge to eat for no reason other than being upset I ask myself " Are you hungry enough to eat a full meal?" Most off the time the answer is no. I live alone so I don't have to worry about other peoples food habits/desires. I just don't keep my food triggers in the house: chocolate, candy, ice cream (though not my favorite), cracker (my favorite), low fat chips, low fat rice cakes, crunchies off any kind, bread (Oh how I love buttered toast!). I go to restaurants with friends. I either look for a healthier option or ask to substitute a low fat veggie instead of mashed potato or french fries. I also eat VERY CONSERVATIVELY the day of the restaurant visit and VERY CONSERVATIVELY the day AFTER to balance out my calorie budget.
Treat those restaurant visits as a treat and not something you do everyday or even once a week. I try to think of my food consumption as a calorie budget. If you have a lot of calories one meal modify other meals to ensure you aren't consuming too many calories.