u/One-Tart-4109

▲ 19 r/orgmode+1 crossposts

Capture dotfiles using org-capture

Since I discovered org mode, I always was balancing between using symlinks and org babel tangle to manage my configuration. Now I'm in point that work related items are org babel managed and system level config is symlinked, because, often tools write back to their files. Another reason why I did not go full on babel was that I don't like workflow:

  1. found file that requires backup
  2. copy file
  3. paste in to org mode
  4. fill all details
  5. tangle.

But yesterday I was visited by GNU spirit and she gave mi this org-capture template that reduces adding new file to backup to C-c k (my capture prefix) b (backup) and then tangle that file to original place:

* [[%(project-root (project-current))]] [[%(abbreviate-file-name (org-capture-get :original-file))][%(file-relative-name (org-capture-get :original-file) (project-root (project-current)))]]

- repository :: [[%(project-root (project-current))]]
- file :: [[%(abbreviate-file-name (org-capture-get :original-file))][%(file-relative-name (org-capture-get :original-file) (project-root (project-current)))]]

#+header: :tangle %(abbreviate-file-name (org-capture-get :original-file))
#+begin_src %^{Language|shell|elixir|nix|python|elisp|fundamental|eshell|conf}
%(with-temp-buffer (insert-file-contents (org-capture-get :original-file)) (buffer-string))
#+end_src

I cannot comprehend how simple it is and how I never realized I could do this.

Two think I think would be nice in future:
- if only it can automatically group those captures by project, but thinking of creating project backup capture template and simply refile from capture buffer
- automatic detangle so I can get back changes written by tools to their files, but not all of them support comments and many of them don't patch but dump state to file, so probably unsolvable using build in tools, only by elisp scripting

I'm trying to avoid longer elisp scripting for now 😄

What do you think?

reddit.com
u/One-Tart-4109 — 5 days ago

Take on instant nutritionally complete food

Hello blueprinters,

I’d like to ask what the take of this community is on nutritionally complete foods like Huel or Mana.

I currently use them mainly as an emergency/backup food, because I feel they’re a much better option than traditional instant food or fast food when I don’t have time or access to a proper meal.

I’m now thinking about incorporating them more regularly, perhaps as one meal once or twice a week.

What do you think about this? Is there any reason to avoid using nutritionally complete food this way, even if the rest of the diet consists of regular whole foods?

reddit.com
u/One-Tart-4109 — 7 days ago
▲ 12 r/orgmode

Does anyone sync Org Mode with TickTick, Todoist, or Notion instead of mobile Org files?

Is anyone here synchronizing Org Mode with a service like TickTick, Notion, or Todoist instead of syncing Org files directly to a mobile device?

My experience with syncing Org files hasn't been great. I occasionally ran into merge conflicts because synchronization happens at the file level rather than at the Org node or heading level. Editing Org files on a touchscreen also felt awkward, but an even bigger issue was formatting. A small edit on my phone would often result in many unrelated formatting changes, and then Emacs would reformat the file again according to my local settings. That made merges noisy and reviewing changes unnecessarily difficult.

Because of that, I'm wondering whether it's actually a better approach to keep Emacs as the source of truth and synchronize tasks with an external service instead of editing Org files directly on mobile.

Is anyone using a workflow like this? I'm interested in hearing how you synchronize data, which services you use, and what trade-offs you've found.

reddit.com
u/One-Tart-4109 — 18 days ago

Low time and cost supper veggies

​

Hello everyone,

I'd like to incorporate the Super Veggie meal into my routine, but my time and budget are quite limited, so I've started simplifying it.

First, I switched to pre-cut frozen broccoli and cauliflower. Then I dropped the mushrooms. Finally, instead of chopping everything fresh each time, I blend lemon juice, cumin, garlic, ginger, and salt into a sauce.

I cook a batch of beluga lentils that lasts about five days, and I prepare the sauce and vegetables every three days. When it's time to eat, I simply combine the vegetables, lentils, and sauce, heat everything up, and then add hemp seeds. I pair it with a protein source such as chicken, tofu, or tuna.

My question is: have these shortcuts significantly reduced the nutritional value of the meal, or are they reasonable compromises?

Thanks!

reddit.com
u/One-Tart-4109 — 18 days ago