Re: [O] iOrg

2016-09-17 Thread Adam Porter
Thorsten Jolitz  writes:

Hi Thorsten,

> iOrg is two things:

Thanks, now I understand much better,

> From my point of view, Org-mode's greatest strength (being integrated in
> powerful Emacs) is kind of a weakness too. Did you ever try to write Org
> syntax without any editor support? Not very comfortable ... your idea
> seems perfectly valid to me when its about editing the headline
> properties of an +OrgHeadline object in the browser, but not so much for
> writing lengthy an syntax rich content of a headline. There you really
> need Emacs for editing ...

I certainly agree, editing Org in plain-text works in a pinch but isn't
that useful.  I guess what we need is an AJAX client that could render
Org in the browser and allow some kind of Emacs-like editing.  It could
be handy, but I don't know if it would be worth the effort (and I'm not
a JavaScript programmer, anyway).

Well, anyway, it's a very interesting project you have here!  I'll keep
an eye on it.  Be sure to let us know of new developments.  :)




Re: [O] iOrg

2016-09-16 Thread Thorsten Jolitz
Adam Porter  writes:

Hi Adam,

> Thorsten Jolitz  writes:
>
>> [WARNING: this is an extremely long post with lots of boxquotes that 
>> might turn out unreadable, you might want to consider this as spam 
>> and just ignore it]
>
> Hi Thorsten,
>
> I guess I have missed iOrg before, because this looks very interesting!
> If I understand correctly, iOrg runs a web server written in PicoLisp
> which presents a set of Org files as an editable wiki in a browser?

iOrg is two things:

 - the PicoLisp Wiki (which is a lightweight but complete application
   with user-, role-, document-, version-management, authentication,
   etc.) with Org-mode syntax, where you can create, edit and (full text)
   search wiki pages as Org files that are stored as BLOBS in the
   PicoLisp database and viewed as HTML in the browser.

- a database application that maps textbased Org-mode files to an
   object-oriented class hierarchy, where each headline presents an
   object (instance) of class +OrgHeadline, and each file presents an
   object (instance) of class +OrgData, and the tree structure of an Org
   file is represented by links between these objects.

> If so, this opens up a world of possibilities.  Imagine having your
> personal Org files (at least, ones without very personal data) editable
> on your personal web server from any computer, even one without Emacs
> installed (including mobile devices)!  You could edit your Org files
> from any system, then sync changes with Git when you get home and
> continue editing in Emacs.

>From my point of view, Org-mode's greatest strength (being integrated in
powerful Emacs) is kind of a weakness too. Did you ever try to write Org
syntax without any editor support? Not very comfortable ... your idea
seems perfectly valid to me when its about editing the headline
properties of an +OrgHeadline object in the browser, but not so much for
writing lengthy an syntax rich content of a headline. There you really
need Emacs for editing ... 

> I feel like I've seen a similar project before, one not based on
> PicoLisp...I think it ran from within Emacs...I'd have to google it up
> again.  But I don't think it was nearly as advanced as this.

There are several Emacs Web Servers. They can't be as advanced as this
because they would have to compete with the PicoLisp application
programming framework and its underlying object-oriented lisp database,
which is a tough task.

> Anyway, if I could make one suggestion to help get things going again,
> it would be to add a bit more info to the readme so that visitors can
> immediately understand what it's about.  :)

Thats a good suggestion, but actually I did not want that, because its a
bit too early. Its not yet version 0.9 for public announcement, maybe
0,8? I was surprised how good it worked yesterday, did not touch it for
a long time, there is not missing too much.

-- 
cheers,
Thorsten




Re: [O] iOrg

2016-09-15 Thread Adam Porter
Thorsten Jolitz  writes:

> [WARNING: this is an extremely long post with lots of boxquotes that 
> might turn out unreadable, you might want to consider this as spam 
> and just ignore it]

Hi Thorsten,

I guess I have missed iOrg before, because this looks very interesting!
If I understand correctly, iOrg runs a web server written in PicoLisp
which presents a set of Org files as an editable wiki in a browser?

If so, this opens up a world of possibilities.  Imagine having your
personal Org files (at least, ones without very personal data) editable
on your personal web server from any computer, even one without Emacs
installed (including mobile devices)!  You could edit your Org files
from any system, then sync changes with Git when you get home and
continue editing in Emacs.

I feel like I've seen a similar project before, one not based on
PicoLisp...I think it ran from within Emacs...I'd have to google it up
again.  But I don't think it was nearly as advanced as this.

Anyway, if I could make one suggestion to help get things going again,
it would be to add a bit more info to the readme so that visitors can
immediately understand what it's about.  :)




Re: [O] iOrg

2016-09-14 Thread Thorsten Jolitz
Philip Hudson  writes:

[WARNING: this is an extremely long post with lots of boxquotes that 
might turn out unreadable, you might want to consider this as spam 
and just ignore it]

Hi Philip,

