emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Other editors supporting Org-Mode


From: Thorsten Jolitz
Subject: Re: [O] Other editors supporting Org-Mode
Date: Wed, 08 Oct 2014 19:30:35 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

address@hidden (hymie!) writes:

> In our last episode, the evil Dr. Lacto had captured our hero,
>   Manuel Schneckenreither
> <address@hidden>, who said:
>>Hi fellows,
>>
>>I couldn't find anything on the web about it. Therefore, I like to ask
>>you if anyone knows a program (another editor) which supports Org mode.
>
> I would suggest, rather than adapting more editors to support Org,
> creating a stand-alone program that "compiles" and manages Org functions
> separate from the act of editing them.

but that program does exist already and is called Emacs, right?

I'm writing this email in Emacs instance

#+BEGIN_SRC emacs-lisp
 (emacs-pid)
#+END_SRC

#+results:
: 275

but external program PicoLisp can use another Emacs instance as
standalone program to execute Emacs Lisp (and thus all of Org-mode's
functionality):

#+BEGIN_SRC picolisp :results pp
 (de emx (Exe . @)
   (in
      (list 'emacs "--no-site-file" "--batch"
         (extract
            '((X)
              (cond
                 ((num? (car (info X)))
                     (pack "--load=" X) )
                 ((= `(char "(") (char X))
                     (pack "--eval=" X) ) ) )
            (rest) ) )
      (eval Exe) ) )

(emx '(read) "(princ (emacs-pid))")
#+END_SRC

#+results:
: 1388

Instead of (princ (emacs-pid)) you could just as well load org-mode and
then call (org-element-parse-buffer ...) or whatever.

PicoLisp is no editor, and there is no editor written in this
language, but assume Java or JS programs can do the same - how would
that help editing Org-mode syntax in editors that are written in that
languages?

Just curious, I would like to find a way to make editing Org syntax
easier for the masses (of non Emacs users).

-- 
cheers,
Thorsten




reply via email to

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