Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

edit Google Docs using Emacs?

How can I edit Google Drive text documents using Emacs and mirror my changes back to the Google Doc?

I found a Google command line program, as well as something called gclient, which is part of Emacsspeak, but they seem to require Linux or Windows, and I'm on OSX using Aquamacs. Or maybe I just don't understand how to install them.

Is this doable?

like image 734
incandescentman Avatar asked Aug 22 '13 20:08

incandescentman


People also ask

Can commenters edit Google Sheets?

Viewer: the user will only be able to view the workspace or table, but not edit anything. Commenter: the user can view and also comment on table rows, and view bots. Writer: the user can view, comment, and only add/edit/delete table rows, but not change the table structure (columns, views, forms, bots, etc.).

Can Google Docs be used with Linux?

Google Docs is an Online Word Processor Developed by Google. This App has an excellent design and features are excellent compared to Free Office such as OpenOffice, LibreOffice etc. So we made an app for Google Docs, Sheets, Slides for Windows, macOS, and Linux. But you Must remain connected to the internet.

Does Microsoft Editor work on Google Docs?

Across social media, email, and documents, Microsoft Editor helps you check your spelling and grammar and polish your writing style. Use Editor in Word, Outlook, Gmail, LinkedIn, and Google docs, among many other places.


2 Answers

googlecl can be installed from macports. You can then open files with local emacs using emacs server.

Once it is installed, you can follow these commands:

$ google docs list          # gets a list of the files
$ google docs get <FILE> /tmp/edit$$.txt   # gets the <FILE> to /tmp/edit$$.tmp
$ emacsclient /tmp/edit$$.tmp
$ google docs upload /tmp/edit$$.tmp <FILE>

However, I've found that google docs get doesn't work as well as it should.

like image 170
vy32 Avatar answered Sep 21 '22 07:09

vy32


There is no need to Fetch, Edit(emacs), and Push the file back.

First install "Google Drive" on your mac. Then you can edit the file directly. Look under ~/Google\ Drive.

like image 26
vanni Avatar answered Sep 19 '22 07:09

vanni