Okay, if you check this <https://emacs.stackexchange.com/questions/14979/access-to-the-elisp-commands-behind-eshell-commands/14981#14981> you'll see the answer I was after. With eshell you can "stay within" emacs to do system/command line stuff. Now, with the elisp code behind eshell I can stay within org-mode within emacs for system stuff. Sure, I could put sh in blocks, but stepping up into scripting seems like a good practice to develop.
On Wed, Aug 19, 2015 at 2:44 PM, Lawrence Bottorff <borg...@gmail.com> wrote: > Is there any way to do literate Babel-style things with eshell? Only shell > (sh) seems to be listed among the languages. As I understand, eshell is > just a wrapper around actual elisp expressions. For example, > > find-file foobar.txt > > is actually > > (find-file "foobar.txt") > > I'd like to do shell-like stuff and capture everything literate-style in > code and result blocks. If no Babel for eshell, is there a way to translate > eshell into its raw elisp? Then I could do Babel on the elisp. > > LB >