[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org mode and eev

From: Eduardo Ochs
Subject: Re: [O] org mode and eev
Date: Fri, 8 Nov 2013 00:30:34 -0200

On Thu, Nov 7, 2013 at 7:33 AM, Sebastien Vauban <address@hidden> wrote:
Hello Alan,

Alan Schmitt wrote:
> I finally took the time to watch the eev video
> (http://angg.twu.net/eev-videos/video2.mp4) and I'm quite impressed by
> it. I find it may be redundant for some features of org mode (such as
> basic links to files) but I find the driving of external shell-based
> programs very nice. As I've seen it mentioned on this list before, I was
> wondering if some of you use it in addition to org mode.

I've always dreamed of being able to use it from Org, to document deployment
procedures (for example), and execute them.

With Org only, we're not far when we execute sh code blocks in a session.
Though, it's possible there must be missing things.

Best regards,

Sebastien Vauban

Hello all,

I am the author of eev...  How can I help?

I still know far less about org-mode than I would like to - maybe
because I have been using Emacs in a very idiosyncratic way for ages
8-\ - but it seems trivial to create code blocks that can be executed
by both org and eev. Here is a example - just replace each "*"
below with a real char 15.

1. Execute the code block below with org's `C-c C-c':

* (eepitch-shell)
* (eepitch-kill)
* (eepitch-shell)
#+begin_src sh
rm -Rv /tmp/eev/
mkdir  /tmp/eev/
cd     /tmp/eev/
tar -xvzf eev2.tgz

;; 2. Eval this to activate eev-mode:
(progn (add-to-list 'load-path "/tmp/eev/")
       (require 'eev2-all)
       (eev-mode 1))

;; 3. Now the "char 15"s will be displayed as red star glyphs, and the
;; code block above can be executed both with org's `C-c C-c' and with
;; eev's <f8>. Try to type <f8> on each line below, starting on the
;; first one with the "(eepitch-shell)":

* (eepitch-shell)
* (eepitch-kill)
* (eepitch-shell)
#+begin_src sh
rm -Rv /tmp/eev/
mkdir  /tmp/eev/
cd     /tmp/eev/
tar -xvzf eev2.tgz

;; 4. Now links like these should work - note that it is possible to
;; "follow" them with `M-e' and to "go back" with `M-k', as explained
;;   (find-eepitch-intro)
;;   (find-eval-intro)
;;   (eek "M-5 M-j") 

  Eduardo Ochs

reply via email to

[Prev in Thread] Current Thread [Next in Thread]