Fork me on GitHub
#spacemacs
<
2021-11-25
>
practicalli-john07:11:25

@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-john08:11:25

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-john12:11:36

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-john12:11:04

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

practicalli-john13:11:20

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-john14:11:04

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 Verlee00:11:52

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.