spacemacs

practicalli-johnny 2021-11-25T07:11:25.139200Z

@drewverlee creating a gist from a buffer or region has worked for me (it's been a few months though) Ensure a GitHub personal token is added to the ~/.gitconfig file and that token was created with repo and gist permissions (if not sure, delete the token and create a new one). I'll do a quick check of SPC g g b next time I'm at a computer

👍 1
practicalli-johnny 2021-11-27T08:11:25.140800Z

It seems that Gist has been removed from the GitHub layer, so I suspect there is some issue with recent package or spacemacs versions. Or maybe the gits API changed. I'll try find out more, at gisting a buffer was very handy..

practicalli-johnny 2021-11-27T12:13:36.141800Z

Adding the gist package to dotspacemacs-additional-packages in .spacemacs (or .spacemacs.d/init.el) and restarting Spacemacs, I can use gist-buffer command to successfully create a new gist.

practicalli-johnny 2021-11-27T12:48:04.142Z

According to one of the Spacemacs maintainers, the gist.el is broken, however, it seems to work so far...

practicalli-johnny 2021-11-27T13:43:20.142200Z

Whist gist-buffer works, when trying to view a file from the gist-list list, it hangs Emacs badly, so I assume this is why the gist.el package has been removed from the github layer.

practicalli-johnny 2021-11-27T14:07:04.142500Z

I've updated the GitHub Gists page on Practicalli Spacemacs to highlight the removal of gist.el from the GitHub layer https://practical.li/spacemacs/source-control/github/gists.html

Drew Verlee 2021-11-28T00:46:52.142800Z

Thanks john. I found the gist option really useful for sharing, I'll need to come up with something else if i can't get it working.