3 ms·
I meant old-school pure HTML forms, not a HTML5 app with JavaScript+Canvas (or even wasm+Canvas). With the later, you could in principle compile GNU Emacs to Ja
by skissane 6y ago
I meant old-school pure HTML forms, not a HTML5 app with JavaScript+Canvas (or even wasm+Canvas). With the later, you could in principle compile GNU Emacs to JavaScript or wasm, using e.g. emscripten. (I don't know if anyone has succeeded in that yet, but I think it would be in principle achievable.)
Old-school pure HTML forms actually has a lot conceptually in common with block mode terminals such as IBM 3270. The server sends the client a fill-in-form, the user fills it in, the client sends it back to the server in one block. Most of the logic exists on the server (although some basic very basic validations may execute on the client). So, I was actually talking about serving up a classic pure HTML form app over HTTP as a UI style.
- rusk 6y agoNo, I am specifically not talking about this. I'm actually not sure at this point what you mean - I have a vision of somebody communicating with an emacs backend via forms? I'm just talking about a thin client, such as you typically use when you have emacs running as a server. You only have to manage text and windowing, and capturing user commands and communicating with the back end. These are the kind of things browsers are good at.
- skissane 6y agoWell, think of a 3270 editor, such as ISPF EDIT on MVS or XEDIT on VM/CMS. Now imagine using that editor through a 3270-to-HTML gateway. That's what I was really talking about. But, you could actually implement a similar style of interaction in pure HTML, without the 3270 layer. Indeed, a lot of classic server-side web apps, even if they weren't text editors, worked with that UI style. Of course, Emacs doesn't support 3270. But that was my point – that there are UI styles which Emacs doesn't support. They might not be useful UI styles, especially in 2020. But historically they were important, and any suggestion that Emacs is some kind of magic which supports all UI styles isn't really true, although maybe it supports all contemporarily practically relevant UI styles.