gregory mitchell <radiochicken...@gmail.com> writes:

>> My intended use-case is editing Org syntax in HTML text-areas, and it
>> would be a marvellous solution to give the users a pre-configured
>> specialized Emacs(server) and help them to configure their web-brower(s)
>> to call emacs(client) as an external editor when editing text-areas in
>> web formulas.
>
>
> I've been wanting to use ace.js for this purpose, but I haven't gotten
> around to it yet.
>
> https://github.com/ajaxorg/ace/wiki/Creating-or-Extending-an-Edit-Mode

This looks pretty interesting too, no idea about the pros&cons in
comparison with TinyMCE. 

With all this online editors, it seems to be mostly about highlighting
and indentation (and maybe folding):

,----
| Defining a Mode
| 
| Every language needs a mode. A mode contains the paths to a
| language's syntax highlighting rules, indentation rules, and code
| folding rules. Without defining a mode, Ace won't know anything
| about the finer aspects of your language.
`----

but with Org-mode one would need commands like C-c C-t, C-c C-x p, C-c ,
etc etc too, i.e. smart/fast tag, property, priority, timestamp,
planning, table, list ... handling (only syntax level editing of
course). 

I don't know if this could at all be implemented with these extendable
web-editors. 

-- 
cheers,
Thorsten


Reply via email to