defunkt / gist.el

Yet another Emacs paste mode, this one for Gist.
550 stars 90 forks source link

Setup using initial password prompt does not work #104

Closed rymndhng closed 6 years ago

rymndhng commented 6 years ago

Expected: Setting up the plugin using the password prompt should save my Github OAuth Token. I should be able to create a gist.

Actual: Gists fails to create and I see the error message helm-M-x: Driver has not been opened in read mode.

What I've noticed is that the instructions in https://github.com/defunkt/gist.el#getting-started states that the password prompt should save the password to .gitconfig. I've observed that this isn't the case, and gist.el worked once I manually set the token using git config --global github.oauth-token ...

sigma commented 6 years ago

The error you see was due to a bug in marshal.el 0.8.0. It should be fixed in 0.8.2

I just went through a clean install and confirmed that generating and recording an oauth token the first time using password authentication worked.

Thanks !