Also, if you write stuff down, you will be less prone to going off the rails and eating random snacks because you'll be more accountable before yourself. (fitnessandpower.com)
So, the solution will be to unlearn emotional eating and shift toward more meal planning, which can include these foods but no longer as random snacks. (nutritionfacts.org)