Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've had a stab at this. My requirements are pretty much:

- Actual emacs as a client strongly preferred; don't assume anything else can correctly parse org-mode - Sync between Windows, Mac OS, Linux, Android - Don't force me to remember to sync, so `git commit`/`git pull` or `rsync` isn't viable unless it's completely hidden - Don't allow me to overwrite the file if the sync has failed - Work from an ssh terminal

The closest I got was `crdt-mode.el`. That gives me real-time updates between connected clients. It needs some UI polish around connecting and disconnecting, but it's nothing unworkable. I can get to it on Android via termux ssh to emacs running in tmux on an always-on raspberry pi in my office. That's just about ok in terms of key chording for most things. You do lose some capabilities. I've contemplated getting a bluetooth keyboard for these situations but obviously that's not usable in a lot of situations you might want to be taking notes in. I got in the habit of using the very top of the file as a dumping-ground for one-liners from mobile because sometimes that was just easier than anything else. If I was feeling particularly keen I might try something in the spacemacs vein to make the key combinations work better on mobile. From memory org-agenda was fine, so I tended to use that as a default view for TODOs.

What's annoyingly broken is having Windows in the mix. There's something not quite right about the way `crdt-mode` handles line endings which means updates from Windows mess up the other copies, and given how much org-mode relies on line endings it can completely break whole sections at a time. I ended up using the version running on SSH from Windows too, but there are a couple of chords which Windows Terminal mucks up. That bit's not great.

Take Windows out and sshing to a shared terminal emacs instance running in `screen` is worth a try, with the caveat that you will have to rebuild the muscle memory for the chording on mobile. The termux keyboard has a couple of niceties that the default Android one doesn't, without which it would be a complete non-starter.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: