Giter Club home page Giter Club logo

Comments (14)

bostonaholic avatar bostonaholic commented on August 22, 2024

Ok, so I'm assuming this is similar to #26

from gist.el.

ijp avatar ijp commented on August 22, 2024

I have noticed this as well. the reason it fails is we aren't getting xml at all, but a 404 page. Ditto if I execute the command directly with curl. Oddly if I don't send the request data, I do get xml with curl, but that isn't enough to get gist-list working. I haven't looked into it more than that.

from gist.el.

pylemon avatar pylemon commented on August 22, 2024

has someone figured out this issue, I meet the same problem here.

from gist.el.

legumbre avatar legumbre commented on August 22, 2024

I've been using the `next' branch for a while now and it works just fine.
Since the v1 and v2 github API will be terminated soon I don't think fixing the current gist.el is worth it.

@sigma is there anything we can do to help with `next' or gh.el?

from gist.el.

sigma avatar sigma commented on August 22, 2024

Yeah, I guess it's time for the big switch.
The only thing that bothers me with 'next' is that installing the various dependencies is a bit involved without package.el (which is an emacs 24 feature).

I put together some bootstrap code and mentioned it in the README, in order to cover emacs 23 as well. Let me know if there are issues with that code.

This aside, I think 'next' is more stable anyway. I think I'm going to update Marmalade with it, and merge it back to 'master'

from gist.el.

sigma avatar sigma commented on August 22, 2024

actually... done

from gist.el.

legumbre avatar legumbre commented on August 22, 2024

Great! Thank you.

from gist.el.

ijp avatar ijp commented on August 22, 2024

cheers

from gist.el.

pylemon avatar pylemon commented on August 22, 2024

that's awesome! It worked, thanks.

from gist.el.

bostonaholic avatar bostonaholic commented on August 22, 2024

Still not working for me. I've verified the old package is not installed and the new one with its dependencies are there.

I've got (setq gist-use-curl t).

I run M-x gist-list and I can see it trying to open a TLS connection, but I get error in process filter: Search failed: "<?xml"

from gist.el.

pylemon avatar pylemon commented on August 22, 2024

I have tried to add (setq gist-use-curl t) to my settings, and it still works for me.

;; using gist in emacs
(require 'gist)
(setq gist-use-curl t)
(setq gist-view-gist t)

just these things.

from gist.el.

bostonaholic avatar bostonaholic commented on August 22, 2024

hmm

I do have both git config --global github.user and git config --global github.token set...

from gist.el.

sigma avatar sigma commented on August 22, 2024

@bostonaholic I'm pretty sure you still have leftovers from the previous package since the code that does a search in the process filter is gone, and actually the new code doesn't even request xml anymore (but json instead)

Note that a few other things are gone too:

  • github.token is abandonned since GitHub API v1 and v2 will disappear in a couple of weeks. Instead we use a github.oauth-token that's filled automatically after gist.el asks you for your password once.
  • gist-use-curl is gone too, as we leverage gh.el to take care of the low-level communication. Setting it will not hurt of course, but it's now useless.

from gist.el.

bostonaholic avatar bostonaholic commented on August 22, 2024

@sigma thanks, I got it! Removed everything under elpa. Not sure where the old code was coming from.

from gist.el.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.