Fork me on GitHub
#emacs
<
2020-03-25
>
vemv13:03:53

Dream emacs mode: save the buffer to somewhere in the cloud, as you type, no local files involved. Wondering how much work that would take :thinking_face:

teodorlu13:03:47

Does a server count for "the cloud"? Tramp is always there to help 🙂

😁 8
vemv13:03:48

sounds like it could cut it :) only knew Tramp by name, will look into it

caio13:03:17

tramp is great, and works fine with cider too

Mitch13:03:58

I believe that vmd-mode's live preview feature works by writing your buffer to a temp file on every change

👍 4
Mitch13:03:33

so however it achieves that might get you pretty close

Alexander Heldt13:03:31

you could mount a folder through ssh and work on those

⛰️ 8
practicalli-john16:03:09

@vemv GitHub Gists can do this already. I use Spacemacs github layer to create gists from a buffer or region. If I list my Gists, I can view and edit them and when saving it will push changes to the Gist. Some examples here... https://practicalli.github.io/spacemacs/source-control/github/gists.html

👍 4
vemv21:03:54

that's interesting, I'll keep it in mind but it's a different use case (note as you type)

ag01:03:19

You can use post-command hook and keep sending updates to a web-app through web-sockets. I’m unaware of any packages that let you do that though.