Coder Social home page Coder Social logo

Comments (5)

ahyatt avatar ahyatt commented on July 1, 2024

Sorry for the mistake, and thanks for bringing this to my attention. Should be fixed with eef37ba. Please try it out.

from emacs-websocket.

tkf avatar tkf commented on July 1, 2024

Thanks for the quick fix! However, it does not work in Emacs 23.3.1 because it has tls.el but open-network-stream takes less arguments. What I would do is to use make-network-process always for "ws" and open-network-stream for "wss", and catch wrong-number-of-arguments error using condition-case to re-raise error about Emacs version.

This is how I checked:

emacs -Q -batch -L . -l websocket-functional-test.el

succeeds but

emacs -Q -batch --eval "(require 'tls)" -L . -l websocket-functional-test.el

fails.

from emacs-websocket.

ahyatt avatar ahyatt commented on July 1, 2024

I see, checking for 'tls isn't a good method. That's a shame. I'll fix this tonight. BTW, I'll be on vacation for half a week starting tomorrow. You have commit access, so if something is wrong and you want it fixed in that time, please feel free to commit a fix yourself.

from emacs-websocket.

ahyatt avatar ahyatt commented on July 1, 2024

Thanks again for the suggestion, I just implemented the solution you described in commit 88718f0.

from emacs-websocket.

tkf avatar tkf commented on July 1, 2024

Thanks. Have a nice vacation!

from emacs-websocket.

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.