> On 12 September 2016 at 23:10, Nick Dokos  wrote:
>> Thorsten Jolitz  writes:
>>
>>> ...
>>>
>>> If you feel you don't need the whole parse tree, but rather want to act
>>> locally on the Org element at point, you might want to look at
>>> org-dp.el
>>> ...
>>
>> Just a note for the benefit of newcomers to the list: Thorsten's
>> org-dp.el (and many other goodies) are on his github pages:
>>
>> https://github.com/tj64/org-dp
>> https://github.com/tj64?tab=repositories
>
> Just had a look, and I think his "iOrg" looks like the Holy Grail of
> Org: round-trip web-enabled org-mode. Is that right? Has anyone used
> it? Is there a demo site somewhere? Very exciting!

I still think its a splendid idea to bring my two favorite software
systems together (Emacs(Org-mode) and PicoLisp), and iOrg is actually
very close to being usable (and, I would guess, pretty useful).
Events in my life kept me away from Emacs for more than a year, and
recently I used it only occasionally, but now winter comes and the long,
dark and cold evenings ...
I'm (slowly slowly) converting to impressive and exciting Spacemacs, I
would like to create a Spacemacs layer for the outshine-libraries - and
I would like to start again working on iOrg, its such a promising
project.

There is a lot of functionality already there, I don't even remember all
the stuff I wanted and implemented. I'm on Archlinux with tmux and no X,
so I only tried it with emacs-w3m, an it does not look too bad there.

What I can do here locally:

 - start the iOrg Server (in Production or Debug mode, the latter with
   +), this starts an Emacs daemon too

,
| [tj@arch old-picoLisp]$ ./pil iorg/main.l -main -go +
| # url> +Role redefined
| # +User em redefined
| # url> +User redefined
| 
| Warning: due to a long standing Gtk+ bug
| http://bugzilla.gnome.org/show_bug.cgi?id=85715
| Emacs might crash when run in daemon mode and the X11 connection is
| unexpectedly lost.
| Using an Emacs configured with --with-x-toolkit=lucid does not have
| this problem.
| Starting Emacs daemon.
`

 - open http://localhost:5001 in emacs-w3m and login at the iOrg Wiki
   startpage

,
| Location: http://localhost:5001/ 
| …20:15 UTC
| 
|   * iOrg
|   * Home
|   * logout
|   * 
|   * Documents
|   * Org Data
|   * Org Headlines
|   * Role Administration
|   * User Administration
|   * Upload
|   * Help
| 
| iOrg Logo
| 
| Name []
| Password []
| 
| [login]
`

 - login 

,
| Name [admin   ]
| Password []
| 
| [logout] 'admin' logged in
`

 - read and edit the wiki pages under node iOrg. 

   This is all based on the PicoLisp wiki from amazing PicoLisp creator
   Alexander Burger, I replaced the PicoLisp wiki syntax (which isn't
   bad at all and has its own Emacs mode written by me) with Org-mode.

   read:

,
| Location: 
http://localhost:43051/19189021633385603~!iorg?home?*Menu=+3&*Tab=+1&*ID=
| …00:14 UTCiOrg-Wiki Logo
| [] [Search]
| 
| Log out
| My account
| 
|   * Start Page
|
|   * FAQ
|
|   * Tutorial
|
|   + Assumptions
|   + Web UI
|   + Emacs UI
|   + PicoLisp Database
|   + Markup for DHTML
|   * Org-mode Home
|
|   * Org-mode Wiki
|
|   * PicoLisp Wiki
|
|   * Help
|
| Edit   Reply
| 
| High Level Introduction to iOrg
| 
| iOrg Application Framework
| 
| Merging two of the most exciting Lisp applications around
| into one powerful Web Application Framework
| 
| iOrg is based on the PicoLisp Wiki, a rather small but highly
| functional web-application developed with the incredibly expressive 
| PicoLisp Application Framework. By replacing the original PicoLisp
| Wiki markup with Org-mode markup, significant synergy effects are
| produced. [...]
`

   press Edit button, and you see Org syntax!

,
|   * PicoLisp Wiki
|
|   * Help
|
| home
| 
| [#+OPTIONS: toc:nil num:nil   
   ]
| [#+DESCRIPTION: start page
   ]
| [#+TITLE: High Level Introduction to iOrg 
   ]
| [ 
   ]
| [/{{{title}}}/
   ]
| [ 
   ]
| [* iOrg Application Framework 
   ]
| [ 
   ]
| [

[O] iOrg (was: Programmatically handling org files)

2016-09-14 Thread Philip Hudson
On 12 September 2016 at 23:10, Nick Dokos  wrote:
> Thorsten Jolitz  writes:
>
>> ...
>>
>> If you feel you don't need the whole parse tree, but rather want to act
>> locally on the Org element at point, you might want to look at
>> org-dp.el
>> ...
>
> Just a note for the benefit of newcomers to the list: Thorsten's
> org-dp.el (and many other goodies) are on his github pages:
>
> https://github.com/tj64/org-dp
> https://github.com/tj64?tab=repositories

Just had a look, and I think his "iOrg" looks like the Holy Grail of
Org: round-trip web-enabled org-mode. Is that right? Has anyone used
it? Is there a demo site somewhere? Very exciting!

-- 
Phil Hudson   http://hudson-it.ddns.net
@UWascalWabbit PGP/GnuPG ID: 0x887DCA63