Git Product home page Git Product logo

ol-emacs-slack's People

Contributors

ag91 avatar jellelicht avatar jsilve24 avatar konubinix avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ol-emacs-slack's Issues

Alert info is missing :data, preventing links to messages working

Hi Andrea 👋

In the example at https://ag91.github.io/blog/2022/04/01/ol-emacs-slack-added-support-for-thread-links/

These lines seem to define the destination for the link

(if (plist-get info :data)
            (format "%s|%s|ts:%s"
                    (plist-get (plist-get info :data) :team-id)
                    (plist-get (plist-get info :data) :room-id)
                    (plist-get (plist-get info :data) :ts))
          (plist-get info :title))

With the example as-is, the org links seem to only have the results of (plist-get info :title).

Swapping if (plist-get info :data) with (if (plist-member info :data) causes the (format "%s|%s|ts:%s" ... to output, but none of those keys seem available? An example link added to Slack.org via the Alert notifier is [[emacs-slack:nil|nil|ts:nil][Feeling great!]].

Using org-store-link on the same slack message returns [[emacs-slack:T7X9DRJNN&DKD6VP6AF&ts:1655613103.610449][Slack message in #Slackbot at [14:31]: Feeling great!]], which works great.

If you can help me here, I'd greatly appreciate it 😅

What about adding this to melpa

I realized that I keep a clone of this code so that I can use it.

I would love to just install it using M-x package-install

Would you accept me suggesting a PR to melpa to add this package?

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.