emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Babel for eshell?
@ 2015-08-19 21:44 Lawrence Bottorff
  2015-08-23 17:03 ` Lawrence Bottorff
  0 siblings, 1 reply; 2+ messages in thread
From: Lawrence Bottorff @ 2015-08-19 21:44 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 486 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 652 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Babel for eshell?
  2015-08-19 21:44 Babel for eshell? Lawrence Bottorff
@ 2015-08-23 17:03 ` Lawrence Bottorff
  0 siblings, 0 replies; 2+ messages in thread
From: Lawrence Bottorff @ 2015-08-23 17:03 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1038 bytes --]

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 <borgauf@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
>

[-- Attachment #2: Type: text/html, Size: 1553 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-08-23 17:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-19 21:44 Babel for eshell? Lawrence Bottorff
2015-08-23 17:03 ` Lawrence Bottorff

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).