▲ | iLemming 2 days ago | |
I think even better to encrypt the password in ~/.authinfo.gpg, e.g.,
And then in the source block header, you can inject it into a variable
That's a built-in elisp function. Yes, you can call arbitrary functions to assign vars for org-mode source blocks. You can even assign shell command output, I often do things like:
What's crazy about this shit is that you can even pipe the content of the file back into itself:
That's an absurd bananas degree of ingenious engineering that makes you question the sanity of programmers who deliberately abandon Emacs, even after experiencing such power. |