I prefer staying at home and eating a homemade meal than going out and spending money for a meal I might not even enjoy that much. This attitude might have to do that I’m an introvert, but I also prefer knowing what’s in the food I’m eating (therefore, I’m not the biggest fan of ordering in either). Especially since I have my little sweetheart, I’m way more concerned about healthy nutrition than I was before.
Currently, I fall back to quick and boring suppers way too often due to a few reasons:
- There are days, were I just simply don’t feel like cooking.
- My little one tends to be very clingy later in the afternoon and as soon as I step into the kitchen, he wants me to pick him up (also because he wants to watch me cooking).
- Although cooking is generally cheaper than going out, it can get quite expensive if you choose organic ingredients. Therefore, it’s best to look weekly at the local flyers, buy groceries that are on a good sale and then plan recipes that use those ingredients. Also, stocking up on items while they are on sale is a good idea (as long as they have a due date far in the future of course).
I’ve struggled with the above-mentioned hurdles for quite a while now. It’s time I tackle them finally.
Overcome ‘I’m too tired/lazy’
Manage cooking with my little one
Keep the pantry full and organized
Keep it cheap
So far I have only one little function implemented which helps me copy an ingredients list in org-mode into my grocery.org file.
An example ingredient list looks like:
| 2 | small | shallots | minced | | 1 | | garlic clove | minced | | 2 | tsp | Dijon mustard | | | 1/4 | cup | balsamic vinegar | | | | | salt and pepper to taste | | | 1/2 | cup | olive oil | |
If I have the pointer at the start of the table and call my elisp function, then it automatically puts the first three columns of my table in the kill ring. Afterwards, I just need to yank it into my grocery file and create a macro so that moving ingredient lists into my grocery list goes even faster. Below is my short unspectacular code.
(defun custom/save-till-end-of-table() (interactive) (setq cont t) (setq startpoint (point)) (while cont (next-line) (if (not(char-equal ?| (char-after))) (progn (backward-char) (setq cont nil)))) (org-shifttab) (backward-char 2) (kill-ring-save startpoint (point)) (message (string (char-after))))
My goal is to improve this code still so that it automatically yanks the table into a user-specified file.