emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org mode and eev
@ 2013-11-04 13:19 Alan Schmitt
  2013-11-07  9:33 ` Sebastien Vauban
  0 siblings, 1 reply; 5+ messages in thread
From: Alan Schmitt @ 2013-11-04 13:19 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

Hello,

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.

Thanks,

Alan

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

* Re: org mode and eev
  2013-11-04 13:19 org mode and eev Alan Schmitt
@ 2013-11-07  9:33 ` Sebastien Vauban
  2013-11-08  2:30   ` Eduardo Ochs
  0 siblings, 1 reply; 5+ messages in thread
From: Sebastien Vauban @ 2013-11-07  9:33 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

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

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

* Re: org mode and eev
  2013-11-07  9:33 ` Sebastien Vauban
@ 2013-11-08  2:30   ` Eduardo Ochs
  2013-11-08  8:29     ` Alan Schmitt
  0 siblings, 1 reply; 5+ messages in thread
From: Eduardo Ochs @ 2013-11-08  2:30 UTC (permalink / raw)
  To: Sebastien Vauban; +Cc: Org Mode

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

On Thu, Nov 7, 2013 at 7:33 AM, Sebastien Vauban <sva-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 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 <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/
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

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

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

* Re: org mode and eev
  2013-11-08  2:30   ` Eduardo Ochs
@ 2013-11-08  8:29     ` Alan Schmitt
  2013-11-08 11:36       ` Eduardo Ochs
  0 siblings, 1 reply; 5+ messages in thread
From: Alan Schmitt @ 2013-11-08  8:29 UTC (permalink / raw)
  To: Eduardo Ochs; +Cc: Sebastien Vauban, Org Mode

Hi Eduardo,

eduardoochs@gmail.com writes:

> I am the author of eev...

Nice! I knew I had seen you around here ;-)

> How can I help?

Your message already answered one question I had, but I have still one
pending.

> 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.

This was my first question: '*' are not '*' so they won't interfere with
org-mode. This is great. (Quick question: how do I enter such a char 15
star?)

> ;; 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/
> wget http://angg.twu.net/eev-current/eev2.tgz
> tar -xvzf eev2.tgz
> #+end_src

This works great because '#' is a comment prefix for shell, so the
begin_src lines won't be processed. I want to use eev with other
toplevels, and so I cannot rely on this. Is it possible to tweak eepitch
so that lines starting with #+begin_src and #+end_src are not sent at
all?

Thanks,

Alan

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

* Re: org mode and eev
  2013-11-08  8:29     ` Alan Schmitt
@ 2013-11-08 11:36       ` Eduardo Ochs
  0 siblings, 0 replies; 5+ messages in thread
From: Eduardo Ochs @ 2013-11-08 11:36 UTC (permalink / raw)
  To: Alan Schmitt; +Cc: Sebastien Vauban, Org Mode

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

On Fri, Nov 8, 2013 at 6:29 AM, Alan Schmitt <alan.schmitt@polytechnique.org
> wrote:

> Hi Eduardo,
>
> eduardoochs@gmail.com writes:
>
> > I am the author of eev...
>
> Nice! I knew I had seen you around here ;-)
>
> > How can I help?
>
> Your message already answered one question I had, but I have still one
> pending.
>
> > 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.
>
> This was my first question: '*' are not '*' so they won't interfere with
> org-mode. This is great. (Quick question: how do I enter such a char 15
> star?)
>
> > ;; 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/
> > wget http://angg.twu.net/eev-current/eev2.tgz
> > tar -xvzf eev2.tgz
> > #+end_src
>
> This works great because '#' is a comment prefix for shell, so the
> begin_src lines won't be processed. I want to use eev with other
> toplevels, and so I cannot rely on this. Is it possible to tweak eepitch
> so that lines starting with #+begin_src and #+end_src are not sent at
> all?
>
> Thanks,
>
> Alan
>

About the char 15s / red stars: I spent many years inserting them
all "by hand" with C-q C-o... Now there is an easier way to create
what I call "eepitch blocks", which are the things like these:

* (eepitch-foobar)
* (eepitch-kill)
* (eepitch-foobar)

The "easier way" is to create an eepitch block for "foobar" as above
is to type "foobar" in a line and then type M-T (meta-shift-t).

Note that all these things are explained here,

  (find-eepitch-intro)
  http://angg.twu.net/eev-intros/find-eepitch-intro.html

and that we should definitely create a sandboxed tutorial like that
for using eev with Org... I'm saying "we" just because I'll need
help with (at least) some details!

About ignoring the "#+" lines: this can be done by changing
eepitch-comment-regexp, but there a default way that already
works, which is to skip the "#+" lines with <down> instead of
typing <f8> on them...

  Cheers!
    Eduardo

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

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

end of thread, other threads:[~2013-11-08 11:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-04 13:19 org mode and eev Alan Schmitt
2013-11-07  9:33 ` Sebastien Vauban
2013-11-08  2:30   ` Eduardo Ochs
2013-11-08  8:29     ` Alan Schmitt
2013-11-08 11:36       ` Eduardo Ochs

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).