5 ms·
So I discovered recently that if you set up git-auto-commit mode with an org directory tree, then configure it to auto-push to gitlab on add/change, I get nicel
by singingfish 5y ago
So I discovered recently that if you set up git-auto-commit mode with an org directory tree, then configure it to auto-push to gitlab on add/change, I get nicely formatted documents for free.
Later on I can convert them via pandoc to docx or markdown so they can end up in sharepoint/confluence and I only minimally have to touch either of those horror shows.
I was writing some docs yesterday, and my colleague who's always bagging me about my use of nothing but emacs and terminals complimented how nice it looked rendered in gitlab.
- dv35z 5y agoCould you share specifics on how to set this up? I’m interested in having a “local” personal knowledge base (currently using Obsidian—>Hugo site —> GitHub —>AWS Amplify / Netlify) Your setup sounds extremely useful. I haven’t tried Emacs / org-mode / org-roam, but the more I read about it, the more curious I am getting. If you have advice, I’d love to hear it.
- singingfish 5y agoI had to look it up but this lives in `.dir_locals.el` in the root of the git repo. Including the comments of what to put in .emacs I think that's everything needed: ( ( nil . ((eval git-auto-commit-mode 1)) ) ) ;; and chuck this in your .emacs ; (setq-default gac-ask-for-summary-p t) ; (setq-default gac-automatically-push-p t)