Code Monkey home page Code Monkey logo

Comments (4)

arunisaac avatar arunisaac commented on August 15, 2024 1

Thank you very much for the quick response!

Plover works correctly with DBus introspection now. Thank you!

from ednc.

sinic avatar sinic commented on August 15, 2024

Thanks for writing ednc! I use it with exwm and love it!

Thank you, glad to hear!

The first argument is a valid association list.

I'm not so sure about that. The notification specification contains the following sentence:

When adding a dictionary of hints, this type must be used, rather than putting the actual hint value in as the dictionary value.

So, the way I understand it (which is also the way the notifications library of Emacs interprets it when sending notifications), the code should look like this:

(ednc--get-hint '(("urgency" (1))) "urgency")

Did you encounter this issue with a specific application? If programs exist in the wild that violate the spec in this way, I might add a workaround.

from ednc.

arunisaac avatar arunisaac commented on August 15, 2024

from ednc.

sinic avatar sinic commented on August 15, 2024

I think it tries to introspect to find the types, and maybe because ednc does not implement introspection, it sends out wrongly typed messages. Does that make sense?

Yes, you're absolutely right! I didn't realize that some programs rely on introspection even in cases like this, where the specification fully describes the expected types of everything.

I just added support for introspection, and now notifications created in the same way as by Plover work fine. If you could just confirm that your problem with Plover is gone, I can close this issue. Thanks again.

from ednc.

Related Issues (11)

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.