Modifying Google Drive documents with Emacs: Possible?

I’m an Emacs fan and I use Google Drive a lot. I was wondering if there’s a way to edit my Google Drive text files directly in Emacs. The dream would be to make changes in Emacs and have them automatically sync back to the Google Doc.

I’ve looked into a few options but I’m not sure if they work for my setup. I’m using Aquamacs on macOS. Has anyone figured out how to do this? Is it even possible?

I’d love to hear about any solutions or workarounds. Maybe there’s a plugin or a script that can make this happen? Or am I asking for too much? Any tips or suggestions would be really helpful!

hey mate, i feel ur pain. tried something similar before. have u looked into rclone? it can mount google drive as a local folder. then u can just open files in emacs like normal. not perfect, but might work for ya. good luck!

I’ve been using Emacs with Google Drive for a while now, and I’ve found a solution that works quite well. It’s not perfect, but it gets the job done.

I use the ‘insync’ application to sync my Google Drive to my local machine. Once synced, I can open and edit the files directly in Emacs. The changes are automatically uploaded to Google Drive when I save.

The main drawback is that it doesn’t support real-time collaboration like Google Docs does. Also, it’s a paid solution, which might not be ideal for everyone. However, it’s been reliable and integrates well with macOS.

Another option to consider is using the ‘tramp’ mode in Emacs to directly access Google Drive via WebDAV. It’s more complex to set up, but it eliminates the need for a separate sync application.

Both methods have their pros and cons, but they’ve allowed me to use Emacs with my Google Drive files effectively.

As someone who’s been using Emacs for over a decade, I’ve grappled with this exact issue. While there’s no perfect solution, I’ve found a workable workaround that might help you out.

I use the ‘google-drive-ocamlfuse’ tool to mount my Google Drive as a local filesystem. Then, I can open and edit files directly in Emacs as if they were local. The changes sync back to Google Drive when I save.

It’s not as seamless as native integration, and you’ll need to be comfortable with command-line tools. Also, it’s not real-time collaboration like in Google Docs. But for text files and simple documents, it works well.

The setup can be a bit tricky on macOS, but once it’s done, it’s pretty smooth sailing. Just be aware that large files or folders with many files can cause some lag.

Hope this helps! Let me know if you need more details on the setup process.