defunkt / gist.el

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

edit description fails with `byte-code: Invalid slot type: gh-gist-gist, id, string, nil` #74

Closed stig closed 8 years ago

stig commented 8 years ago

Creating gist worked beautifully, but attempting to edit the description from the gist-list did not work. I'm getting this sequence of messages:

Contacting host: api.github.com:443
Opening TLS connection to `api.github.com'...
Opening TLS connection with `gnutls-cli --insecure -p 443 api.github.com'...done
Opening TLS connection to `api.github.com'...done
byte-code: Invalid slot type: gh-gist-gist, id, string, nil

My Emacs:

GNU Emacs 24.5.1 (x86_64-apple-darwin13.4.0, NS apple-appkit-1265.21) of 2015-04-10 on builder10-9.porkrind.org

I just installed gist.el from melpa today (version 20150906.954).

alphapapa commented 8 years ago

Same here. Emacs 24.4.1. Just installed gist.el a few minutes ago.

mfiano commented 8 years ago

Same here as well.

rothmichaels commented 8 years ago

:+1:

rothmichaels commented 8 years ago

This same error is happening with gist-mode-write-file.

rothmichaels commented 8 years ago

Looks like I found the bug in gh-gist.el; see sigma/gh.el#64 and #77.

zilongshanren commented 8 years ago

@rothmichaels
I still got this issue when doing gist-edit-current-description...

rothmichaels commented 8 years ago

@zilongshanren I wonder if this relates to the version of gh.el or Emacs.

Are you trying this from a gist buffer or the github:gists buffer? gist-edit-current-description works for me when used from github:gists (if I call it from a gist buffer, I get the error user-error: Can't edit a gist that doesn't belong to you).

I am using: