From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eduardo Ochs Subject: Re: org mode and eev Date: Fri, 8 Nov 2013 00:30:34 -0200 Message-ID: References: <86mwlg8skv.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b5daca0b6941b04eaa12aea Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53450) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VebqG-0007jf-Tp for emacs-orgmode@gnu.org; Thu, 07 Nov 2013 21:30:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VebqF-0005d7-1n for emacs-orgmode@gnu.org; Thu, 07 Nov 2013 21:30:36 -0500 Received: from mail-qe0-x236.google.com ([2607:f8b0:400d:c02::236]:50264) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VebqE-0005cz-RF for emacs-orgmode@gnu.org; Thu, 07 Nov 2013 21:30:34 -0500 Received: by mail-qe0-f54.google.com with SMTP id 1so1394266qec.13 for ; Thu, 07 Nov 2013 18:30:34 -0800 (PST) In-Reply-To: <86mwlg8skv.fsf@somewhere.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sebastien Vauban Cc: Org Mode --047d7b5daca0b6941b04eaa12aea Content-Type: text/plain; charset=ISO-8859-1 On Thu, Nov 7, 2013 at 7:33 AM, Sebastien Vauban 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, > Seb > > -- > 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/ wget http://angg.twu.net/eev-current/eev2.tgz tar -xvzf eev2.tgz #+end_src ;; 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 . Try to type 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/ wget http://angg.twu.net/eev-current/eev2.tgz tar -xvzf eev2.tgz #+end_src ;; 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 ;; here: http://angg.twu.net/eev-intros/find-eval-intro.html ;; ;; (find-eepitch-intro) ;; (find-eval-intro) ;; (eek "M-5 M-j") Cheers, Eduardo Ochs eduardoochs@gmail.com http://angg.twu.net/#eev http://angg.twu.net/eev-videos/video4-eepitch.mp4 --047d7b5daca0b6941b04eaa12aea Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Thu, Nov 7, 2013 at 7:33 AM, Sebastien Vauban <s= va-news@mygooglest.com> 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 impress= ed by
> it. I find it may be redundant for some features of org mode (such as<= br> > 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 do= cument deployment
procedures (for example), and execute them.

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

Best regards,
=A0 Seb

--
Sebastien Vauban



Hello all,

=
I am the author of eev... =A0How can I help?

I still know far less about org-mode t= han 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 re= place each "*"
below with a real char 15.


1. Execute the co= de block below with org's `C-c C-c':

* (eepitch-= shell)
* (ee= pitch-kill)
* (eepitch-shell)
#+begin_src sh
r= m -Rv /tmp/eev/
mkdir =A0/tmp/eev/
cd =A0 =A0 /tmp/eev/
tar -xvzf eev2.tgz
#+end_src


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


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

* (eepitch-= shell)
* (ee= pitch-kill)
* (eepitch-shell)
#+begin_src sh
r= m -Rv /tmp/eev/
mkdir =A0/tmp/eev/
cd =A0 =A0 /tmp/eev/
tar -xvzf eev2.tgz
#+end_src


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


<= br>
Cheers,
=A0 Eduardo Ochs


--047d7b5daca0b6941b04eaa12aea--